mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 17:43:45 +03:00
1 line
2.8 MiB
1 line
2.8 MiB
{"version":3,"sources":["browser-update.js","zone.js","long-stack-trace-zone.js","Reflect.ts","polyfill.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/base_wrapped_exception.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/collection.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/exception_handler.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/exceptions.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/xhr/xhr_cache.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/offline_compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/provider_parser.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/template_parser.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/abstract_js_emitter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/output_jit.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/dart_emitter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/abstract_emitter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/ts_emitter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/output_interpreter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/interpretive_view.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/runtime_compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/promise.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/async.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/xhr.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/html_ast.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/html_lexer.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/parse_util.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/html_parser.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/html_tags.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/template_preparser.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/directive_normalizer.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/directive_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/pipe_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/directive_lifecycle_reflector.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/assertions.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/metadata_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/shadow_css.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/style_url_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/style_compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_pipe.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_view.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_query.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_element.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/util.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/view_builder.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/property_binder.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_method.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/expression_converter.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/compile_binding.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/event_binder.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/output_ast.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/constants.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/lifecycle_binder.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/view_binder.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/url_resolver.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/compile_metadata.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/util.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/identifiers.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/config.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/view_compiler/view_compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/core_private.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/schema/element_schema_registry.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/schema/dom_element_schema_registry.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/expression_parser/ast.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/expression_parser/parser.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/expression_parser/lexer.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/template_ast.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/selector.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/base_wrapped_exception.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/collection.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/exception_handler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/exceptions.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/facade/lang.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/src/output/path_util.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/private_export.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/compiler.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1/index.js","../jspm_packages/npm/@angular/compiler@2.0.0-rc.1.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/promise.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/facade/lang.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/src/xhr/xhr_impl.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/private_export.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/security/url_sanitizer.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/security/style_sanitizer.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/security/dom_sanitization_service.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/testability.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/events/key_events.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/events/dom_events.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/events/hammer_common.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/events/hammer_gestures.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/title.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/browser.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/tools/common_tools.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/tools/tools.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/debug/by.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser_common.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/core_private.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/animate/css_animation_options.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/animate/animation.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/animate/css_animation_builder.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/math.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/animate/browser_details.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/animate/animation_builder.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/shared_styles_host.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/base_wrapped_exception.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/exception_handler.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/exceptions.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/events/event_manager.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/dom_tokens.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/util.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/dom_renderer.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/debug/ng_probe.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/location/browser_platform_location.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/platform_browser_static.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/platform_browser.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/index.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/core_private.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/platform_browser_dynamic.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1/index.js","../jspm_packages/npm/@angular/platform-browser-dynamic@2.0.0-rc.1.js","../.tmp/lib/components/ApiInfo/api-info.js","../.tmp/lib/components/ApiLogo/api-logo.js","../.tmp/lib/components/ParamsList/params-list.js","../.tmp/lib/components/JsonSchema/json-schema.js","../.tmp/lib/components/JsonSchema/json-schema-lazy.js","../.tmp/lib/components/ResponsesList/responses-list.js","../.tmp/lib/utils/helpers.js","../.tmp/lib/components/ResponsesSamples/responses-samples.js","../jspm_packages/npm/json-schema-instantiator@0.3.0/src/instantiator.js","../jspm_packages/npm/json-schema-instantiator@0.3.0/index.js","../jspm_packages/npm/json-schema-instantiator@0.3.0.js","../.tmp/lib/utils/JsonFormatterPipe.js","../.tmp/lib/components/SchemaSample/schema-sample.js","../.tmp/lib/components/RequestSamples/request-samples.js","../.tmp/lib/components/Method/method.js","../.tmp/lib/components/MethodsList/methods-list.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/to-consumable-array.js","../.tmp/prismjs-bundle.js","../jspm_packages/npm/marked@0.3.5/lib/marked.js","../jspm_packages/npm/marked@0.3.5.js","../.tmp/lib/utils/pipes.js","../.tmp/lib/components/base.js","../.tmp/lib/components/SideMenu/side-menu.js","../jspm_packages/github/Robdel12/DropKick@2.1.7/lib/dropkick.js","../jspm_packages/github/Robdel12/DropKick@2.1.7.js","../.tmp/lib/shared/components/DropDown/drop-down.js","../.tmp/lib/shared/components/StickySidebar/sticky-sidebar.js","../.tmp/lib/shared/components/Tabs/tabs.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/async_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/uppercase_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/lowercase_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/json_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/slice_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/date_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/intl.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/number_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/replace_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/i18n_plural_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/invalid_pipe_argument_exception.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/i18n_select_pipe.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes/common_pipes.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/pipes.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_control_name.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_form_control.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_model.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_control_group.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_form_model.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/control_container.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/normalize_validator.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/shared.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_form.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/default_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/checkbox_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/number_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_control_status.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/select_control_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/validators.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/validators.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/model.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/form_builder.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/control_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/abstract_control_directive.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/ng_control.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms/directives/radio_control_value_accessor.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/forms.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/observable_list_diff.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_class.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_for.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_if.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_template_outlet.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_style.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_switch.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/ng_plural.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives/core_directives.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/directives.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/common_directives.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location/hash_location_strategy.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/base_wrapped_exception.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/collection.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/exception_handler.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/exceptions.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location/platform_location.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location/path_location_strategy.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/lang.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/promise.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/facade/async.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location/location_strategy.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location/location.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/src/location.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1/index.js","../jspm_packages/npm/@angular/common@2.0.0-rc.1.js","../.tmp/lib/shared/components/Zippy/zippy.js","../.tmp/lib/shared/components/index.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.is-iterable.js","../jspm_packages/npm/core-js@1.2.6/library/fn/is-iterable.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/is-iterable.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/sliced-to-array.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.same-value.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.species-constructor.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.invoke.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.html.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.dom-create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.task.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.microtask.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.promise.js","../jspm_packages/npm/core-js@1.2.6/library/fn/promise.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/promise.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.keys.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/keys.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/keys.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.get-iterator.js","../jspm_packages/npm/core-js@1.2.6/library/fn/get-iterator.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/get-iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.map.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es7.map.to-json.js","../jspm_packages/npm/core-js@1.2.6/library/fn/map.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/map.js","../jspm_packages/npm/z-schema@3.17.0/src/Polyfills.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaCache.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaCompilation.js","../jspm_packages/npm/validator@5.2.0/lib/toInt.js","../jspm_packages/npm/validator@5.2.0/lib/toBoolean.js","../jspm_packages/npm/validator@5.2.0/lib/equals.js","../jspm_packages/npm/validator@5.2.0/lib/contains.js","../jspm_packages/npm/validator@5.2.0/lib/matches.js","../jspm_packages/npm/validator@5.2.0/lib/isURL.js","../jspm_packages/npm/validator@5.2.0/lib/isMACAddress.js","../jspm_packages/npm/validator@5.2.0/lib/isIP.js","../jspm_packages/npm/validator@5.2.0/lib/isBoolean.js","../jspm_packages/npm/validator@5.2.0/lib/isAlpha.js","../jspm_packages/npm/validator@5.2.0/lib/alpha.js","../jspm_packages/npm/validator@5.2.0/lib/isAlphanumeric.js","../jspm_packages/npm/validator@5.2.0/lib/isNumeric.js","../jspm_packages/npm/validator@5.2.0/lib/isLowercase.js","../jspm_packages/npm/validator@5.2.0/lib/isUppercase.js","../jspm_packages/npm/validator@5.2.0/lib/isAscii.js","../jspm_packages/npm/validator@5.2.0/lib/isFullWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isHalfWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isVariableWidth.js","../jspm_packages/npm/validator@5.2.0/lib/isMultibyte.js","../jspm_packages/npm/validator@5.2.0/lib/isSurrogatePair.js","../jspm_packages/npm/validator@5.2.0/lib/isInt.js","../jspm_packages/npm/validator@5.2.0/lib/isFloat.js","../jspm_packages/npm/validator@5.2.0/lib/isDecimal.js","../jspm_packages/npm/validator@5.2.0/lib/toFloat.js","../jspm_packages/npm/validator@5.2.0/lib/isDivisibleBy.js","../jspm_packages/npm/validator@5.2.0/lib/isHexColor.js","../jspm_packages/npm/validator@5.2.0/lib/isJSON.js","../jspm_packages/npm/validator@5.2.0/lib/isNull.js","../jspm_packages/npm/validator@5.2.0/lib/isLength.js","../jspm_packages/npm/validator@5.2.0/lib/isUUID.js","../jspm_packages/npm/validator@5.2.0/lib/isHexadecimal.js","../jspm_packages/npm/validator@5.2.0/lib/isMongoId.js","../jspm_packages/npm/validator@5.2.0/lib/isDate.js","../jspm_packages/npm/validator@5.2.0/lib/isAfter.js","../jspm_packages/npm/validator@5.2.0/lib/toDate.js","../jspm_packages/npm/validator@5.2.0/lib/isBefore.js","../jspm_packages/npm/validator@5.2.0/lib/isIn.js","../jspm_packages/npm/validator@5.2.0/lib/isCreditCard.js","../jspm_packages/npm/validator@5.2.0/lib/isISIN.js","../jspm_packages/npm/validator@5.2.0/lib/isISBN.js","../jspm_packages/npm/validator@5.2.0/lib/isMobilePhone.js","../jspm_packages/npm/validator@5.2.0/lib/isCurrency.js","../jspm_packages/npm/validator@5.2.0/lib/isISO8601.js","../jspm_packages/npm/validator@5.2.0/lib/isBase64.js","../jspm_packages/npm/validator@5.2.0/lib/isDataURI.js","../jspm_packages/npm/validator@5.2.0/lib/ltrim.js","../jspm_packages/npm/validator@5.2.0/lib/rtrim.js","../jspm_packages/npm/validator@5.2.0/lib/trim.js","../jspm_packages/npm/validator@5.2.0/lib/escape.js","../jspm_packages/npm/validator@5.2.0/lib/unescape.js","../jspm_packages/npm/validator@5.2.0/lib/stripLow.js","../jspm_packages/npm/validator@5.2.0/lib/whitelist.js","../jspm_packages/npm/validator@5.2.0/lib/blacklist.js","../jspm_packages/npm/validator@5.2.0/lib/isWhitelisted.js","../jspm_packages/npm/validator@5.2.0/lib/isByteLength.js","../jspm_packages/npm/validator@5.2.0/lib/util/assertString.js","../jspm_packages/npm/validator@5.2.0/lib/isFQDN.js","../jspm_packages/npm/validator@5.2.0/lib/isEmail.js","../jspm_packages/npm/validator@5.2.0/lib/util/merge.js","../jspm_packages/npm/validator@5.2.0/lib/normalizeEmail.js","../jspm_packages/npm/validator@5.2.0/lib/util/toString.js","../jspm_packages/npm/validator@5.2.0/index.js","../jspm_packages/npm/validator@5.2.0.js","../jspm_packages/npm/z-schema@3.17.0/src/FormatValidators.js","../jspm_packages/npm/z-schema@3.17.0/src/JsonValidation.js","../jspm_packages/npm/lodash._stringtopath@4.7.1/index.js","../jspm_packages/npm/lodash._stringtopath@4.7.1.js","../jspm_packages/npm/lodash.get@4.2.1/index.js","../jspm_packages/npm/lodash.get@4.2.1.js","../jspm_packages/npm/z-schema@3.17.0/src/Errors.js","../jspm_packages/npm/z-schema@3.17.0/src/Report.js","../jspm_packages/npm/z-schema@3.17.0/src/SchemaValidation.js","../jspm_packages/npm/z-schema@3.17.0/src/Utils.js","../jspm_packages/npm/z-schema@3.17.0/src/schemas/schema.json","../jspm_packages/npm/z-schema@3.17.0/src/schemas/hyper-schema.json","../jspm_packages/npm/z-schema@3.17.0/src/ZSchema.js","../jspm_packages/npm/z-schema@3.17.0.js","../jspm_packages/npm/swagger-schema-official@2.0.0-bab6bed/schema.json","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/validate-schema.js","../jspm_packages/npm/swagger-methods@1.0.0/lib/index.js","../jspm_packages/npm/swagger-methods@1.0.0.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/validate-spec.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/util.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/options.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/promise.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/json.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/yaml.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/text.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parsers/binary.js","../jspm_packages/github/jspm/nodelibs-fs@0.1.2/index.js","../jspm_packages/github/jspm/nodelibs-fs@0.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolvers/file.js","../jspm_packages/npm/stream-http@2.3.0/lib/capability.js","../jspm_packages/npm/stream-http@2.3.0/lib/response.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_readable.js","../jspm_packages/npm/process-nextick-args@1.0.6/index.js","../jspm_packages/npm/process-nextick-args@1.0.6.js","../jspm_packages/npm/util-deprecate@1.0.2/browser.js","../jspm_packages/npm/util-deprecate@1.0.2.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_writable.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_duplex.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_transform.js","../jspm_packages/npm/readable-stream@2.1.2/lib/_stream_passthrough.js","../jspm_packages/npm/readable-stream@2.1.2/readable.js","../jspm_packages/npm/readable-stream@2.1.2.js","../jspm_packages/npm/to-arraybuffer@1.0.1/index.js","../jspm_packages/npm/to-arraybuffer@1.0.1.js","../jspm_packages/npm/stream-http@2.3.0/lib/request.js","../jspm_packages/npm/xtend@4.0.1/immutable.js","../jspm_packages/npm/xtend@4.0.1.js","../jspm_packages/npm/builtin-status-codes@2.0.0/browser.js","../jspm_packages/npm/builtin-status-codes@2.0.0.js","../jspm_packages/npm/stream-http@2.3.0/index.js","../jspm_packages/npm/stream-http@2.3.0.js","../jspm_packages/npm/readable-stream@1.1.14/readable.js","../jspm_packages/npm/readable-stream@1.1.14/writable.js","../jspm_packages/npm/readable-stream@1.1.14/duplex.js","../jspm_packages/npm/readable-stream@1.1.14/transform.js","../jspm_packages/npm/isarray@0.0.1/index.js","../jspm_packages/npm/isarray@0.0.1.js","../jspm_packages/npm/events@1.0.2/events.js","../jspm_packages/npm/events@1.0.2.js","../jspm_packages/github/jspm/nodelibs-events@0.1.1/index.js","../jspm_packages/github/jspm/nodelibs-events@0.1.1.js","../jspm_packages/npm/string_decoder@0.10.31/index.js","../jspm_packages/npm/string_decoder@0.10.31.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_readable.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_writable.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_duplex.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_transform.js","../jspm_packages/npm/core-util-is@1.0.2/lib/util.js","../jspm_packages/npm/core-util-is@1.0.2.js","../jspm_packages/npm/readable-stream@1.1.14/lib/_stream_passthrough.js","../jspm_packages/npm/readable-stream@1.1.14/passthrough.js","../jspm_packages/npm/stream-browserify@1.0.0/index.js","../jspm_packages/npm/stream-browserify@1.0.0.js","../jspm_packages/github/jspm/nodelibs-stream@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-stream@0.1.0.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/lib/response.js","../jspm_packages/npm/Base64@0.2.1/base64.js","../jspm_packages/npm/Base64@0.2.1.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/lib/request.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1/index.js","../jspm_packages/github/jspm/nodelibs-http@1.7.1.js","../jspm_packages/npm/https-browserify@0.0.0/index.js","../jspm_packages/npm/https-browserify@0.0.0.js","../jspm_packages/github/jspm/nodelibs-https@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-https@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolvers/http.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/validators/z-schema.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/options.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/refs.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/plugins.js","../jspm_packages/npm/es6-promise@3.1.2/dist/es6-promise.js","../jspm_packages/npm/es6-promise@3.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/promise.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/parse.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/resolve-external.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/bundle.js","../jspm_packages/npm/call-me-maybe@1.0.1/index.js","../jspm_packages/npm/call-me-maybe@1.0.1.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/mark.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/loader.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/dumper.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/str.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/seq.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/map.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/failsafe.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/null.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/bool.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/int.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/common.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/float.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/json.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/core.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/timestamp.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/merge.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/binary.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/omap.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/pairs.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/set.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/default_safe.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/undefined.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/regexp.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/type/js/function.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/schema/default_full.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml/exception.js","../jspm_packages/npm/js-yaml@3.6.0/lib/js-yaml.js","../jspm_packages/npm/js-yaml@3.6.0/index.js","../jspm_packages/npm/js-yaml@3.6.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/yaml.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/index.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/ref.js","../jspm_packages/npm/base64-js@0.0.8/lib/b64.js","../jspm_packages/npm/base64-js@0.0.8.js","../jspm_packages/npm/ieee754@1.1.6/index.js","../jspm_packages/npm/ieee754@1.1.6.js","../jspm_packages/npm/isarray@1.0.0/index.js","../jspm_packages/npm/isarray@1.0.0.js","../jspm_packages/npm/buffer@3.6.0/index.js","../jspm_packages/npm/buffer@3.6.0.js","../jspm_packages/github/jspm/nodelibs-buffer@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-buffer@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/pointer.js","../jspm_packages/npm/util@0.10.3/support/isBufferBrowser.js","../jspm_packages/npm/inherits@2.0.1/inherits_browser.js","../jspm_packages/npm/inherits@2.0.1.js","../jspm_packages/npm/util@0.10.3/util.js","../jspm_packages/npm/util@0.10.3.js","../jspm_packages/github/jspm/nodelibs-util@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-util@0.1.0.js","../jspm_packages/npm/ono@2.2.1/lib/index.js","../jspm_packages/npm/ono@2.2.1.js","../jspm_packages/npm/ms@0.7.1/index.js","../jspm_packages/npm/ms@0.7.1.js","../jspm_packages/npm/debug@2.2.0/debug.js","../jspm_packages/npm/debug@2.2.0/browser.js","../jspm_packages/npm/debug@2.2.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/debug.js","../jspm_packages/npm/punycode@1.3.2/punycode.js","../jspm_packages/npm/punycode@1.3.2.js","../jspm_packages/npm/querystring@0.2.0/decode.js","../jspm_packages/npm/querystring@0.2.0/encode.js","../jspm_packages/npm/querystring@0.2.0/index.js","../jspm_packages/npm/querystring@0.2.0.js","../jspm_packages/npm/url@0.10.3/url.js","../jspm_packages/npm/url@0.10.3.js","../jspm_packages/github/jspm/nodelibs-url@0.1.0/index.js","../jspm_packages/github/jspm/nodelibs-url@0.1.0.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/util/url.js","../jspm_packages/npm/json-schema-ref-parser@3.1.2/lib/dereference.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2/lib/index.js","../jspm_packages/npm/swagger-parser@4.0.0-beta.2.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.object-sap.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.get-own-property-descriptor.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/get-own-property-descriptor.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/get-own-property-descriptor.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/get.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/create.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-proto.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.set-prototype-of.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/set-prototype-of.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/set-prototype-of.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/inherits.js","../jspm_packages/npm/foreach@2.0.5/index.js","../jspm_packages/npm/foreach@2.0.5.js","../jspm_packages/npm/json-pointer@0.3.0/index.js","../jspm_packages/npm/json-pointer@0.3.0.js","../.tmp/lib/utils/JsonPointer.js","../.tmp/lib/utils/swagger-defs.js","../.tmp/lib/utils/SchemaManager.js","../.tmp/lib/services/menu.service.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.to-string.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.add-to-unscopables.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-iobject.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.array.iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/web.dom.iterable.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-step.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-species.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection-strong.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.redefine-all.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.strict-new.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.set.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.for-of.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.collection-to-json.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es7.set.to-json.js","../jspm_packages/npm/core-js@1.2.6/library/fn/set.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/set.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.string-at.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.library.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.redefine.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.property-desc.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.descriptors.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.hide.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-create.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.has.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.set-to-string-tag.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-define.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.string.iterator.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.is-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.an-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-call.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.is-array-iter.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-integer.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-length.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.classof.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iterators.js","../jspm_packages/npm/core-js@1.2.6/library/modules/core.get-iterator-method.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.shared.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.uid.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.wks.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iter-detect.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.array.from.js","../jspm_packages/npm/core-js@1.2.6/library/fn/array/from.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/array/from.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.global.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.a-function.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.ctx.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.export.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.defined.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.to-object.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.cof.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.iobject.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.fails.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.object-assign.js","../jspm_packages/npm/core-js@1.2.6/library/modules/es6.object.assign.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.core.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/assign.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/assign.js","../.tmp/lib/services/options.service.js","../.tmp/lib/services/scroll.service.js","../jspm_packages/npm/core-js@1.2.6/library/modules/$.js","../jspm_packages/npm/core-js@1.2.6/library/fn/object/define-property.js","../jspm_packages/npm/babel-runtime@5.8.34/core-js/object/define-property.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/create-class.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/collection.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/generic_browser_adapter.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/facade/lang.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/dom/dom_adapter.js","../jspm_packages/npm/@angular/platform-browser@2.0.0-rc.1/src/browser/browser_adapter.js","../jspm_packages/npm/babel-runtime@5.8.34/helpers/class-call-check.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/metadata/di.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/metadata/directives.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/metadata.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/util.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/zone.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/render.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/query_list.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/platform_directives_and_pipes.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/platform_common_providers.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/zone/ng_zone_impl.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/zone/ng_zone.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/testability/testability.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/application_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/dynamic_component_loader.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/application_common_providers.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/metadata/lifecycle_hooks.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/component_factory.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/component_resolver.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/promise.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/SubjectSubscription.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/throwError.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/ObjectUnsubscribedError.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/Subject.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/observable/PromiseObservable.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/operator/toPromise.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/symbol/observable.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/isArray.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/isObject.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/isFunction.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/tryCatch.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/errorObject.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/UnsubscriptionError.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/Subscription.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/Observer.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/Subscriber.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/root.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/symbol/rxSubscriber.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/util/toSubscriber.js","../jspm_packages/npm/rxjs@5.0.0-beta.6/Observable.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/async.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/view_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/element_injector.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/view.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/security.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/element_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/profile/wtf_impl.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/profile/profile.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/view_container_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/element.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/exceptions.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/differs/iterable_differs.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/differs/default_iterable_differ.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/differs/keyvalue_differs.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/differs/default_keyvalue_differ.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/constants.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/change_detector_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/change_detection.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/injector.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/reflective_injector.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/reflection/reflector_reader.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/reflection/reflector.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/reflection/reflection.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/reflective_provider.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/forward_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/reflective_key.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/reflective_exceptions.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/opaque_token.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/application_tokens.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/view_utils.js","../jspm_packages/npm/process@0.11.2/browser.js","../jspm_packages/npm/process@0.11.2.js","../jspm_packages/github/jspm/nodelibs-process@0.1.2/index.js","../jspm_packages/github/jspm/nodelibs-process@0.1.2.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/metadata/view.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/view_type.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/debug_context.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/change_detection/change_detection_util.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/render/api.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/linker/template_ref.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/profile/wtf_init.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/reflection/reflection_capabilities.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/debug/debug_node.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/debug/debug_renderer.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/base_wrapped_exception.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/collection.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/exception_handler.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/exceptions.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/provider.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/provider_util.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/metadata.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/facade/lang.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/util/decorators.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/di/decorators.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/src/console.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/private_export.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1/index.js","../jspm_packages/npm/@angular/core@2.0.0-rc.1.js","../.tmp/lib/services/events.service.js","../.tmp/lib/services/hash.service.js","../.tmp/lib/services/index.js","../jspm_packages/npm/scrollparent@0.1.0/scrollparent.js","../jspm_packages/npm/scrollparent@0.1.0.js","../.tmp/lib/components/Redoc/redoc.js","../.tmp/lib/components/index.js","../.tmp/lib/index.js"],"names":["Reflect","Reflect.decorate","Reflect.metadata","Reflect.metadata.decorator","Reflect.defineMetadata","Reflect.hasMetadata","Reflect.hasOwnMetadata","Reflect.getMetadata","Reflect.getOwnMetadata","Reflect.getMetadataKeys","Reflect.getOwnMetadataKeys","Reflect.deleteMetadata","Reflect.DecorateConstructor","Reflect.DecoratePropertyWithDescriptor","Reflect.DecoratePropertyWithoutDescriptor","Reflect.GetOrCreateMetadataMap","Reflect.OrdinaryHasMetadata","Reflect.OrdinaryHasOwnMetadata","Reflect.OrdinaryGetMetadata","Reflect.OrdinaryGetOwnMetadata","Reflect.OrdinaryDefineOwnMetadata","Reflect.OrdinaryMetadataKeys","Reflect.OrdinaryOwnMetadataKeys","Reflect.IsUndefined","Reflect.IsArray","Reflect.IsObject","Reflect.IsConstructor","Reflect.IsSymbol","Reflect.ToPropertyKey","Reflect.GetPrototypeOf","Reflect.CreateMapPolyfill","Reflect.CreateMapPolyfill.Map","Reflect.CreateMapPolyfill.size","Reflect.CreateMapPolyfill.has","Reflect.CreateMapPolyfill.get","Reflect.CreateMapPolyfill.set","Reflect.CreateMapPolyfill.delete","Reflect.CreateMapPolyfill.clear","Reflect.CreateMapPolyfill.forEach","Reflect.CreateMapPolyfill._find","Reflect.CreateSetPolyfill","Reflect.CreateSetPolyfill.Set","Reflect.CreateSetPolyfill.size","Reflect.CreateSetPolyfill.has","Reflect.CreateSetPolyfill.add","Reflect.CreateSetPolyfill.delete","Reflect.CreateSetPolyfill.clear","Reflect.CreateSetPolyfill.forEach","Reflect.CreateWeakMapPolyfill","Reflect.CreateWeakMapPolyfill.WeakMap","Reflect.CreateWeakMapPolyfill.has","Reflect.CreateWeakMapPolyfill.get","Reflect.CreateWeakMapPolyfill.set","Reflect.CreateWeakMapPolyfill.delete","Reflect.CreateWeakMapPolyfill.clear","Reflect.CreateWeakMapPolyfill.FillRandomBytes","Reflect.CreateWeakMapPolyfill.GenRandomBytes","Reflect.CreateWeakMapPolyfill.CreateUUID","Reflect.CreateWeakMapPolyfill.CreateUniqueKey","Reflect.CreateWeakMapPolyfill.GetOrCreateWeakMapTable"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClyCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvKA;;;;;;;;;;;;;gFAagF;AAChF,IAAU,OAAO,CAm/ChB;AAn/CD,WAAU,OAAO,EAAC,CAAC;IACfA,YAAYA,CAACA;IAyDbA,wDAAwDA;IACxDA,IAAMA,iBAAiBA,GAAGA,MAAMA,CAACA,cAAcA,CAACA,QAAQA,CAACA,CAACA;IAC1DA,IAAMA,IAAIA,GAAeA,OAAOA,GAAGA,KAAKA,UAAUA,GAAGA,GAAGA,GAAGA,iBAAiBA,EAAEA,CAACA;IAC/EA,IAAMA,IAAIA,GAAeA,OAAOA,GAAGA,KAAKA,UAAUA,GAAGA,GAAGA,GAAGA,iBAAiBA,EAAEA,CAACA;IAC/EA,IAAMA,QAAQA,GAAmBA,OAAOA,OAAOA,KAAKA,UAAUA,GAAGA,OAAOA,GAAGA,qBAAqBA,EAAEA,CAACA;IAEnGA,6BAA6BA;IAC7BA,IAAMA,YAAYA,GAAGA,IAAIA,QAAQA,EAA+CA,CAACA;IAuDjFA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsCIA;IACJA,kBAAyBA,UAAoEA,EAAEA,MAAcA,EAAEA,SAA2BA,EAAEA,gBAAqCA;QAC7KC,EAAEA,CAACA,CAACA,CAACA,WAAWA,CAACA,gBAAgBA,CAACA,CAACA,CAACA,CAACA;YACjCA,EAAEA,CAACA,CAACA,CAACA,OAAOA,CAACA,UAAUA,CAACA,CAACA,CAACA,CAACA;gBACvBA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,CAACA,QAAQA,CAACA,MAAMA,CAACA,CAACA,CAACA,CAACA;gBACzBA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,WAAWA,CAACA,SAASA,CAACA,CAACA,CAACA,CAACA;gBAC9BA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,CAACA,QAAQA,CAACA,gBAAgBA,CAACA,CAACA,CAACA,CAACA;gBACnCA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YAEDA,SAASA,GAAGA,aAAaA,CAACA,SAASA,CAACA,CAACA;YACrCA,MAAMA,CAACA,8BAA8BA,CAAoBA,UAAUA,EAAEA,MAAMA,EAAEA,SAASA,EAAEA,gBAAgBA,CAACA,CAACA;QAC9GA,CAACA;QACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,CAACA,WAAWA,CAACA,SAASA,CAACA,CAACA,CAACA,CAACA;YAC/BA,EAAEA,CAACA,CAACA,CAACA,OAAOA,CAACA,UAAUA,CAACA,CAACA,CAACA,CAACA;gBACvBA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,CAACA,QAAQA,CAACA,MAAMA,CAACA,CAACA,CAACA,CAACA;gBACzBA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YAEDA,SAASA,GAAGA,aAAaA,CAACA,SAASA,CAACA,CAACA;YACrCA,MAAMA,CAACA,iCAAiCA,CAAsBA,UAAUA,EAAEA,MAAMA,EAAEA,SAASA,CAACA,CAACA;QACjGA,CAACA;QACDA,IAAIA,CAACA,CAACA;YACFA,EAAEA,CAACA,CAACA,CAACA,OAAOA,CAACA,UAAUA,CAACA,CAACA,CAACA,CAACA;gBACvBA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAACA;YACDA,IAAIA,CAACA,EAAEA,CAACA,CAACA,CAACA,aAAaA,CAACA,MAAMA,CAACA,CAACA,CAACA,CAACA;gBAC9BA,MAAMA,IAAIA,SAASA,EAAEA,CAACA;YAC1BA,CAAC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CAACA;gBAC1CA,CAACA;YACLA,CAACA;YACDR,KAAKA,YAACA,GAAQA;gBACVS,IAAMA,IAAIA,GAAGA,IAAIA,CAACA,KAAKA,CAACA;gBACxBA,IAAMA,IAAIA,GAAGA,IAAIA,CAACA,MAAMA,CAACA;gBACzBA,GAAGA,CAACA,CAACA,GAAGA,CAACA,CAACA,GAAGA,CAACA,EAAEA,CAACA,GAAGA,IAAIA,EAAEA,EAAEA,CAACA,EAAEA,CAACA;oBAC5BA,EAAEA,CAACA,CAACA,IAAIA,CAACA,CAACA,CAACA,KAAKA,GAAGA,CAACA,CAACA,CAACA;wBAClBA,MAAMA,CAACA,CAACA,CAACA;oBACbA,CAACA;gBACLA,CAACA;gBACDA,MAAMA,CAACA,CAACA,CAACA,CAACA;YACdA,CAACA;SACJT,CAACA;QACFA,MAAMA,CAAMA,GAAGA,CAACA;IACpBA,CAACA;IAED9B,iBAAiBA;IACjBA;QACIwC,IAAMA,aAAaA,GAAGA,EAAEA,CAACA;QACzBA;YACIC,IAAIA,CAACA,IAAIA,GAAGA,IAAIA,IAAIA,EAAYA,CAACA;QACrCA,CAACA;QACDD,GAAGA,CAACA,SAASA,GAAGA;YACZA,IAAIA,IAAIA;gBACJE,MAAMA,CAACA,IAAIA,CAACA,IAAIA,CAACA,MAAMA,CAACA;YAC5BA,CAACA;YACDF,GAAGA,YAACA,KAAUA;gBACVG,MAAMA,CAACA,IAAIA,CAACA,IAAIA,CAACA,GAAGA,CAACA,KAAKA,CAACA,CAACA;YAChCA,CAACA;YACDH,GAAGA,YAACA,KAAUA;gBACVI,IAAIA,CAACA,IAAIA,CAACA,GAAGA,CAACA,KAAKA,EAAEA,KAAKA,CAACA,CAACA;gBAC5BA,MAAMA,CAACA,IAAIA,CAACA;YAChBA,CAACA;YACDJ,MAAMA,YAACA,KAAUA;gBACbK,MAAMA,CAACA,IAAIA,CAACA,IAAIA,CAACA,MAAMA,CAACA,KAAKA,CAACA,CAACA;YACnCA,CAACA;YACDL,KAAKA;gBACDM,IAAIA,CAACA,IAAIA,CAACA,KAAKA,EAAEA,CAACA;YACtBA,CAACA;YACDN,OA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,CAAC,CAAC;gBAC/B,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC;oBACpB,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,GAAS,OAAQ,CAAC,CAAC,CAAC,CAAC;gBAC5C,CAAC;YACL,CAAC;QACL,CAAC;QACD,IAAI,CAAC,CAAC;YACF,QAAQ,CAAC,OAAO,GAAG,OAAO,CAAC;QAC/B,CAAC;IACL,CAAC,CAACA,CACEA,OAAOA,MAAMA,KAAKA,WAAWA,GAAGA,MAAMA;QAClCA,OAAOA,iBAAiBA,KAAKA,WAAWA,GAAGA,IAAIA;YAC3CA,OAAOA,MAAMA,KAAKA,WAAWA,GAAGA,MAAMA;gBAClCA,QAAQA,CAACA,cAAcA,CAACA,EAAEA,CAACA,CAACA;AAChDA,CAACA,EAn/CS,OAAO,KAAP,OAAO,QAm/ChB;;ACjgDD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;AC/zIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAMA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;EACJ;AACA;AAjDA;AAAiG;AAkDhD;AClDjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;MACF;AACA;IACF;EACF;AACA;AACE;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;IAEJ;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;AAEF;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACI;AACJ;AACE;AACA;MACF;AACA;IACF;EACF;AACA;AACE;AAAuB;AAErB;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE3B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AAAwB;AAEtB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;AACE;AAAY;EAEhB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AAAW;AAEX;AAAY;AAEZ;AAAY;AAChB;AACF;AAEA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACE;AACE;MACF;IACF;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAEF;AACE;AAAuB;AAErB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AArZA;AAAoG;AAsZpG;ACtZA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AAAe;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AAAW;MAEf;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;AAEb;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;AAEb;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAlHA;AAA4G;AAmH5G;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AA/FA;AAAwG;AAiGxG;ACjGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AAjCA;AAAgH;AAkChH;AClCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AAA6D;AAE/D;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;QACF;AACA;MACF;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AACA;EACF;AAAA;AAEE;AACA;AACE;IACF;AACA;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;IACF;AACE;IACF;AAAA;AACF;AApI0H;AAqI1H;ACrIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;QACF;AAAA;IAEJ;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;QACF;AAAA;IAEJ;AAAA;AAEE;AACA;AACE;MACF;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACE;QACF;AACA;AACA;AACE;QACF;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;UACF;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AACE;AACA;UACF;AAAA;AAEA;AACA;AACE;UACF;QACF;AACE;AACA;AACE;UACF;QACF;AAAA;AAEE;AACA;AACA;AAAoB;MAExB;AACA;AACE;AACA;AAA8B;AAEhC;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;AAAsC;MAE1C;AAAA;AAEE;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;AAEE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEE;AACE;AACE;AACA;AAAU;QAEd;AAAA;AAEA;AACE;AACA;AACA;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AACE;AACE;AACA;AAAU;UAEd;AAAA;AACF;AACF;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AAAoB;EAExB;AAAA;AAEE;AACI;AACJ;EACF;AAAA;AAEE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AACE;QACF;AACE;AACA;AACE;UACF;AACE;AACE;AACA;AAAiB;UAErB;AACE;UACF;AAAA;AAEE;UACF;AAAA;AACF;IAEJ;AAAA;EAEF;AAAA;AAEE;AACA;AACE;AACE;AACA;AAAuB;AAEzB;IACF;AACA;AACE;IACF;AACE;IACF;AACA;AACE;AACA;IACF;AACA;EACF;AAAA;AAEE;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AACE;AACE;QACF;AAAA;MAEF;AAAA;EAEJ;AAAA;AAEE;AACA;AACE;AACE;MACF;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEE;AACA;AACE;AACE;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;AAAA;IAEJ;AACA;EACF;AAAA;AAEE;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AAAA;AA9Y6H;AA+Y7H;AC/YA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACE;AAAW;AAEb;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACE;QACF;AACA;AACE;QACF;AACA;AACE;QACF;AAAA;AAEE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;QACF;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;AACE;UACF;QACF;AAAA;MAEF;AACA;AACA;AACE;AACA;AACE;AACA;AAAkC;AACnC;AAEH;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AACA;AACA;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;UACF;AAAA;QAEF;AACE;AACA;QACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;QACF;AACE;AACA;QACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;QACF;AACE;AACA;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;AACE;AACE;YACF;AAAA;AAEF;AACE;UACF;AACA;QACF;AACE;AACA;QACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;AACE;AACE;YACF;AAAA;QAEJ;AAAA;AAEF;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;UACF;AAAA;AAEE;UACF;AAAA;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;UACF;AAAA;QAEF;AACE;AACA;AACA;QACF;AACE;AACA;AACA;QACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;QACF;AACE;AACA;QACF;AAAA;AAEE;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AACE;AACA;YACF;AAAA;AACF;QAEF;AAAA;MAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AACE;AACA;AACE;AACA;YACF;AACE;AACA;YACF;AAAA;AAEA;AACE;AACA;YACF;AACE;YACF;AAAA;AAEA;AACA;UACF;AACE;UACF;AACE;AACA;UACF;AACE;AACA;UACF;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AACA;AACE;QACF;MACF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;UACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;YACF;AAAA;AAEF;QACF;AACA;AACE;AACE;AACE;YACF;AAAA;UAEF;AACE;AACA;AACE;YACF;AAAA;UAEF;AAAA;AAEF;MACF;AACA;AACE;AACA;AACE;AACE;AACA;UACF;QACF;AAAA;AAEF;AACE;AACA;AACE;AACE;UACF;QACF;AAAA;AAEF;AACE;AACE;AACA;AACE;AACA;AACE;YACF;AAAA;AAEF;AACE;AACA;AACE;YACF;AAAA;QAEJ;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;AACE;UACF;QACF;AACA;AACE;AACE;UACF;AAAA;AAEF;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AAAA;AAEA;AACE;AACA;AACE;YACF;AAAA;AAEA;AACA;AACE;AACA;AACA;YACF;AAAA;UAEF;AACE;AACA;AACA;UACF;AACE;AACA;AACA;AACA;UACF;AACE;AACA;AACA;UACF;AAAA;AACF;MAEF;AACA;AACE;AACA;AACE;AACA;AACE;UACF;AAAA;AAEF;MACF;AACA;AACE;AACA;AACE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;QACF;AAAA;AAEE;QACF;MACF;AACA;AACE;AACA;AACA;AACE;AACE;UACF;QACF;AACA;AACE;AACE;UACF;AAAA;MAEJ;AACA;IACF;AACA;AACE;AAA+B;AAE7B;AACA;AACE;QACF;AAAA;AAEE;QACF;AACA;AACA;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AACA;AACE;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;MAEF;AACA;AACE;AACA;AACE;QACF;AACA;AACA;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;QACF;AAAA;AACF;IAEF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;MACF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACE;QACF;AACA;AACE;QACF;AAAA;AAEF;IACF;AAAA;AAxuBF;AAAmM;AA0uBnM;AC1uBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACE;AACA;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;QACF;AAAA;MAEF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;IACF;AACA;EACF;AACA;AAxKA;AAAmH;AAyKnH;ACzKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;EACF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEA;IACF;AACA;EACF;AAjDA;AAAqH;AAkDrH;AClDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAK;AAEL;AACA;AACA;AACA;AACA;AACA;AAAK;AAEL;AADK;AAGT;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;QACF;AAAA;MAEF;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;QACF;AACA;MACF;AAAA;AAEF;EACF;AACA;AACE;AACE;AACA;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AACF;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AA3XmH;AA4XnH;AC5XA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAA0B;EAE5B;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;IAEJ;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;MACF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;MAGX;AAAA;AAEA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;MACF;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEA;AACE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAta8G;AAua9G;ACvaA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;QACF;AACA;MACF;AAAA;AAEF;EACF;AAzUA;AAAmH;AA0UnH;AC1UA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;EACF;AAAA;AAEA;AACE;AAA4B;AAE1B;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACE;QACF;MACF;AACA;AACE;AACE;QACF;AACA;MACF;AACA;AACE;MACF;AACA;AACA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACE;AAAiC;AAE/B;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACA;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;AACA;AACE;AAAwB;AAExB;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;MAGX;AAAA;AAEA;AACE;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACE;YACF;AACE;YACF;AAAA;AACK;AAEL;AADK;MAGX;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACE;AACA;AACA;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AAAqB;AAErB;AAAsB;AAEtB;AAAqB;AAErB;AAAsB;AAEtB;AAAqB;AAErB;AAAqB;AAErB;AAAoB;AAEpB;AAAoB;AAEpB;AAAoB;AAEpB;AAAoB;AAEpB;AAAoB;AAEpB;AAAoB;AAEpB;AAAqB;AAErB;AAAoB;AAEpB;AAAqB;AAErB;AADK;IAGX;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACE;AACE;AACE;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AACE;QACF;AAAC;AAED;AADK;EAGX;AAAA;AAEA;AAndA;AAAsI;AAodtI;ACpdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AAA+C;AAE7C;AACE;AACA;MACF;AACE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AA7EA;AAA+G;AA8E/G;AC9EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACE;QACF;AACE;AACA;AACA;AACA;AACA;AACA;AACE;UACF;QACF;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEF;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;QACF;AAAA;MAEF;AACE;AACE;AACA;AACA;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACE;MACF;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACE;IACF;AAAA;AACF;AAnKkL;AAoKlL;ACpKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AACA;AACI;AACA;MACJ;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAC0C;IAA6B;AACvE;AAA4C;IAA4B;AAGxE;AACI;IACJ;AACA;AACI;AACI;AAA0B;IAElC;AACA;AACI;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;IAER;AACA;AACI;IACJ;AACA;AAA4C;IAA+B;AAC3E;AAAyC;IAA+B;AACxE;EACJ;AACA;AAhDA;AAAkG;AAiDhE;ACjDlC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAyB;AAEvB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA8B;AAE5B;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AAAmB;IAEvB;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEA;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAnKA;AAA+H;AAoK/H;ACpKA;;AAAA;AACI;AAAY;AAAe;AAM/B;AACI;AACA;AACqC;IAAa;AAClD;EACJ;AACA;AAbA;AAAkG;AAcpE;ACd9B;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AA5FA;AAAsG;AA8FtG;AC9FA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACE;AAAW;AAEb;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;AACE;AACA;AACE;AACE;AACE;AACE;gBACF;AACE;gBACF;AACE;gBACF;AAAA;AAEA;cACF;AACE;cACF;AAAA;AAEA;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AAEA;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;AAEA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AACA;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;MACF;AACA;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;AACE;QACF;AAAA;AAEE;AACA;QACF;AACE;QACF;AAAA;AAEA;AACA;MACF;AACA;AACE;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;QACF;AAAA;AAEF;AACE;AACE;AACE;UACF;AAAA;AACF;MAEF;AACA;AACE;AACE;AACE;UACF;AAAA;AACF;MAEF;AACA;AACE;AACA;AACE;QACF;AAAA;AAEF;AACE;AACE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;AACE;AACE;QACF;AAAA;AAEF;AACE;AACE;QACF;AACE;AACA;AACA;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AAAA;AAEA;AACA;AACE;AACA;UACF;AACE;AACA;UACF;AAAA;AAEA;AACA;AACA;AACE;AACA;UACF;AAAA;AAEA;AACA;AACA;AACE;UACF;AAAA;QAEF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;AACF;MAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;AACA;QACF;AACE;QACF;AAAA;AAEA;AACA;MACF;AACA;AACE;AACA;AACA;AACE;AACE;UACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;YACF;AAAA;UAEF;AAAA;QAEF;AACE;AACE;AACA;AACA;AACA;UACF;AAAA;QAEF;AAAA;AAEA;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACA;AACE;AACE;AAAY;AAEd;AACE;AAAY;AAEd;AACE;AAAY;QAEhB;AACA;AACA;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AAAA;AAEA;QACF;AACE;AACA;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AACE;QACF;AAAA;AAEE;AACE;AACA;AACA;UACF;AACE;AACA;AACA;UACF;AACE;UACF;AAAA;AACF;MAEF;AACA;AACE;AACE;AAAW;AAEX;AACE;AAAW;AAEX;AAAW;AACf;MAEF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEF;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AACF;IAEF;AAAA;AA9oBF;AAAyH;AAgpBzH;AChpBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AACA;AACA;AACA;IACJ;AAAA;AACiD;IAAyD;AAC1G;EACJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;IACJ;AAAA;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;EACJ;AACA;AACA;AACI;AACI;AAAwB;MAA+B;AAAA;AAEvD;AACA;IACJ;AAAA;AAEI;AACA;AACA;AACI;MACJ;AAAA;AAEA;AACA;AACA;AACI;AACA;AACA;AACI;AACI;UACJ;AAAA;AACJ;AACJ;AAEA;AACA;AACI;AACA;AACA;AACI;AACI;UACJ;AAAA;AACJ;AACJ;AAGA;IACJ;AACA;EACJ;AACA;AA/EA;AAAkG;AAgF7D;AChFrC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AAAuB;AAErB;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACE;QACF;AACE;QACF;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACA;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AAAM;MAEV;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;AAAW;AAEb;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEE;AACE;AACA;AACE;AAAU;AAEZ;AACA;UACF;AAAA;AACF;AAEE;AACE;UACF;AACE;AACA;UACF;AAAA;AACF;AAEE;AACA;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEF;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;AACE;AACA;QACF;AAAA;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AACE;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AA/SmI;AAgTnI;AChTA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAe;AAEjB;AACE;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACE;QACF;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAmB;AAErB;AACA;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAW;AAEb;AACA;AACA;AACE;AACA;AAAmB;AAErB;AACA;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACE;AACA;AAAmB;AAErB;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAkB;AACnB;AAEH;AACA;AACE;AACA;EACF;AAAA;AAEA;AACA;AACE;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AApaA;AAAsG;AAsatG;ACtaA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;AACE;QACF;AAAA;AACF;AAEF;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AA3E2G;AA4E3G;AC5EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA2B;MAE/B;IACF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;AACE;QACF;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AACA;MACF;AACA;AACA;AACE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AAA6C;IAEjD;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;AACE;UACF;AAAA;AACK;AAEL;AACA;AACE;AACE;YACF;AAAA;AAEF;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AAxJA;AAAsJ;AAyJtJ;ACzJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACE;AACE;AACE;YACF;AACE;YACF;AAAA;AACF;AAEE;AACE;YACF;AACE;YACF;AAAA;AACF;AAEE;AACE;YACF;AACE;YACF;AAAA;AACF;AAEE;AACA;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;MAEJ;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACE;UACF;AAAA;AAEF;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;MAElC;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;MAE1B;AAAA;AAEF;AACA;AACA;EACF;AACA;AACA;AA1HA;AAAwH;AA2HxH;AC3HA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACA;AACA;EACF;AACA;AACA;AAhCA;AAAoH;AAiCpH;ACjCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEF;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AAA4B;QAEhC;AAAA;AAEA;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AAjFA;AAAwH;AAkFxH;AClFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AAAY;AAEd;AACE;AACE;AAAiC;AAEjC;AAAoC;AAEpC;AAA8B;AAE9B;AAAiC;AAEjC;AAA0B;AAE1B;AAAwB;AAExB;AAA0B;AAE1B;AAAuB;AAEvB;AADK;EAGX;AAAA;AA5BA;AAA2G;AA8B3G;AC9BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AACF;AACF;AAhBA;AAA0G;AAkB1G;AClBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AAA4B;AAE9B;AACA;AACE;UACF;AAAA;QAEF;AAAA;AAEA;AACE;QACF;AAAA;AAEA;AACA;AACE;AACA;QACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;UACF;AACA;AACA;AACA;AACA;AAAuB;AAEzB;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACE;AACE;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACE;AACA;AACA;AACA;AAA+C;IAEnD;AACA;AACE;AACE;AACA;AACA;AACA;AAAkD;IAEtD;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AAAC;AAEH;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;MACF;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;MACF;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AACE;AACA;YACF;AACE;AACE;cACF;AACE;cACF;AAAA;AAEA;YACF;AACE;YACF;AAAA;QAEJ;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmC;MAEvC;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;AACI;AACA;AACA;AAAoC;MAE1C;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AAAoB;IAExB;AACA;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAoE;IAExE;AACA;AACA;AACE;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAA4B;AAC7B;AAEH;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AACF;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEE;AACE;AACE;AACA;AAAoC;MAExC;AACE;MACF;AAAA;AAEF;EACF;AAjZA;AAA+J;AAkZ/J;AClZA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACE;QACF;MACF;AACA;AACE;AACE;AACA;AACA;AACA;QACF;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEA;MACF;AACA;AACE;AACI;AACJ;AACA;AACE;AACA;AACA;AACA;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AACE;AACI;AACJ;AACE;AACA;AACE;AAAK;AAEP;YACF;AAAA;UAEF;AACE;UACF;AAAA;MAEJ;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;QAEF;MACF;AACA;AACE;AACI;AACJ;AACE;AACA;AACA;AACA;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AAAA;AAEF;AACE;AACA;AACE;QACF;AACA;AACI;AACA;AACJ;AACE;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;cACF;AAAA;AACF;UAEF;QACF;AAAA;MAEF;AACA;AACE;AACA;AACA;MACF;AACA;IACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;IACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;MACF;IACF;AAAA;AAEA;AACE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;AACE;AACA;AACA;UACF;AAAA;QAEF;AAAA;AAEE;QACF;AAAA;AACF;AAEE;AACA;MACF;AAAA;IAEF;AAAA;AA9QF;AAA+G;AAgR/G;AChRA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AAAY;AAEd;EACF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;EACF;AAAA;AAEA;AACA;AAhCA;AAAsG;AAiCtG;ACjCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAvEkI;AAwElI;ACxEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACA;AACA;AACA;AACE;AACA;MACF;IACF;AACA;AACE;AACE;AACA;AACA;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAvFwH;AAwFxH;ACxFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;QACF;AACA;AACA;AACE;AACE;AACA;AACA;UACF;AAAA;MAEJ;AAAA;AAEA;AACE;MACF;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;AACE;QACF;MACF;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AACF;AA7JqJ;AA8JrJ;AC9JA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AACE;AACA;AACA;QACF;AAAA;AAEF;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACE;AACE;MACF;AACE;MACF;AAAA;EAEJ;AAAA;AAEE;AACE;IACF;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;EACF;AAAA;AAEA;AACE;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AAAA;AA7FA;AAAwH;AA+FxH;AC/FA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;AACA;AAA8B;AAEhC;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AACA;AACE;AACE;AACE;UACF;AACE;AACA;AACE;YACF;AACA;UACF;AACE;AACA;AACE;YACF;AACA;UACF;AACE;UACF;AAAA;AAEF;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;MACF;AACA;AACE;AACA;AACE;QACF;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACE;QACF;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;UACF;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;AACE;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;IACF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AA/WA;AAA0J;AAgX1J;AChXA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AAAA;AACF;AAEA;AACE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AACF;AAEA;AACE;AACA;AACA;AACE;AACA;AACE;AACE;AACA;QACF;AAAA;MAEF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAnFA;AAAmH;AAqFnH;ACrFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACA;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACE;MACF;AAAA;EAEJ;AAAA;AAEA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEF;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AACE;AACE;UACF;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACE;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;EACF;AAAA;AAEE;AACA;AACE;IACF;AACA;EACF;AAAA;AAEE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACE;IACF;AACA;EACF;AAAA;AAEE;AACA;AACE;AACA;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;IACF;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;EACF;AAAA;AAEE;AACA;AACA;AACE;AACA;IACF;AAAA;AAEA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAtX0J;AAuX1J;ACvXA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACE;AACA;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AACK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AACA;AACE;UACF;AAAA;AAEA;AAAK;AAET;AACA;IACF;EACF;AAAA;AAEE;AACA;AACE;AACE;AAAkB;AAElB;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AACF;AAEA;AACE;EACF;AAAA;AAjK6I;AAkK7I;AClKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AA7DA;AAA8G;AA8D9G;AC9DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACA;EACF;AAAA;AAEA;AACE;AACA;AACA;AACA;EACF;AAAA;AAEA;AACA;AACE;AACA;EACF;AACA;AACE;AACE;IACF;AAAA;AACF;AAEE;AACE;IACF;AAAA;AACF;AAEE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;AAGT;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACE;AACE;AACE;MACF;IACF;AACE;IACF;AAAA;AACF;AA7OmH;AA8OnH;AC9OA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AATA;AAAkG;AAUxD;ACV1C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;MACF;IACF;AACA;AACE;IACF;AACA;EACF;AAAA;AAEA;AACE;AACE;AACE;MACF;AACE;MACF;IACF;EACF;AAAA;AAEA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AA9HkI;AA+HlI;AC/HA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACE;EACF;AACA;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;AAEE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;EACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;EACF;AACA;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AAAkC;AAEhC;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;EACF;AACA;AACA;AACE;AAAuC;AAErC;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;EACF;AACA;AACA;AACE;AACA;EACF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACA;AACA;EACF;AAAA;AAEA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;EACF;AACA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAhmCA;AAAqG;AAkmCrG;AClmCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAkB;AAEpB;AACE;AACA;AACA;AAAa;EAEjB;AAAA;AAEE;AAAyB;AAEvB;IACF;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAkC;AAEhC;IACF;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAoC;AAElC;IACF;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAwC;AAEtC;IACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAgC;AAEhC;AACA;AACA;EACF;AACA;AACA;AACE;AAA2B;AAE3B;AACA;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE7B;EACF;AACA;AACA;AACE;AAA6B;AAE7B;AACA;AACA;EACF;AACA;AACA;AACE;AAA8B;AAE9B;AACA;AACA;AACA;EACF;AACA;AAvGA;AAA6H;AAwG7H;ACxGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AACF;AAEA;AACE;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AACF;AAEA;AACE;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AACF;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AACF;AAEA;AACE;AACA;AACE;IACF;AAAA;AACF;AA7DA;AAA+G;AA+D/G;AC/DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AACA;AACA;AACE;AACA;AACA;AACA;MACF;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AA1FA;AAAyH;AA2FzH;AC3FA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACA;AAAY;AAEd;AACE;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;QACF;AACE;AACA;AACA;QACF;AAAA;AACF;IAEF;AACA;AACA;AACE;AACA;AACE;AACA;AAA8B;AAC/B;AAEH;EACF;AACA;AACA;AACE;AACA;EACF;AAAA;AAEA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACE;EACF;AAAA;AAEE;AACE;AAAU;AAEZ;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAK;AAEL;AACE;UACF;AACE;UACF;AAAA;AACK;AAEL;AADK;IAGX;AAAA;AAEE;AACE;MACF;AAAA;AAEE;AAAa;AACjB;EAEF;AAAA;AAEE;AACA;AACA;AACA;EACF;AAAA;AAEE;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEA;AACE;AAAU;AAEZ;AACA;AACA;EACF;AAAA;AAnK2G;AAoK3G;ACpKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAA0C;AAExC;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AAAW;IAEf;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AAAa;IAEjB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;IAE3B;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAsB;IAE1B;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AAAuE;IAE3E;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;IAElC;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AACA;AACA;AAA2E;IAE/E;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAkC;IAEtC;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACJ;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AAAiD;IAErD;AACA;AACE;AACE;AACA;AACA;AAAgD;IAEpD;AACA;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AAA2E;IAE/E;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AAAkC;IAEtC;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AAA8D;IAElE;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AAA4B;IAEhC;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AAA6C;IAEjD;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAA4C;IAEhD;AACA;EACF;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;MAEJ;AAAA;AAEA;AACE;AACE;AACA;QACF;MACF;AAAA;AAEA;AACE;AACE;AACA;QACF;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;IAErB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AACA;AACA;AACA;AACA;AACA;AAA8E;IAElF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AACA;AACA;AACA;AACA;AACA;AAA4C;IAEhD;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;AACA;AACA;AACA;AAAW;AAEb;AACE;AACA;AACA;AACA;AACA;AAAqB;AAEvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;EAElB;AAAA;AAEA;AACE;AACE;AACI;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AAAiB;IAErB;AACA;AACE;AACE;AACA;AACA;AACA;AAAgB;IAEpB;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAAyC;AAE3C;AACE;AACE;IACF;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AAA8B;AAE9B;AAAU;EAEd;AAAA;AAEE;AACE;AAAwB;AAExB;AAAU;EAEd;AAAA;AAEE;EACF;AAAA;AA5tBsI;AA6tBtI;AC7tBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACE;AACA;AACE;IACF;AACE;IACF;AAAA;AACF;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AACF;AAEA;AACE;AAA6B;AAE3B;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AAAA;AACF;AACF;AAzFA;AAA0G;AA2F1G;AC3FA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAwB;AAEtB;AACA;AACA;AAAoB;AAEtB;AACE;AACA;AACA;AAAkB;AAEpB;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAqB;AAEvB;AACE;AACA;AACA;AAAqB;AAEvB;AACE;AACA;AACA;AAA2B;AAE7B;AACE;AACA;AACA;AAA4B;AAE9B;AACE;AACA;AACA;AAA8B;AAEhC;AACE;AACA;AACA;AAAoB;AAEtB;AACE;AACA;AACA;AAAsB;AAExB;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAyB;AAE3B;AACE;AACA;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAA4B;AAE9B;AACE;AACA;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAAkC;AAEpC;AACE;AACA;AACA;AAA8B;AAEhC;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAwB;AAE1B;AACE;AACA;AACA;AAA8B;AAEhC;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAuC;AAEzC;AACE;AACA;AACA;AAAuB;AAEzB;AACE;AACA;AACA;AAAsB;AAExB;AACE;AACA;AACA;AAAsB;AAExB;AACE;AACA;AACA;AAAsB;AAExB;AACE;AACA;AACA;AAAoB;AAEtB;AACE;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAiC;AAEjC;AACA;AACA;AAAkC;AAEpC;AACE;AACA;AACA;AAAsC;AAExC;EACF;AACA;AACA;AACE;EACF;AAAA;AA7OA;AAAoH;AA+OpH;AC/OA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AACA;AACA;AACE;AAAwB;AAEtB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AACA;AA/EA;AAA+G;AAgF/G;AChFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AACA;AACA;AACA;EACF;AACA;AAlCA;AAA+H;AAmC/H;ACnCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA7CA;AAAsG;AA8C/D;AC9CvC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;EAEJ;AACA;AAPA;AAAkG;AAQhD;ACRlD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AAAqB;AAEvB;AACE;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AACA;AACA;AACE;AACE;UACF;QACF;AAAA;AAEE;AACE;UACF;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;MAEJ;IACF;AAAA;AAEE;AACE;MACF;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACE;AAA2C;AAE3C;AAAyC;AAEzC;AAA0C;IAE9C;AACA;AACE;AACA;IACF;AACA;AACA;AACA;EACF;AACA;AA1FA;AAAyH;AA2FzH;AC3FA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACE;AAAW;AAEb;MACF;AAAA;IAEF;AACA;AACA;AACE;AAAgB;AAEd;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AAAgC;AAE9B;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;AACA;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;MACF;AACA;AACE;AACA;AACE;QACF;AACA;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AAA2B;AAEzB;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;EACF;AA1hBA;AAA0G;AA2hB1G;AC3hBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACE;AAAW;AAEb;AACE;AAAW;AAEb;AACE;AAAW;AAEb;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AAAW;AAEb;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AAAQ;AAER;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AAAM;IAEV;AACA;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAM;IAEV;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACE;UACF;AAAA;AACoD;AAEpD;QACF;AAAA;AACF;AAEE;AAA4B;AAE5B;AAAe;IAEnB;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AAEE;AACA;AACA;AACE;UACF;AAAA;QAEF;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;AACA;AACA;AACE;AACA;UACF;AACE;UACF;AAAA;AAEA;AACA;AACA;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AACE;AACA;MACF;AACE;AACA;MACF;AACE;AACA;AACA;MACF;AACE;MACF;AACE;MACF;AACE;AACA;AACA;MACF;AACE;AACA;AACA;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;QACF;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;QACF;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AACE;AACE;AACE;UACF;AACE;UACF;AAAA;AAEA;AACE;AACE;YACF;AAAA;AAEA;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACE;AACE;AAAS;AAEX;AACE;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AAAoD;AACtD;AACF;AAEE;AAA4B;AAE5B;AAAe;IAEnB;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AAEA;AACA;AACA;AACA;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;AAAkB;AAEpB;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACA;AACE;IACF;AACA;AACA;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AAppBA;AAA6H;AAqpB7H;ACrpBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAkB;AAEhB;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACE;AAAoB;AAEpB;AAA+B;AAE/B;AADK;IAGX;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACJ;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACI;AACA;AACA;AACJ;AACE;AACE;AACA;QACF;AACE;QACF;AAAA;AACF;AAEA;AACA;AACE;MACF;AAAA;AAEE;AAA4B;AAE5B;AAA6B;AAE/B;AACE;AACE;AACA;AAA8F;AAEhG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAsC;AAExC;AACE;AAAwB;AAE1B;AACA;AACA;AACA;AACA;AACA;AACE;AAAwE;AAExE;AAAiE;AAEnE;AACE;AAAiG;AAEnG;AACE;AAAmH;AAEnH;AAAoE;AAEpE;AAA8D;AAE9D;AACE;AAAc;AACO;AAE3B;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AAAc;AAEhB;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACE;QACF;AACE;AACA;AACE;AAAc;AAEd;AAAkC;QAEtC;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACE;AAAkC;AAEpC;AACA;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AAAA;AAEE;YACF;AAAA;AAEA;AACA;UACF;AAAA;AAEA;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;EACF;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AAAY;AAEd;AACE;AAAY;AAEd;AACE;AACE;AAAY;IAEhB;AAAA;EAEF;AAAA;AAEA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACE;AACE;AACE;AAAkB;AAElB;AAAkB;AAElB;AAAkB;AAElB;AAAmB;AAEnB;AAAoB;AAEpB;AADK;EAGX;AAAA;AAEA;AAzaA;AAAmH;AA0anH;AC1aA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAO;AAEP;AACA;AAA8C;AAE9C;AACA;AAAkE;AAvDpE;AAA6M;AAyD7M;ACzDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AA9NA;AAAsG;AAgOtG;AChOA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACE;AACE;UACF;AAAA;QAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACE;YACF;AAAA;AAEA;AACA;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;AAEE;UACF;AAAA;AAEE;AACA;UACF;AAAA;AAEE;AACE;YACF;AAAA;AAEA;UACF;AAAA;AACF;AAEA;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;MAEF;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AAAA;AAEE;AACE;UACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AACE;YACF;AAAA;UAEF;AAAA;AACF;AAEE;QACF;AACA;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;AAEE;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;cACF;AAAA;YAEF;AACE;AACA;AACA;AACE;AACA;cACF;AAAA;YAEF;AAAA;AACF;AACF;AAEF;AACE;AACA;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;UACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AACE;YACF;AAAA;AAEA;AACA;AACE;YACF;AAAA;UAEF;AAAA;AACF;MAEF;AACA;AACE;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;MAEF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACE;AACA;QACF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AACA;IACF;AACA;EACF;AA5TA;AAAmH;AA6TnH;AC7TA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAMA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;EACJ;AACA;AAjDA;AAAkG;AAkDjD;AClDjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;MACF;AACA;IACF;EACF;AACA;AACE;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;IAEJ;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;AAEF;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACI;AACJ;AACE;AACA;MACF;AACA;IACF;EACF;AACA;AACE;AAAuB;AAErB;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE3B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AAAwB;AAEtB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;AACE;AAAY;EAEhB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AAAW;AAEX;AAAY;AAEZ;AAAY;AAChB;AACF;AAEA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACE;AACE;MACF;IACF;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAEF;AACE;AAAuB;AAErB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AArZA;AAAqG;AAsZrG;ACtZA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AAAe;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AAAW;MAEf;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;AAEb;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;AAEb;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAlHA;AAA+G;AAmH/G;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AA/FA;AAA0G;AAiG1G;ACjGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACI;AAEI;IACJ;AAEI;IACJ;AAAA;AAGA;EACJ;AAAA;AAEI;EACJ;AAAA;AAEA;AAGA;AACA;AACA;AACA;AACI;AACI;IACJ;AAAA;EAEJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAUA;AACI;AAEI;IACJ;AAAA;EAEJ;AAAA;AAEA;AACI;EACJ;AAAA;AAKA;AAGA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;A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7G;AC7CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AA3BA;AAAoI;AA4BpI;AC5BA;;AAAA;AACI;AAAY;AAAe;AA2B/B;AACA;AACI;AACI;AAAU;EAElB;AAAA;AAjCA;AAAkG;AAmC1D;ACnCxC;;AAAA;AACI;AAAY;AAAe;AAgB/B;AASA;AACI;AACA;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AACJ;EAEJ;AAAA;AAEI;AACI;AAAY;EAEpB;AAAA;AA5CA;AAAkG;AA8CxD;AC9C1C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAmC;EAErC;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;AAAW;AAEX;AACE;AAAY;AAEZ;AACE;AAAkD;AAEpD;AAAuC;AAEvC;AACE;AAAkD;AAEpD;AAA6C;AAE7C;AACE;AAAkD;AAEpD;AAAwD;AAExD;AACE;AAAkD;AAEpD;AAAiD;AAEjD;AACE;UACF;AAAA;AAEA;AAA8D;AAE9D;AADK;IAGX;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AAhJA;AAAqH;AAiJrH;ACjJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACE;AAAkC;AAEhC;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;MAEF;AACA;AACE;AACA;AACE;QACF;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACE;UACF;AAAA;AAEF;AACE;QACF;MACF;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AAtFA;AAAqH;AAuFrH;ACvFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACE;AAAW;AAEb;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;AACE;AACA;UACF;AAAA;AAEF;AACA;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AAEE;AACE;AACA;AACE;YACF;AAAA;AACF;AAEF;AACA;MACF;AACA;AACE;AACE;AACE;AACE;YACF;UACF;AAAA;MAEJ;AACA;AACE;AACE;AACE;AAAe;AAEf;AADK;MAGX;AACA;AACA;AACA;IACF;AACA;EACF;AAhHA;AAA+H;AAiH/H;ACjHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACE;QACF;MACF;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AACA;AACE;MACF;IACF;AACA;AACA;EACF;AACA;AAhDA;AAAgH;AAiDhH;ACjDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAU;AAEZ;AACE;AACA;AACE;IACF;AAAA;AAEE;AACA;IACF;AACA;EACF;AACA;AAvDA;AAA2G;AAwD3G;ACxDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;AACE;AAAY;AAEZ;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AACE;UACF;QACF;AACA;AACA;AACE;QACF;MACF;IACF;AACA;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AAAoC;AACrC;AAEH;EACF;AACA;AA9EA;AAAqH;AA+ErH;AC/EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AAAkB;AAEhB;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AAbA;AAAsG;AActG;ACdA;;AAAA;AACI;AAAY;AAAe;AAI/B;AACA;AACA;AACA;AACA;AAAuC;EAAoB;AAAkB;EAAa;AAC1F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAjBA;AAAkG;AAkBhE;AClBlC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;EACF;AACA;AAjDA;AAAqH;AAkDrH;AClDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAXA;AAA2G;AAa3G;ACbA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AAAe;AAEb;AACE;MACF;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;AACE;MACF;IACF;AACA;EACF;AACA;AAvBA;AAA2G;AAwB3G;ACxBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAa;AAEb;AACA;AACA;AAAU;AAEZ;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AAA6D;AAE7D;AACA;AAA8D;AAEhE;AACE;AACA;AACA;AAAU;AAEV;AACA;AACA;AAAU;AAEV;AACA;AACA;AAAO;AAEP;AACA;AACA;AAAO;AAEP;AACA;AACA;AAAU;AAEV;AACA;AACA;AAAU;AAEV;AACA;AACA;AAAU;AAEV;AACA;AAA8C;AAE9C;AACA;AAAwC;AAExC;AACA;AAA0C;AAE1C;AACA;AAAoD;AAEtD;AACA;AACA;AACA;AACE;AACA;AACA;EACF;AAAA;AApGA;AAA0M;AAsG1M;ACtGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAAsG;AAU/D;ACVvC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAEI;AAEA;AAEA;IACJ;AAAA;EAEJ;AACA;AAbA;AAAkG;AAclD;ACdhD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;IACF;AAAA;AAEE;AACE;AACA;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;AAAsC;AAEtC;AAA8E;AAE9E;AAAwE;AAE5E;AACE;AACA;AACA;AACA;AACE;AAAoC;AAEtC;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;IAEJ;AACA;AACE;AACI;AACF;AAAyD;AAE7D;AACE;AACI;AACF;AAA4D;AAEhE;AACE;AACA;AACE;AACE;QACF;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;AAAiC;AAEnC;AACE;AAA+B;AAEnC;AACE;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;AACE;AAAgB;AAElB;AACA;AACA;AACE;AAAgB;AACpB;IAEF;AACA;AACE;IACF;AACA;EACF;AACA;AAvIA;AAA0H;AAwI1H;ACxIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AA7CA;AAA2G;AA8C3G;AC9CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AAJA;AAAsG;AAKtG;ACLA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACE;AACA;AACA;QACF;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;EACF;AA9DA;AAAgH;AA+DhH;AC/DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;AACA;EACF;AACA;AAhBA;AAAgH;AAiBhH;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACE;AACA;AACA;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AAA4B;AAC7B;AAEH;EACF;AACA;AA7EA;AAAqH;AA8ErH;AC9EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAMA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;EACJ;AACA;AAjDA;AAAkG;AAkDjD;AClDjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AAAe;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AAAW;MAEf;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;AAEb;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;AAEb;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAlHA;AAAgH;AAmHhH;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AA/FA;AAA2G;AAiG3G;ACjGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACA;AACE;AACA;AACE;AACA;AAAoC;AACrC;AAEH;EACF;AACA;AACA;AACE;AAA+B;AAE7B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AA5DA;AAAgH;AA6DhH;AC7DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AAOA;AATA;AAAsG;AAUjE;ACVrC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;IACF;EACF;AAAA;AAfA;AAAsG;AAiBtG;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAkC;AAEpC;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;AACA;AAA4B;AAC7B;AAEH;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAM;IAEV;AACA;AACE;AACA;AACE;AAAuC;AAE3C;AACE;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACA;AACA;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;AACE;QACF;MACF;AAAA;AAEF;AACE;AACE;AACA;AACE;AACA;QACF;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AACF;AACF;AAEE;AACE;IACF;AAAA;AACF;AAEE;AACE;AACA;AACE;MACF;AAAA;EAEJ;AAAA;AAEA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEA;EACF;AAAA;AArS8I;AAsS9I;ACtSA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAsB;AAExB;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAEE;AACA;AACA;AAAqC;AAEvC;AACE;AACA;AACA;AAAqC;AApCvC;AAA0H;AAsC1H;ACtCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AAhFA;AAAgH;AAiFhH;ACjFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AA9BA;AAA0H;AAgC1H;AChCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AA3CA;AAAmJ;AA6CnJ;AC7CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AANA;AAAsG;AAQtG;ACRA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAsG;AAAzB;ACA7E;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAAsG;AAI/D;ACJvC;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAA8B;AAEhC;AACE;AACA;AAA2B;AAE7B;AACE;AACA;AACA;IACF;AAAA;EAEF;AAxBA;AAAsI;AAyBtI;ACzBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AANA;AAAsG;AAQtG;ACRA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAsG;AAAjB;;oHCmCxE,OAAO;;;;yBAjCX,aAAa;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AAc;AACb;QACD;AAAA;AAGD;AAEC;AAAc;AAAS;AAEvB;AACC;QACD;AAAA;AAGC;AACA;QACD;AAAA;AAMA;AAEA;AACC;QACD;AAAA;AAIA;AACC;AACA;AACA;AACA;AAAS;AAGV;AACC;AACA;QACD;AAAA;AAIA;AACC;AAEA;AACC;AAEA;AAEA;AAEA;AACA;AACA;UACD;AAEA;AACC;AACA;AACA;AAAmB;QAErB;AAEC;AAEA;AAEA;AAEA;AAEA;AACA;QACD;AAAA;AAGD;AACC;AACA;MACD;AAEA;AACC;AAEA;AAEA;AAEA;AACC;AACC;UACD;AAAA;QAGD;AAAA;AAGC;AACC;UACD;AAAA;AAGA;AAEA;AACC;AACC;AACA;AACA;AACA;AAED;AAEA;AAEC;AAEA;AAEC;cACD;AAAA;AAGC;cACD;AAAA;AAIA;AAEA;AACC;AACC;gBACD;AAAA;AAGC;AACA;AACA;AACA;AACA;AAED;AAEA;AACC;gBACD;AAAA;AAIA;AAEA;AACC;gBACD;AAAA;cAGD;AAAA;AACD;AACD;AACD;MAGD;AAEA;AACC;AAEA;AACC;AAEA;AAEA;QACD;AAEA;AACC;AAEA;AACC;UACD;AAAA;AAEc;AACb;UACD;AAAA;AACD;AACD;AAGD;AACC;AACA;AACA;IACD;AAEA;AACC;AACC;MACD;AAAA;AAGC;AACC;QACD;MACD;AAAA;AAGC;AACA;AACA;AACA;AACA;AACA;AACA;AAAa;AAGd;AACC;MACD;AAAA;AAGC;AACA;MACD;AAAA;AAIA;AAEA;AACC;MACD;AAAA;IAID;AAEA;AACC;AAEC;MACD;AAAA;AAGC;AACI;AACA;AACA;AAEJ;AACA;AACC;QACD;AAAA;AAGD;IACD;AAAA;AAKA;AAEA;AACC;AAEA;AACC;MACD;AAAA;AACD;EAIA;AAEA;AACC;EACD;AAAA;AAIC;EACD;AAAA;AAQC;AACA;AACA;AACA;AACA;AACC;AACA;AACC;AACC;AACA;AACC;AACA;AAA0B;AAC3B;AAED;AACC;AACA;AAEA;AAED;AACA;AACC;AACA;AAEA;AACD;AAED;AAED;AAA4B;AAI7B;AAEC;AACC;IACD;AAAA;AAGD;AACA;AACA;AACA;AAOA;AACC;AACA;AACC;AACA;AAGA;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AAAwB;AAGzB;AAEA;AACC;AAEE;AACA;AACA;AACA;AAAoB;AAItB;AAEE;AACA;AACC;AACC;AACA;AAAwC;AAEzC;AACA;AACC;AACA;AAA0B;AAC3B;AAED;AAAoB;EAGvB;AAAA;AAOC;AAEE;AACA;AAAe;AAGf;AACA;AAAe;AAGjB;AACA;AACC;AACA;AACA;AAEA;AAED;AACA;AACA;AACA;AACA;AACA;AAA6B;AAQ9B;AACC;AACA;AAEA;AAAkE;AAGnE;AAEE;AACA;AAAe;AAIjB;AAEE;AACA;AACC;AACC;AACA;AACC;AACC;AACA;AAAmB;AAEpB;AAA+B;AAChC;AAED;AAAkB;AACnB;AAIF;AACC;AAEE;AACA;AACA;AACA;AAA2B;EAG9B;AAAA;AAQA;AACC;AACC;IACD;AAAA;AAIC;AACC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAmB;AAGpB;AACC;AACC;AAEA;AAAc;AACd;AACA;AACC;UACD;AAAA;AAGC;UACD;AAAA;AAGC;AACA;UACD;AAAA;AAGA;AAEA;AAEA;AAEA;AAEA;AAEA;AAEA;AACC;AAEC;AACC;AAEA;cACD;AAEC;cACD;AAEC;cACD;AAAA;AACD;AAGD;QACD;MACD;AAAA;AAID;EAED;AAGA;AACA;AACC;AACA;AAAsE;AAEvE;AAEA;AACC;AAEE;AACA;AACA;AAEA;EAGH;AAAA;AAGA;AACC;AACA;AACA;AAA8D;AAG/D;AACC;AAGC;AACA;AACA;AACA;AAEC;AACC;AACA;AAAe;AAGhB;AACC;AACA;AACA;AAAe;AAChB;AACD;AAGD;AAA0G;AAG3G;AACA;AAGA;AACA;AACC;AACA;AACA;AAAwJ;AAGzJ;AAEE;AACA;AAAe;AAIjB;AACA;AACC;AACA;AAIA;AAA0C;AAG3C;AAEE;AACA;AACA;AACA;AAGE;AACA;AACA;AAAe;AAEjB;AAKF;AAcA;AACC;AACA;AACA;AACC;AACA;AAAe;AAChB;AAKD;AAEE;AACA;AACA;AAAe;AAIjB;AACC;AACA;AACA;AACC;AACA;AACA;AAEA;AACD;AAID;AAEE;AACA;AAAe;AAKjB;AAIC;AACC;AACC;MACD;AAAA;AAIA;AACA;AACC;AAEA;MACD;IACD;AAGA;AACC;AACC;AACA;MACD;AAAA;AAID;AACC;AACC;MACD;AAAA;AAEgB;AAEf;MACD;AAAA;IAGD;AAGA;AACC;AACC;MACD;AAAA;AAID;AACC;AACC;AACA;AAA6B;AAE9B;AAA6B;EAE/B;AAAA;AAIA;AAGA;AACI;AACC;AACA;AAAgB;AAGrB;AACC;AACA;AAOE;AACA;AAEA;AAGF;AACA;AACC;AACA;AAAgB;AACjB;AAGD;AACC;AACC;AACA;AAAe;AAIhB;AACC;AACA;AACA;AACC;AACA;AAA6B;AAC9B;AACD;AAGD;AACC;AACC;AACA;AACC;AACC;AACA;AAAmB;AAEpB;AAA+B;AAChC;AAID;AAEE;AACA;AAAc;AAGd;AACA;AACA;AAEA;AAEF;AAID;EAKA;AAEA;AACA;AACC;AACA;AACA;AACA;AACA;AACA;AAAkC;AAEnC;AAGA;AACA;AACC;AACC;AACA;AAAe;AAEhB;AACA;AACA;AACA;AAIC;AACA;AAEA;AAGD;AAEA;AAMA;AAEA;AACA;AACA;AAA8B;AAI/B;AACA;AACC;AACA;AACA;AACC;AACA;AAAe;AAChB;AAGD;AACA;AACC;AAEA;AACA;AACA;AACA;AACA;AAIE;AACA;AAAe;AAGjB;AAAmC;AAGpC;AACA;AAEC;AACA;AAKA;AACA;AACA;AACA;AACA;AAAoC;AAGrC;AACA;AACC;AAGE;AACA;AAAe;AAGf;AACA;AAAe;AAIjB;AA0BA;AAuBE;AACA;AAAe;AAKf;AACA;AAAe;AAKf;AACA;AAAe;AAKf;AACA;AAAe;AAKf;AACA;AAAe;AAKf;AACA;AAAe;AAWjB;AAeA;AAEC;AACA;AAAc;AAEf;AAEC;AACA;AAAc;AAEf;AACC;AACA;AAEA;AAED;AACA;AACA;AACA;AAA4B;AAI7B;AACA;AACC;AACC;AACA;AAAc;AAEf;AACC;AACA;AAAe;AAEhB;AACA;AACC;AACA;AAAe;AAEhB;AACC;AACA;AAAe;AAEhB;AACA;AACA;AACA;AACA;AAA8B;AAI/B;AACA;AACC;AACA;AACA;AAGC;AACA;AAAgB;AAEjB;AACA;AACA;AAIA;AACA;AACA;AAA4B;AAG7B;AAOA;AACC;AACC;AACA;AAAqQ;AAGtQ;AACC;AACA;AACC;AACC;AACA;AAAW;AAEZ;AAA2C;AAC5C;AAGD;AACC;AAEE;AACA;AAEA;AAGA;AACA;AAEA;AAIA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAAe;AAGjB;AACA;AAA6C;AAG9C;AACC;AACA;AAA4C;AAG7C;AAEE;AACA;AAEA;AAGA;AACA;AAEA;AAIA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAEA;AAGA;AACA;AAEA;EAGH;AAEA;AACA;AACC;AAIG;AACA;AAEC;AACE;AACA;AAAe;AAIjB;AAEA;AAEA;AAA6B;AAC9B;AAIA;AACA;AAEA;AAMH;AACC;AACC;AACA;AAAiB;AAElB;AACC;AACA;AAAe;AAEhB;AAGE;AACA;AACA;AAAmB;AAGnB;AACA;AAAmB;AAGrB;AAEA;AACC;AACA;AAAe;AAEhB;AACC;AACA;AAAe;AAEhB;AACC;AACA;AAAe;AAEhB;AACA;AAA4C;AAG7C;AACA;AACA;AACA;AACA;AACA;EACD;AAEA;AAEA;AACC;AACC;AACA;AAEE;AACA;AAEE;AACA;AAAgB;AAGlB;AAEF;AAED;AACA;AACA;AACA;AACA;AAA2iB;AAE5iB;AAEA;AACA;AACC;AACA;AACA;AAAkE;AAInE;AACA;AACC;AACA;AACA;AACA;AACA;AAAwB;AAEzB;AACA;AAl/CA;AAAkG;AAm/ClG;;;;;ACn/CA;AAAA;AACI;AAAY;AAAe;AAA/B;AAOA;AAAC;AAMD;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;AAGhB;AACA;AACA;AAIA;AAMA;AAIA;AAKA;AAOA;AAaA;AAMA;AACE;AACA;AACA;AAA+C;AAGjD;AAUA;AACE;AACA;AAAiE;AAOnE;AACE;AACA;AACA;AACA;AAEA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;AAYA;AACE;AACA;IACF;AAMA;AACE;AAMA;IACF;AAMA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEJ;AAEE;AACE;AACA;AACE;UAGF;AAAA;AACF;AAIE;AACA;AACA;AACE;AACA;AAEM;AAER;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAiB;AAEnB;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAW;AAEb;QACF;AAAA;AAIE;AAEA;AACE;AACA;AACA;AACA;AAA2C;AAG7C;AACE;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACF;AAGE;UACF;AAAA;AAIA;QACF;AAAA;AAIE;AACA;AACE;AACA;AACA;AAAW;AAEb;QACF;AAAA;AAIE;AACA;AAGA;QACF;AAAA;AAIE;AAEA;AAIA;AAKA;AAEA;AAIA;QACF;AAAA;AAIE;AACA;AAEA;AACE;AACA;AAAuB;AAIzB;AAEA;AACA;AACA;AAEA;AACE;AAIA;AACA;AAIA;AACE;AACA;YAGF;AAAA;AAKE;AACA;AACE;AACA;cACF;AAAA;AACF;AAMA;AACE;AACA;AAAY;AAAY;AAC1B;AASA;AAEA;UAGF;AAAA;AAMA;QACF;AAAA;AAIE;AACA;AACE;AAGA;AAEA;AAAW;AAEb;QACF;AAAA;AAIE;AACA;AACE;AACA;AAAY;AAEd;QACF;AAAA;AAIE;AAEA;AACE;AACA;AACA;AACA;AAAsD;AAGxD;AACE;AACE;YACF;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACF;AAGE;UAGF;AAAA;AAIA;QACF;AAAA;AAIE;AACA;AACE;AACA;AAES;AAEX;QACF;AAAA;AAKE;AACA;AACE;AACA;AAAW;AAEb;QACF;AAAA;AAGE;QAEF;AAAA;AACF;IAGF;AAMA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAyC;AAG3C;AACA;AAEA;AAKA;AAQA;AAMA;AACE;AACA;AAA6D;AAO/D;AACE;AACA;AACA;AACA;AAGG;AAOL;AACE;AACA;AAA4C;AAO9C;AACE;AACA;AACA;AACA;AACA;AAEA;AACE;MAEF;AAAA;AAGE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAYA;AACE;AACA;IACF;AAMA;AACE;AACI;AACA;AACA;AACA;AAEJ;AAEE;AACE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACE;AAGA;UACF;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;AAIE;AACA;AACA;AACA;AACA;QACF;AAAA;AAIE;AACE;UACF;AACE;UACF;AAAA;AAEA;AAKA;QACF;AAAA;AAIE;AACA;AACA;AACE;AACA;AAAY;AAEd;AACA;QACF;AAAA;AAKE;AACA;AACA;AACA;AACE;AACA;AACA;UACF;AAAA;AAEA;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAIE;AACA;AACA;QACF;AAAA;AAGE;QAEF;AAAA;AACF;IAGF;AAMA;AACE;AACI;AAEJ;IAGF;AAMA;AACE;AAA+B;AAAW;IAgB5C;AAMA;AACE;AAA0B;AAAW;AAEjC;AACA;AACA;AAEJ;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAGF;AAMA;AACE;IACF;AAAA;AAGE;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;AAGE;MAGF;AAAA;IAQF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IAUF;AAEA;AACE;IACF;AAEA;AACE;AACA;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IAQF;AAEA;AACE;IACF;AAEA;AACE;AACA;AAGA;IACF;AAGA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;IACF;AAEA;AACE;AACE;AACE;QAGF;AACE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEA;AACE;MACF;AAAA;AAEA;IACF;AAEA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AAEA;AACE;IACF;AAMA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAOE;AACA;IACF;AAMA;AACE;AACA;AAEA;AACA;AACE;MACF;AAAA;IAGF;AAMA;AACE;IACF;AAMA;AACE;IACF;AAMA;AACE;AAEA;AACE;MACF;AAAA;IAGF;AAMA;AACE;AACE;AAAc;AACZ;UACF;AAAA;AACW;AACT;UACF;AAAA;AACgB;AACd;UAIF;AAAA;AACa;AACX;UAGF;AAAA;AACc;AACZ;AACI;AACA;AACA;AACA;AACA;AACA;AAGJ;AACA;AACE;AAAU;AAAc;AAAyB;AACjD;AAEI;AAAc;AAAyB;YAE7C;AAAA;AAGA;AACE;AAEA;AACA;AACE;AAEI;AAAe;AAAyB;cAE9C;AAAA;YAGF;AAAA;UAEF;AAAA;AACyB;AACvB;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AACmB;AACjB;AACI;AAEJ;AACE;YACF;AAAA;UAGF;AAAA;AACwB;AACtB;AAEA;AACE;YAGF;AAAA;UAGF;AAAA;AACyB;AACvB;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AACa;AACX;AAGA;UACF;AAAA;AACkB;AAChB;UACF;AAAA;AACa;AACX;UACF;AAAA;IAEJ;AAMA;AACE;IAMF;AAAA;AAGE;AACE;AACA;AAAmB;AAAU;AAE3B;QAGF;AAAA;MAEF;IACF;AAAA;AAGE;AACA;AACA;AACE;AAAW;AAA6B;AAExC;AACA;AACA;MACF;IACF;AAAA;AAEiB;AAGjB;AACE;AACI;AACA;AAEJ;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AACF;IAGF;AAAA;AAQE;AACE;AACE;AACA;QACF;AAAA;AAIA;AACI;AACA;AACA;AAEJ;AACE;QACF;AACE;QACF;AAAA;AAIA;AACE;AACE;AACA;UACF;AAAA;AAIA;AACE;UACF;AACE;UACF;AAAA;AAIA;QAGF;AAEA;AACE;QACF;AAAA;AAIA;AAAc;AAAa;AAGzB;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;AACE;AAEA;AAIE;AACE;QACF;AAAe;MAGjB;AAEE;MACF;AAAA;AAKF;AAIE;AACA;AAgCA;AACE;AAAO;AAGP;AACE;YACF;AAAA;AAGE;YACF;AAAA;AAIE;AAEA;AACE;AACA;cACF;AAAA;AACF;AAGE;AACA;YACF;AAAA;AAGE;YACF;AAAA;AAGF;AACA;AAGA;AAUE;AAUA;AASA;AASA;AAgBA;AAKA;AAAW;AAIb;AAEE;AACE;AACA;YACF;AAEA;AACE;AACE;cACF;AAAA;AAGF;AACE;AACA;YACF;AAEA;AACE;AACA;YACF;AAGA;AACE;AACE;AAAgB;AAA2B;AAA4B;AAAE;AAG3E;YACF;AAGA;AACE;AAA4C;AAAQ;AAAM;AACxD;AACA;AACA;AAEA;AACE;AACA;AAA+C;YAErD;AAGA;AACE;AAAY;AAAQ;AAAM;AAE1B;AACE;AACA;AACA;cACF;AAAA;YAGF;AAGA;AACE;AACE;AAA4B;gBAAc;AAAA;cAE5C;AAAA;YAEF;AAGA;AACE;AAAO;AAEP;AAAgB;cAAY;AAAA;AAG1B;AACE;AACE;kBACF;AACE;kBACF;AAAA;AACF;AACF;YAGF;AAEA;AACE;AACE;AACE;AAEF;AACE;gBACF;cACF;YACF;AAAA;AAMJ;AACA;AAIA;AAkBE;AACE;AAAU;AAAQ;AAElB;AACE;AACA;AACA;UACF;AAAA;AAGE;AACE;AACA;AACA;AACA;AACA;AACA;AAAmF;AAGrF;AACA;AAEA;AACE;AACA;YACF;AAAA;AAIA;AACE;YACF;AAAA;AAGE;YACF;AACE;YACF;AAAA;AAIA;AACA;AAEA;AACE;YACF;AAAA;AACF;AAgBF;AACE;AACA;QACF;AAcA;AACE;AACA;AACA;AACA;AACA;AACA;QACF;AAWA;AACE;AACE;AAGF;AACA;AACA;AACA;AAeA;AAaA;AAaA;AAaA;AAaA;AAaA;AAaA;AAaA;AAGA;AACA;AAGA;AAGA;AAGA;AACE;AACA;UACF;AAAA;AAME;AACA;AAGA;AACA;AACA;AAEA;AACE;YACF;AAAA;AAGE;AACE;cACF;AAAA;AACF;AAGE;AAEA;AACE;cACF;AAAA;YAGF;AAAA;AACF;QAGF;AAaA;AACE;AACE;AAEF;AACE;UACF;AAAA;AAGE;UACF;AAAA;AAGA;AACA;AACA;AAEA;QACF;AAaA;AACE;AAAgB;AAAO;AAAO;AAAW;AAAO;AAC9C;AACA;AAEF;AACE;UACF;AACE;UACF;AAAA;AAIA;AAAsC;UAAc;AAAA;AAGpD;AACA;AAEA;AACA;AACA;AAEA;AACA;AACA;AACA;AACA;AAEA;QACF;AA0BA;AACE;AAEA;AACE;AACA;AACA;AACA;UACF;AAAA;AAGE;UACF;AAAA;AAGE;UACF;AAAA;QAGF;AAoBA;AACE;AAAO;AAAO;AAAQ;AACpB;AAEF;AACE;UACF;AAAA;AAGE;AACE;AACE;cACF;AAAA;AACF;AACF;AAKE;UACF;AAAA;AAGE;AACA;AAEA;AACE;AACA;AAEA;AACE;AACA;cACF;AACE;AACA;AACA;cACF;AAAA;AAEA;AAEA;AACE;AACA;cACF;AAAA;AAGA;AAEA;AACA;AACA;AAEA;AACA;YACF;AAAA;AAGA;AAEA;AACE;YACF;AAAA;UAGF;AAAA;AAmBF;AACE;AACA;AACA;QACF;AAmBA;AACE;AAAO;AAAQ;AAAK;AAAQ;AAAQ;AAAQ;AAAQ;AAClD;AACA;AAEF;AAAkB;UAAqB;AAAA;AAIvC;AAEA;AAEA;AACE;AAGA;AACE;AACA;AAEA;AACE;AACE;AACA;gBACF;AACE;gBACF;AAAA;AAGA;cACF;AAAA;AAGE;AAAe;AAAsB;AAAW;AAAG;cACrD;AAAA;AAIA;YACF;AAAA;AACF;AAIE;AACE;YACF;AACE;AACA;YACF;UACF;AAAA;QAGF;AAeA;AACE;AACE;UACF;AAAA;AAoBF;AACE;AACE;AAEF;AAEA;AACE;AACA;AACA;AACA;AACE;YACF;AAAA;AACF;AAGE;UACF;AAAA;AAiBF;AACE;QACF;AAaA;AACE;AACA;AACA;AACA;QACF;AAQA;AACE;AAAuB;UAAQ;AAAA;AAG/B;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;QAET;AAOA;AACE;AAAe;AAAO;AAAY;AAChC;AAEF;AACE;UACF;AAAA;AAGE;AACA;AAA2C;YAAuB;AAAA;AAElE;AACE;AACA;AAAkC;AAA2B;AAG3D;AACA;AACA;AAEA;AAA+C;AAAkB;AACd;AAAsB;AAIzE;AACE;AAAkC;kBAAwB;AAAA;AAE1D;AAAkC;kBAAwB;AAAA;AAC5D;AAEA;cACF;AACE;AACA;cACF;AAAA;AACF;AACF;AAOF;AACE;AAAO;AAEP;AACE;AACE;YACF;AAAA;AAGA;UACF;AAAA;AAOF;AACE;AAAkB;AAChB;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAAO;AAGX;AACA;AACE;AAAM;AAGN;AACA;AAEA;AACE;AACA;AACE;AACE;AACA;kBACF;AAAA;AACF;AACF;AAIA;AACE;cACF;AACE;cACF;AAAA;AAGE;AACA;AACA;cACF;AAAA;AACK;AAEL;AACE;AACA;AACA;cACF;AAAA;AAGF;AACE;AACE;AACE;gBACF;AAAA;AACF;AAGA;AACE;AACA;cACF;AAAA;AACK;QAET;AAMA;AACE;AACE;AACA;AAEA;AACE;AACE;gBACF;AAAA;AAGE;gBACF;cACF;AAEF;AACE;UACF;AAAA;AAIA;AACA;AAEA;AACE;AACE;YACF;AAAA;AACF;AAOF;AACE;AAAY;AAAQ;AAClB;AAEF;AAEE;UACF;AAAA;AAGE;UACF;AAAA;AAGA;AACA;AAEA;AACE;AACA;UACF;AACE;UACF;AAAA;AACF;AAaF;AACE;AAAY;AAAS;AACnB;AAEA;AACE;AACA;AACA;AAAW;AAGb;AACE;AAAY;AAAU;AAAc;AAClC;AAEF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAgE;AAGlE;AAEA;AACE;AACA;kBACF;AAAA;AAGE;AACA;AACA;kBACF;AAAA;AAGA;AAAK;AAEL;AAEA;AACE;AACE;AACA;AAAsB;kBAE1B;AAAA;AAMA;AAA6E;AAAA;AAG7E;AACA;AAAK;YAET;AAEF;AAIA;AACE;AACA;AACA;AAAgB;AAGlB;AACA;AACA;AAEA;AACE;AACA;AACE;AACA;AACA;AACA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AAU,EAAE,WAAW,CAAC;AACjC,kBAAQ,kHAIP;AACD,oBAAU,EAAE,CAAC,eAAe,CAAC;AAC7B,gBAAM,EAAE,0GAQP;SACF,CAAC,CAEW,GAAG,KAAH,GAAG;eAAH,GAAG;;;;;;;ACjFhB;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAA+B;AAE7B;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACE;AAA4B;AAE1B;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEF;AACE;AACE;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AAAU;AACX;AAEH;AACA;EACF;AACA;AA1GA;AAAqH;AA2GrH;AC3GA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAA0B;AAExB;AACE;AAAY;AAEZ;MACF;AAAA;IAEF;AACA;AACE;AACA;AAA0B;AAE5B;EACF;AACA;AArBA;AAAgH;AAsBhH;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAA0B;AAExB;AACE;AAAY;AAEZ;MACF;AAAA;IAEF;AACA;AACE;AACA;AAA0B;AAE5B;EACF;AACA;AArBA;AAAgH;AAsBhH;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AAAqB;AAEnB;IACF;AACA;AACE;AACA;AACE;AACA;AAAU;AACX;AAEH;EACF;AACA;AAlBA;AAA2G;AAmB3G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAAsB;AAEpB;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AAAY;AAEZ;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AAAU;AACX;AAEH;EACF;AACA;AAlCA;AAAqH;AAmCrH;ACnCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAqB;AAEnB;AACE;MACF;AAAA;AAEE;AAAW;AAEX;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgB;AAElB;AACE;AACA;AACE;AACA;AAAS;AACV;AAEH;EACF;AACA;AAjDA;AAA0H;AAkD1H;AClDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;EACJ;AACA;AACA;AACI;AACA;AAEI;AAAkC;AAA8B;AAA+C;AAA+B;AAAgD;AAA+B;AAAgD;AAAwB;AAA0B;AAC/T;AACI;AACA;AACA;AAA2C;AAE/C;AACA;AACI;AACA;MACJ;AAAA;IAEJ;AACA;EACJ;AACA;AACA;AACI;EACJ;AAAA;AAEI;EACJ;AAAA;AAEI;AACA;AAAW;AACX;AACI;AACA;AACI;AAAG;AAEP;AACI;AACI;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACI;;AAEA;AAA+B;AAC9B;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEb;IACJ;AAAA;EAEJ;AAAA;AAEA;AACI;AACA;AAEI;AACA;AACI;MACJ;AAAA;AAEA;AACA;IACJ;AACA;EACJ;AACA;AAxGA;AAAkG;AAyGnE;ACzG/B;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAuB;AAErB;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AAAW;AAEX;MACF;AAAA;AAEI;AACA;AACJ;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;AAAiC;IAErC;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AAAuB;AAEzB;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AAAwB;AAE1B;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AAAyB;AAE3B;EACF;AACA;AAzHA;AAA0H;AA0H1H;AC1HA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAAwB;AAEtB;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AAAwB;AAE1B;EACF;AACA;AA7CA;AAAgH;AA8ChH;AC9CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAA2B;AAEzB;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AAAS;AACV;AAEH;EACF;AACA;AA3BA;AAAgH;AA4BhH;AC5BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AApBA;AAA2G;AAqB3G;ACrBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAA2B;AAEzB;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AAAS;AACV;AAEH;EACF;AACA;AAvBA;AAAqH;AAwBrH;ACxBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAZA;AAAmJ;AAanJ;ACbA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA1BA;AAAwJ;AA2BxJ;AC3BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AAAyD;AAEzD;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAED;AACA;AACE;AACA;AAAiD;AAClD;AAEH;EACF;AACA;AAzHA;AAAoI;AA0HpI;AC1HA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAED;AACA;AACE;AACA;AAAiD;AAClD;AAEH;EACF;AACA;AA7GA;AAAoI;AA8GpI;AC9GA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAED;AACA;AACE;AACA;AAAiD;AAClD;AAEH;EACF;AACA;AA7GA;AAAoI;AA8GpI;AC9GA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AAAyD;AAEzD;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAEH;EACF;AACA;AAjGA;AAAqH;AAkGrH;AClGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AAAe;MAEnB;AAAA;IAEF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAEH;EACF;AACA;AAzIA;AAAyI;AA0IzI;AC1IA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AAjCA;AAAsG;AAkCtG;AClCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AAAsB;MAA8B;IACxD;AAEI;IACJ;AAAA;AACJ;AAEA;AACI;AACI;AAAsB;MAA+C;IACzE;AAEI;IACJ;AAAA;AACJ;AAlBA;AAAkG;AAoBpD;ACpB9C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;EACF;AAAA;AAEA;AACE;AACE;AAAuC;AAEvC;AAAyC;AAE3C;AACA;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;AAAuC;AAEzC;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;AAAY;AAEd;AACE;AAAW;EAEf;AAAA;AAEA;AACE;AACE;AAAW;AAEb;AACA;AACA;AACE;AACE;MACF;AACE;AACE;AAAiE;MAErE;AACE;AACE;AAA+D;MAEnE;AAAA;AAEF;AACE;AAAqB;AAErB;AAAsB;AAEtB;AAAsB;AAExB;EACF;AAAA;AA9FA;AAAmJ;AAgGnJ;AChGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AAAC;AAEH;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AACA;AACA;AACA;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;MACF;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;IAEJ;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;MACF;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AAAiB;AAClB;AAEH;AACE;AACA;AACE;AACA;AAAiC;AAClC;AAED;AACA;AACE;AACA;AAAuC;AACxC;AAEH;EACF;AACA;AAlJA;AAAyI;AAmJzI;ACnJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AAAsB;AAExB;AAAyC;AAC1C;AAEH;AACA;EACF;AACA;AA3CA;AAAgH;AA4ChH;AC5CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AAAsB;AAExB;AAA2C;AAC5C;AAEH;AACA;EACF;AACA;AAzCA;AAA2G;AA0C3G;AC1CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AAAsB;AAExB;AAAwC;AACzC;AAEH;AACA;EACF;AACA;AA7CA;AAAgH;AA8ChH;AC9CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAAqC;AACvC;AACD;AAEH;AACE;AACA;AAAgC;AAElC;EACF;AACA;AAvEA;AAAgH;AAwEhH;ACxEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;AAAiB;AAEjB;AAAgB;EAEpB;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACI;AACF;AACA;AACE;AAAS;AACb;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AAAsB;AAExB;AAAyC;AAC1C;AAEH;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACE;AAAwC;AAC5C;AAEE;AACE;AACE;AAAM;AAER;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;AAA2C;AAE/C;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AAA2B;AAE7B;AACE;AACA;AAAyD;AAE3D;AACE;AACE;AACA;AAAgB;AAElB;AACE;AACA;AAAc;AACf;AAEH;EACF;AACA;AAtIA;AAAqH;AAuIrH;ACvIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAhDA;AAAuK;AAiDvK;ACjDA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAuB;AAErB;MACF;AACA;AACE;AACE;AACE;AAAW;AAEb;AACI;AACA;AAAuB;QAE7B;MACF;AACA;AACE;AACE;AACE;AAAW;AAEb;AACI;AACA;AAAuB;QAE7B;MACF;AACA;AACE;AACE;AACE;AAAW;AAEb;AACA;AACI;AACA;AAAe;QAErB;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AAAW;AAEb;AACE;AAAW;AAEX;QACF;MACF;AACA;AACE;AACE;AAAW;AAEb;AACE;AAAW;AAEX;AACA;QACF;MACF;AACA;IACF;AACA;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;IACF;AAAA;AAEE;AACE;MACF;IACF;AAAA;AAEE;AACE;MACF;AACA;IACF;AAAA;AA9FF;AAA+H;AAgG/H;AChGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AAAU;AAEZ;AACE;AAA8B;AAE5B;AACA;AACE;AACA;AAAsC;AACvC;AAEH;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACA;AAAwC;AACzC;AAEH;AACE;AACA;AACE;AACA;AAAkB;AACnB;AAEH;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACA;AAAwC;AACzC;AAEH;AACE;AACA;AACE;AACA;AAAkB;AACnB;AAEH;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACA;AAAqC;AACtC;AAEH;AACE;AACA;AACE;AACA;AAAgB;AACjB;AAEH;EACF;AACA;AAnHA;AAAgH;AAoHhH;ACpHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACE;AAAW;AAEX;IACF;AAAA;AAEE;AAAW;AAEX;AACE;MACF;AACE;AACA;MACF;AACE;MACF;AAAA;EAEJ;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACI;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;AACA;AAAmB;MAEvB;AAAA;AAEF;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;QACF;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;AACE;AAAsB;AAEtB;AAAsB;AAEtB;AAAsB;IAE1B;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACE;AACA;AAAe;AAEjB;IACF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACA;AACA;AACE;AAA2B;AAE3B;AACA;AAAmB;IAEvB;AACA;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACA;AAAe;IAEnB;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;AACA;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AAAe;IAEnB;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;EACF;AACA;AA1bA;AAAqH;AA2brH;AC3bA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAAwB;AAEtB;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AACE;AACA;AACA;AACA;MACF;AACE;MACF;AAAA;AAEF;AACA;EACF;AACA;AA/DA;AAAqH;AAgErH;AChEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AAMA;AARA;AAAsG;AAUrD;ACVjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AAAqC;AAEnC;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AAvEA;AAA2G;AAwE3G;ACxEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AApCA;AAA2G;AAqC3G;ACrCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AAAU;AAEZ;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACE;QACF;AAAA;IAEJ;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AAAsB;AAExB;AAAwC;AACzC;AAEH;AACA;AACA;EACF;AACA;AApGA;AAA0H;AAqG1H;ACrGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AArDA;AAAqM;AAsDrM;ACtDA;;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAkG;AAGnD;ACH/C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;AAEA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;AACA;AACE;AACE;AACE;UACF;QACF;AACE;AACE;UACF;QACF;AACE;AACE;AACE;AAAyC;QAE/C;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;AACA;AACI;AACF;UACF;AAAA;AAEA;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACA;AAAqD;AACtD;AAEH;AACA;EACF;AACA;AAxIA;AAAgH;AAyIhH;ACzIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;AAA2B;AAC/B;AAEF;AACE;AACA;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AAAA;AAEI;AACF;AACA;AACA;MACF;AAAA;AAEE;AACA;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AACE;AACA;AACE;AACA;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;AACA;AAAmD;AACpD;AAEH;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AApKA;AAAgH;AAqKhH;ACrKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AAAe;AAChB;AAEH;AACA;EACF;AACA;AAjCA;AAA2G;AAkC3G;AClCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACA;AAAuC;AAEzC;AACA;AACA;EACF;AACA;AA5BA;AAA2G;AA6B3G;AC7BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AAA4B;AAC7B;AAEH;AACA;EACF;AACA;AArDA;AAA2G;AAsD3G;ACtDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACA;AACE;AACA;MACF;AACE;AACE;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AACE;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAM;AAER;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AAAmB;AACpB;AAEH;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACA;AAAuB;AACxB;AAEH;AACE;AACA;AAAgC;AAElC;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AAAsC;AAExC;AACE;AACA;AAAgC;AAElC;EACF;AACA;AAjJA;AAAgH;AAkJhH;AClJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AAA2B;EAE7B;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACA;AAAmC;AAErC;AACE;AACA;AACE;AACA;AAAqB;AACtB;AAEH;EACF;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AAA+C;IAEnD;AACA;AACE;AACE;AAA0B;AAE9B;AACE;AACE;AAAM;AAER;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AAA+B;AAEjC;AACA;AACE;AACE;AACA;AAAmB;AAErB;AAAiC;AAEnC;EACF;AACA;AAjGA;AAAqH;AAkGrH;AClGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAAoI;AAUpI;ACVA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA3BA;AAA8I;AA4B9I;AC5BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AAJA;AAA2G;AAK3G;ACLA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AAAU;IAEd;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AAAwC;AACzC;AAEH;EACF;AACA;AAzEA;AAA0H;AA0E1H;AC1EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAMA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;EACJ;AACA;AAjDA;AAAkG;AAkDjD;AClDjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;MACF;AACA;IACF;EACF;AACA;AACE;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;IAEJ;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;AAEF;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACI;AACJ;AACE;AACA;MACF;AACA;IACF;EACF;AACA;AACE;AAAuB;AAErB;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE3B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AAAwB;AAEtB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;AACE;AAAY;EAEhB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AAAW;AAEX;AAAY;AAEZ;AAAY;AAChB;AACF;AAEA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACE;AACE;MACF;IACF;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAEF;AACE;AAAuB;AAErB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AArZA;AAAsG;AAsZtG;ACtZA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AAAe;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AAAW;MAEf;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;AAEb;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;AAEb;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAlHA;AAAgH;AAmHhH;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AA/FA;AAA2G;AAiG3G;ACjGA;;AAAA;AACI;AAAY;AAAe;AAyB/B;AACI;AACA;AAEmB;AAAmB;MAAa;AAC/C;AACA;AAAiB;AAErB;AACmB;AAAmB;MAAa;AAC/C;AACA;AAAiB;AAErB;AACmB;AAAmB;MAAa;AAC/C;AACA;AAAiB;AAErB;EACJ;AACA;AA9CA;AAAkG;AA+CtD;AC/C5C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AAAwC;AACzC;AAEH;EACF;AACA;AAnEA;AAA+H;AAoE/H;ACpEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AACA;AACA;AACI;AAEI;IACJ;AAEI;IACJ;AAAA;AAGA;EACJ;AAAA;AAEI;EACJ;AAAA;AAEA;AAGA;AACA;AACA;AACA;AACI;AACI;IACJ;AAAA;EAEJ;AAAA;AAEA;AACA;AACA;AACA;AACA;AACI;EACJ;AAA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/B;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AACA;AACI;AACA;MACJ;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAC0C;IAA6B;AACvE;AAA4C;IAA4B;AAGxE;AACI;IACJ;AACA;AACI;AACI;AAA0B;IAElC;AACA;AACI;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;IAER;AACA;AACI;IACJ;AACA;AAA4C;IAA+B;AAC3E;AAAyC;IAA+B;AACxE;EACJ;AACA;AAhDA;AAAkG;AAiDhE;ACjDlC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAyB;AAEvB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA8B;AAE5B;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AAAmB;IAEvB;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEA;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAnKA;AAA+H;AAoK/H;ACpKA;;AAAA;AACI;AAAY;A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AACzB;AACkC;AAClC;AAC2C;AAC3C;AACoD;AACpD;AAC6D;AACrE;EACJ;AAfA;AAAkG;AAejG;ACfD;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACA;AACJ;AACE;EACF;AANA;AAA8G;AAO9G;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACE;AACI;AACJ;AACE;AAAyB;AAEzB;QACF;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;MACF;AACE;AACA;AACA;AACA;MACF;AACE;AACE;QACF;AACA;MACF;AACE;AACE;AACE;AACA;UACF;QACF;MACF;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AAAe;EAEnB;AA1EA;AAA0I;AA2E1I;AC3EA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACJ;AACE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;AAAc;AAEhB;AACE;AAAa;MAEjB;AAAA;AAEA;AACE;AAAc;AAElB;AACE;AACE;MACF;IACF;AACE;AACI;AACJ;AACA;AACE;MACF;IACF;AACE;AACE;MACF;IACF;AACE;AACE;MACF;IACF;AAAA;AAEE;AACE;AACA;AACA;AAA+B;AAEjC;AACE;AAAgB;AAEhB;AACA;MACF;AAAA;IAEF;EACF;AAnEA;AAAyH;AAoEzH;ACpEA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAyB;IAE7B;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;QACF;AAAA;AAEE;AACA;AACI;YACF;AACF;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACI;AACJ;AACE;AACE;AAA0C;AAE5C;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAM;AAER;AACA;AACE;AACI;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACE;AACE;AAAe;AAEjB;AACE;cACF;AACE;cACF;AACE;AAAe;AAEjB;AAAa;AAEf;UACF;AAAA;AAEF;AACE;AAAe;AAEjB;AACA;AACE;AACE;AACI;AACA;AACJ;AACE;AACE;cACF;AACE;AACE;AACA;AAAY;cAEhB;AACE;cACF;AAAA;AACF;UAEF;AAAK;IAEX;AACA;AACE;AACI;AACA;AACA;AACJ;AACE;AAAY;AAEZ;AACA;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACA;AACE;AAAM;AAER;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACI;AACJ;AACE;AAAM;AAER;AACA;AACE;AACE;AAAmD;AAEnD;AACE;AACE;AACA;AAAO;AAET;AACE;YACF;AACE;YACF;AAAA;QAEJ;AACE;AACA;AACA;QACF;AAAA;AAEA;AACE;AACA;AAAO;MAEX;AAAA;AAEF;AACE;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAO;AAET;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACE;AACI;AACA;AACJ;AACA;AACA;AACA;AACE;AAAuB;AAEvB;AAAqB;QAEzB;AACA;AACE;QACF;AAAA;IAEJ;AAAA;AAEA;AACA;AACA;AACA;AACI;AACI;AACJ;AACA;MACF;AACF;AACI;AACE;AAAQ;AAEN;AACJ;AACA;MACF;AACF;AACE;IACF;AACE;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACI;AACJ;AACE;AACE;AACA;AACE;AACE;AAAM;AAER;AACA;cACF;YACF;;AAEA;AAAgB;AAEpB;AACE;AAAoB;MAExB;AACA;AACE;AACI;AACA;AACJ;AACE;AACE;UACF;QACF;AACA;AACE;AAAoB;MAExB;AAAA;EAEJ;AAhTA;AAAoO;AAiTpO;ACjTA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AALA;AAA6H;AAM7H;ACNA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAAkD;AAAe;AADpF;AAAwG;AACjB;ACDvF;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;AACE;IACF;EACF;AANA;AAA8G;AAO9G;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AAFA;AAA6G;AAG7G;ACHA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAAsD;AAAe;AADxF;AAAuG;AACZ;ACD3F;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACJ;AACE;AACA;AACE;AAAyC;EAE7C;AARA;AAAkH;AASlH;ACTA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AAHA;AAAkH;AAIlH;ACJA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAAuD;AAAe;AADzF;AAAuG;AACX;ACD5F;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;IACF;EACF;AACE;AACE;AACA;IACF;AACA;AACE;IACF;AAAA;AAdF;AAA8G;AAgB9G;AChBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AAFA;AAA8G;AAG9G;ACHA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AANA;AAAmI;AAOnI;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAA8C;AAAe;AADhF;AAAwG;AACrB;ACDnF;AAAA;AACI;AAAY;AAAe;AAA/B;AAGA;AACI;AAEI;AACI;MACJ;AAAA;AAGI;MACJ;AAAA;IAGJ;EACJ;AAAA;AAjBmG;AAkBnG;AClBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AACF;AAEI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AACF;AACF;AACF;AAEE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEA;AACA;IACF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;AACF;AACF;AAEE;AACA;AACI;AACF;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;EACF;AAnIA;AAA+H;AAoI/H;ACpIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAkB;IAEtB;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAkB;IAEtB;AAAA;AAEA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACJ;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AACF;AAEF;EACF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACA;AACI;AACJ;AACE;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AACF;AACF;AAEE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;UACF;AAAA;AACF;AACF;IAEF;AAAA;AAEA;AACE;IACF;AACE;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AA1NA;AAAoH;AA2NpH;AC3NA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAfA;AAAwG;AAiBxG;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AAA8G;AAgB9G;AChBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAfA;AAAwG;AAiBxG;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AAAkC;AAEpC;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AArFA;AAA0H;AAuF1H;ACvFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AACE;AACE;MACF;AAAA;AAEE;MACF;AACA;IACF;AACE;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AACE;AACA;AACA;MACF;AACE;AACA;AACA;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;QAEF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AA5DA;AAAwG;AA8DxG;AC9DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AAA8G;AAmB9G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAE/B;AAGA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuD;AAGzD;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoE;AAGtE;AAEA;AAAiB;AACf;AACA;AACA;EACF;AAAA;AAKA;AAAkB;AAChB;AACA;AACA;EACF;AAAA;AAjDmG;AAiDnG;ACjDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AAA8G;AAmB9G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAdwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAdwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AAAoH;AAgBpH;AChBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;EACF;AAAA;AAdA;AAAwG;AAgBxG;AChBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAjBA;AAAwG;AAmBxG;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AAA8G;AAgB9G;AChBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACA;IACF;AAAa;EAEf;AAAA;AArBA;AAAwG;AAuBxG;ACvBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AAAA;AAEA;AACA;EACF;AAAA;AA5BA;AAAwG;AA8BxG;AC9BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AAAqE;AAEvE;AACE;AACA;AACA;AACA;EACF;AAAA;AApBA;AAAwG;AAsBxG;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAdA;AAA8G;AAgB9G;AChBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACI;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACI;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAlFA;AAA8G;AAoF9G;ACpFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAjBA;AAA8G;AAmB9G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAjBA;AAA8G;AAmB9G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAjCA;AAA8G;AAmC9G;ACnCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AApCA;AAAwG;AAsCxG;ACtCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAtCA;AAAwG;AAwCxG;ACxCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AAjDA;AAAwG;AAmDxG;ACnDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgC;AAElC;AACE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AA1CA;AAAwG;AA4CxG;AC5CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA8B;AAEhC;AACE;AACA;AACA;EACF;AAAA;AAlEA;AAA8G;AAoE9G;ACpEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACA;EACF;AACA;AACA;AACA;AACE;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAlBA;AAAwG;AAoBxG;ACpBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAbA;AAAwG;AAexG;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;EACF;AAAA;AAfA;AAA8G;AAiB9G;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;EACF;AAAA;AAZA;AAAwG;AAcxG;ACdA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAjBA;AAAwG;AAmBxG;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AACE;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AAAA;AAEA;EACF;AAAA;AA3BA;AAAwG;AA6BxG;AC7BA;;AAAA;AACI;AAAY;AAAe;AAE/B;AAGA;AACA;AACE;AACE;IACF;AAAA;AACF;AAXA;AAAmG;AAYhE;ACZnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAwB;AAE1B;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEI;AACF;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AA9CA;AAA8G;AAgD9G;AChDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAgB;AAElB;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEA;AACA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AA3DA;AAA0H;AA6D1H;AC7DA;;AAAA;AACI;AAAY;AAAe;AAE/B;AAGA;AACA;AACE;AACA;AAEA;AACE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAjBA;AAAmG;AAkBhE;AClBnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAqB;AAEvB;AACE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAvCA;AAA8G;AAyC9G;ACzCA;;AAAA;AACI;AAAY;AAAe;AAE/B;AAIA;AAAqG;EAAmB;AAAqB;EAAkG;AAE/O;AACA;AACE;AACE;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AAAA;AArBA;AAAmG;AAsBhE;ACtBnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA2B;AAE7B;AACA;AA5LA;AAAoc;AA6Lpc;AC7LA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAhD;ACAxD;AAAA;AACI;AAAY;AAAe;AAC/B;AAEA;AACI;AACI;AACI;MACJ;AAAA;AAGA;AACI;MACJ;AAAA;AAKI;MACJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;AAGA;AACI;MACJ;AAAA;AAEA;AACI;MACJ;AAAA;AAOI;MACJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;IAEJ;AACA;AACI;AACI;MACJ;AAAA;AAiCA;AAEI;AAA6B;QAAc;AAAA;AAG3C;AAA0C;AAA6B;UAAc;AAAA;AAAE;AAC3F;IAEJ;AACA;AACI;IACJ;AACA;AACI;AAAgC;MAAa;AAAA;IAEjD;AACA;AACI;AAAgC;MAAa;AAAA;IAEjD;AACA;AACI;AACI;AACA;MACJ;AACI;MACJ;AAAA;AAEJ;AACI;AACI;MACJ;AAAA;IAIJ;AACA;AACI;IACJ;AAAA;AAGJ;AAhIA;AAAwG;AAiIxG;ACjIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACJ;AACE;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AACF;AAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACE;AACE;YACF;AAAA;AACF;AACF;AAEE;AACA;AACE;AACE;AACA;AACE;cACF;AAAA;AACF;AACF;AAEE;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AACE;AACA;AACE;AACA;AACE;cACF;AAAA;AACF;AACF;AACF;AACF;AAEF;AACE;AACI;AACJ;AACE;AACE;AACA;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACE;AACE;AACE;AACE;YACF;AAAA;QAEJ;AACE;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;AACE;AACA;AACA;QACF;AACE;AACE;AACA;AACA;UACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACE;IACF;AAAA;AAEA;AACA;AACI;AACJ;AACE;AACI;AACJ;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEF;AACE;AACA;AACA;AACE;AACA;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;AACA;QACF;AACE;QACF;AACE;AACA;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AACF;AAEA;AACE;AACE;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;AACA;AACE;UACF;AAAA;AACF;AACF;AACF;AAEA;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAlaA;AAAoH;AAmapH;ACnaA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACI;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;AACA;AAAa;AAEf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AAAa;AACf;IAEF;AAAA;AAEI;AACJ;AACA;AACA;AACA;AACA;AACI;AACJ;AACI;AACJ;AACI;AACJ;AAAiB;AAEf;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACI;AACJ;AACA;AACE;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AAAiB;IAErB;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;AACE;QACF;AAAa;AAEX;QACF;AAAa;AACf;IAEF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;QACF;AAAA;AAEA;AACA;MACF;AACA;AACA;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AA9OA;AAAuG;AA+OvG;AC/OA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAxC;ACAhE;AAAA;AACI;AAAY;AAAe;AAO/B;AAGA;AAGA;AACI;AAGJ;AAOA;AAUA;AACE;AAEA;AACI;AAEJ;AACE;IACF;AAAA;EAEF;AAAA;AAUE;EACF;AAAA;AAWE;AACA;AACE;IACF;AAAA;EAIF;AAAA;AAqDA;AACE;EACF;AAAA;AAqBE;EAEF;AAAA;AA4BE;AACA;EACF;AAAA;AAtLA;AAAwG;AAyLxG;ACzLA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;;AAAA;AACI;AAAY;AAAe;AAE/B;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAA0F;AAzD9F;AAAmG;AA4DnG;AC5DA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACE;AACI;AACJ;QACF;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;AAEA;AACE;UACF;AAAA;MAEJ;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;AACA;AACA;QACF;AAAA;IAEJ;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;AACE;AACE;UACF;AAAA;QAEF;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACE;AACA;AACA;AACE;AACE;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAA2B;AAE7B;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;AACE;AACI;AACJ;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;IAEF;AACA;EACF;AArKA;AAAyH;AAsKzH;ACtKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEI;AACJ;AACE;AACI;AACJ;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEI;AACJ;AACE;AACI;AACJ;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACI;AACJ;AACE;AACI;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;UACF;AACE;AACA;AACE;YACF;AAAA;AAEE;AACE;cACF;AAAA;AACF;AAEE;YACF;AAAA;AAEA;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;AACE;UACF;AAAA;AACF;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACI;AACJ;AACE;AACI;AACJ;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AAAuB;AAEzB;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;AACE;UACF;AAAA;MAEJ;A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AAAnyE;AAAmG;AAAisE;ACApyE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAoB;AAEtB;AACE;AACA;AACA;AACA;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;MAEF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACE;AACE;UACF;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACA;MACF;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACI;AACJ;AACE;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACE;AACA;AACA;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B;AAAG;AAAkB;AAAe;AAAgE;AAAwB;AAA8F;AAAiB;AAAG;AAAe;AAAe;AAAkD;AAAS;AAAgB;AAAiC;AAAG;AAAiB;AAAG;AAAoB;AAAgB;AAAmC;AAAc;AAAG;AAA6B;AAAgB;AAA2C;AAAc;AAAG;AAA4E;AAAwF;AAAgF;AAAsF;AAAgF;AAAkG;AAAgF;AAAkG;AAA2F;AAAmG;AAAgF;AAA0F;AAAkG;AAAwF;AAA0E;AAAiB;AAAgB;AAAoB;AAA6B;AAAsC;AAAC;AAAC;AAA5zwB;AAAmG;AAA0twB;ACA7zwB;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACJ;AACA;AACA;AACE;AACA;AACA;AACE;IACF;AACE;AACA;AACA;IACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AAAsB;EAE1B;AAAA;AAEE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AArC0H;AAsC1H;ACtCA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAmG;AAEnG;ACFA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAtC;ACAlE;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEE;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;QACF;MACF;AAAA;EAEJ;AAAA;AAEE;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AAAA;AAEE;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AACF;AAEE;IACF;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AACF;AAEE;AACE;AACA;AACI;AACJ;AACE;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;EAEJ;AAAA;AAEE;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AACF;AAEE;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AACF;AACF;AAEE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AACF;AAjKoH;AAkKpH;AClKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACJ;AACA;AACA;AACA;AAPA;AAA8G;AAQ9G;ACRA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACJ;AACA;AACE;AACA;EACF;AAAA;AAEI;AACA;AAAe;AAEnB;AAbA;AAA8G;AAc9G;ACdA;;AAAA;AACI;AAAY;AAAe;AAG/B;AAJA;AAAwG;AAKxG;ACLA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;AACE;YACF;AACE;YACF;AAAA;AAEA;UACF;AAAA;MAEJ;AAAA;EAEJ;AA1BA;AAA8G;AA2B9G;AC3BA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACJ;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;UACF;AACE;UACF;AAAA;MAEJ;AAAA;EAEJ;AAvBA;AAAoH;AAwBpH;ACxBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;EAEJ;AArBA;AAAwG;AAsBxG;ACtBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;EAEJ;AAlBA;AAAwG;AAmBxG;ACnBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;EACF;AAGE;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAEE;AAAyB;AAC7B;AAEF;AACA;IACF;EAEF;AAAA;AAxBmG;AAyBnG;ACzBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAzC;ACA/D;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;MACF;AACA;AACE;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AAEA;AACE;AACE;AACE;cACF;AACE;cACF;AAAA;UAEJ;AACE;UACF;AAAA;MAEJ;AAAA;EAEJ;AApCA;AAAsI;AAqCtI;ACrCA;AAAA;AACI;AAAY;AAAe;AAA/B;AAEA;AACA;AACC;AACA;EACD;AAAa;AAKb;AAEA;AACC;AACC;AACA;IACD;AAAa;EAEd;AAAA;AAKA;AAEA;AAGA;AACA;AAEA;AACA;AAEA;AACE;EACF;AAAA;AAtCA;AAAmG;AAyCnG;ACzCA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AAAM;AAER;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;QACF;MACF;AACA;AACE;AACA;AACA;AACA;AACA;AACI;AACA;AACF;AACA;QACF;AAAA;AAEA;AACE;AACE;AACE;AAAM;AAEN;AACA;YACF;AAAA;AAEA;UACF;QACF;AAAA;MAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACE;cACF;AAAA;YAEF;AACE;YACF;AACE;YACF;AAAA;UAEF;AAAA;AAEF;AACA;AACE;AACA;AACE;AACA;AACE;YACF;AAAA;AACF;AAEE;AAAuB;AAC3B;AACF;AAEF;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACE;AAAK;AAEL;UACF;AAAa;AAEX;AACA;UACF;AAAA;AAEA;AACE;UACF;AACE;AACA;UACF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAwC;YAE5C;AACE;YACF;AAAA;UAEF;AAAA;AACK;AAEL;AACE;AAAK;AAEP;AACA;AAAK;AAEL;AACA;AACE;AAAK;AAEP;AAAK;AAEL;AACA;AACE;AAAK;AAEP;AACE;AACE;AACA;YACF;AAAA;AAEF;AACE;UACF;AACA;AACA;AAAK;AAET;AACE;MACF;AAAA;EAEJ;AA9JA;AAA+H;AA+J/H;AC/JA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACE;AAAuC;AAC3C;AAEF;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAuD;AAEzD;MACF;AAAA;AACF;AAEA;AACE;AACA;AACE;AAA4B;AAE9B;AACA;AACE;AAAyB;IAE7B;AAAA;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AACE;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACA;AACE;AACA;UACF;AAAA;AAEE;AAAqB;AAErB;AACE;AACA;YACF;AACE;AACA;AACE;;AAEA;AAAwB;AAExB;AAAoB;AACxB;AACF;QAEF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AAAuD;AAEzD;AACA;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AAAQ;AAER;AAAsB;AAEtB;AACE;;AAEA;AAAmB;AACvB;AAEE;AAAQ;AAER;AAAgD;AAEhD;AACE;AACA;QACF;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAA6B;AAE7B;AACA;AACE;;AAEA;AAAkB;MAEtB;AAAA;AAEA;AACE;AACE;AAAiB;MAErB;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAyB;AAE3B;MACF;AAAA;AAEE;AAA+B;AAEjC;AACE;;AAEA;AAAU;AAEV;AACA;MACF;AAAA;AAEA;AACE;AAAyB;AAEzB;AAAiB;AAEjB;AAAsB;IAE1B;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AAAM;AAEN;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAqB;AACzB;AACF;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAkB;AACtB;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;AACA;AACA;AACE;;AAEA;AAAsB;AAExB;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAS;AACb;AAEA;AACE;AACA;AACA;AACE;AACE;AACA;UACF;AAAA;QAEF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAsB;AAC1B;AAEE;SACG;AACH;;AAEA;AAAkD;AAElD;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;AACE;AAAkB;AAElB;AACA;QACF;AAAA;IAEJ;AAAA;AAEE;AACA;AACE;AAAW;AAEX;AACE;AAAW;AAEX;AAAkB;AAEpB;AACA;AACA;AACE;AAAyB;MAE7B;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AAAW;AAEb;AACA;AACE;AAA4B;AAE9B;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AAAc;AAClB;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAgB;AACpB;MAEF;AACA;AACE;AACA;AACE;AAAkC;AAElC;WACG;AACH;AAAM;AAER;AACE;AACA;QACF;AAAA;AAEF;AACE;AACE;AACE;AACE;YACF;UACF;QACF;AAAA;AACF;AAEA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;SACG;AACH;SACG;AACH;AACE;WACG;AACH;;AAEA;AAAiC;MAErC;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AACE;AACE;;AAEA;AAAmB;AAErB;AACI;AACF;AACA;AACA;AACE;;AAEA;AAAwB;AAExB;;AAEA;AAAY;UAEhB;AAAA;AACF;AACF;IAEF;AAAA;AAEE;AACA;AACE;AAAyD;AAEzD;AACA;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;MACF;AAAA;AACF;AAEE;AACI;AACF;MACF;AAAA;AACF;AAEE;AACI;AACF;AACE;AAAQ;AACZ;IAEF;AAAA;AA9oBF;AAAgK;AAgpBhK;AChpBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;IACF;AAAA;AAjBF;AAAuG;AAmBvG;ACnBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArC;ACAnE;AAAA;AACI;AAAY;AAAe;AAI/B;AAoBA;AACE;AACE;IACF;AAAA;AAGA;AACE;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AAAA;EAGF;AAAA;AAYE;AACE;AAA0B;AAAY;AAEtC;IACF;AAAA;AAEA;AAAiB;AAAY;EAE/B;AAAA;AAlEmG;AAmEnG;ACnEA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAzC;ACA/D;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACE;AACE;AAAuC;AAC3C;AAEF;AACA;AACA;AAAgB;AAEd;AACA;AACA;AACA;IACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACI;UACF;MACJ;AAAa;AAEf;AACA;AACE;AACA;AACE;AAA4B;AAE9B;AACA;AACE;AACE;AAA2B;AAE3B;AAA6B;AACjC;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;SACG;AACH;AAAgC;AAEhC;AAAQ;AAER;SACG;AACH;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AAAwB;AAC5B;AAEF;AACE;AACE;AAAiC;AAEjC;AAAoD;IAExD;AACA;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAmB;AAErB;AACA;AACA;AACE;AAAsB;AAEtB;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;MAEF;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;;AAEA;AAA6C;IAEjD;AAAA;AAEE;AACA;AACE;;AAEA;AAAM;AAER;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;SACG;AACH;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AAA2B;AAE7B;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;UACF;AAAA;AACF;AAEE;AAAgC;AACpC;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAA2B;AAE3B;AACA;MACF;AAAA;AAEE;AAA4B;AAEhC;AACE;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACE;;AAEA;AAAyB;AAC7B;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;IAEJ;AAAA;AApWF;AAAiJ;AAsWjJ;ACtWA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAAqD;AACzD;AAEE;AACE;AAA0B;AAE5B;AACA;AACE;AAAqB;AAErB;AAAqB;AAEvB;AACE;AAA0B;IAE9B;AAAA;AAEE;AACE;AAAM;IAEV;AAAA;AAEE;IACF;AAAA;AAEE;AACI;AACF;MACF;AAAA;AACF;AAlDF;AAAqI;AAoDrI;ACpDA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAuE;AAEzE;AACA;AACE;AAAiB;AAEnB;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;AAA6B;AAE/B;AACA;AACA;AACA;AACA;AACE;AACE;AAAmC;AAEnC;AAA2B;AAC/B;AAEE;AACE;AACE;UACF;;AAEA;AAAY;IAElB;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAA4B;AAChC;AAEF;AACE;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAA+B;AAEjC;AACA;AACE;AAA6D;AAE7D;AAAiE;IAErE;AAAA;AA/FF;AAAyH;AAiGzH;ACjGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAA+B;EAEnC;AAAA;AAEE;EACF;AAdA;AAAoH;AAepH;ACfA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACE;AACE;MACF;AAAa;AAEf;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAhBF;AAAqI;AAkBrI;AClBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAvC;ACAjE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;MAEF;AACE;MACF;AAAA;EAEJ;AAtBA;AAAwG;AAuBxG;ACvBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA3C;ACA7D;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;AAAoF;AAEpF;MACF;AACA;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEA;AACE;MACF;IACF;AACA;AACA;AACE;AACA;AACA;AACE;AAAM;AAEN;AACA;AAAW;IAEf;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AAAM;AAER;AACA;AACA;AACE;AACE;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AACA;AACE;AACA;AACA;AACA;AACA;AAA4D;AAE5D;AACA;QACF;AACE;QACF;MACF;AACE;AACA;AACE;QACF;AACE;AACE;UACF;AACA;QACF;AAAA;AAEE;AAA2C;AAE3C;AAA4C;AAE5C;AAA0D;AAE1D;QACF;AACA;AACA;AACE;AACE;AACA;AACE;AACA;AAAK;QAEX;AACA;AACE;AACE;UACF;QACF;AAAA;AAEE;AACE;AAAM;QAEV;AACA;AACE;QACF;AACE;AACE;UACF;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACE;AAAM;AAEN;AAAe;IAEnB;AACA;AACE;AACA;AACE;AAAM;AAER;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AAAgC;AAEhC;AAAiB;AAErB;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACA;AACA;AACA;AACA;EACF;AAtMA;AAA2I;AAuM3I;ACvMA;AAAA;AACI;AAAY;AAAe;AAA/B;AAEA;AAEA;AACI;AAEA;AACI;AAEA;AACI;AACI;QACJ;AAAA;AACJ;AACJ;EAGJ;AAAA;AAnBmG;AAoBnG;ACpBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAnD;ACArD;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuC;AA9DzC;AAAmG;AAgEnG;AChEA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAnC;ACArE;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;;AAEA;AAAmB;AAErB;AACA;AACA;AACA;AACA;AACE;AAAuB;AAEzB;AACA;AACA;AACA;AACE;AAAsB;EAE1B;AACA;AACE;AACA;AACA;EACF;AACA;AACA;AACA;AACA;AAlCA;AAA0H;AAmC1H;ACnCA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA9C;ACA1D;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAXF;AAA2I;AAa3I;ACbA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;EACF;AAHA;AAAmG;AAInG;ACJA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;AAAA;AACI;AAAY;AAAe;AAoB/B;AACE;AACA;EACF;AAAA;AAIA;AAEA;AACA;AAIA;AAIA;AACE;AACE;AAA8C;AAEhD;EACF;AAEA;AACE;AAAQ;AAAS;AAAK;AAAM;AAAG;AAE/B;AACE;AAAiB;AAIjB;AAEE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAIA;AACE;AAAY;AAGZ;AAEE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAGL;AACA;AACA;AACE;AAA0B;AAJvB;IAOX;AACE;AACA;AACA;AACE;AAA0B;AAG5B;AACA;AACE;AAA8B;AAClC;EAGF;AAEA;AACE;AAEA;AACE;AAA8C;AAG9C;AAAiB;AAKjB;AAEuC;AAIvC;OACG;AAEH;;AAGA;AAAmD;AAInD;AACA;AACE;MACF;AACE;MACF;AAAA;AAGE;AACA;AAIA;AAEE;QACF;AAAA;AACF;AACF;EAGF;AAEA;AAEA;AACE;AACE;AAA8C;AAIhD;AACE;AAEA;AACE;AACA;MACF;AAAA;AACF;AAGA;AAEA;EACF;AAGA;AACE;AAAU;AAAU;AAAQ;AAE5B;AACE;AAA8C;AAG9C;AAAW;AAGb;AACA;AAEA;AAEE;AACA;AACE;AAA2C;AAG7C;AACE;AAEE;AACA;QACF;AAAA;AACF;AAGE;AAAW;AAGX;AACA;MACF;AACE;MACF;AAAA;AAGE;AAA2C;AAC/C;EAGF;AAEA;AACE;AAAS;AAET;AACE;AAAW;AAIX;AACE;SACG;AACH;AAAyB;IAE7B;AAAA;AAIE;AACE;AAA8B;AAAQ;MAExC;AAAA;AAEA;AACA;IACF;AAAA;AAIA;AACE;IACF;AAEE;AACE;AAA0D;AAC9D;AAGA;EACF;AAEA;AACE;AACA;AACE;OACG;AACH;;AAEA;AAAgC;EAEpC;AAEA;AACE;AACA;AACE;OACG;AACH;;AAEA;AAAkC;EAEtC;AAEA;AACE;EACF;AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AA5SmG;AA6SnG;AC7SA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAChB;ACDxF;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArC;ACAnE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;AADK;IAGX;AACA;AACE;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEP;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AAEA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;AAAwB;AAExB;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AArIF;AAAwG;AAuIxG;ACvIA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAzC;ACA/D;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AAAC;AAEH;AACA;AACA;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAuD;AAEzD;MACF;AAAA;AACF;AAEE;AACA;AACE;AAA4B;AAE9B;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;AACE;AAAyB;AAE3B;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACE;AAAkC;AAElC;AAAqB;AAErB;AACA;UACF;AACE;AACA;AACE;;AAEA;AAAwB;AAExB;AAAoB;AACxB;QAEF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACE;AAAuD;AAEzD;AACA;IACF;AACA;AACA;AACE;AACE;MACF;AACE;AACA;AACE;AAAW;MAEf;AAAA;IAEF;AAAA;AAEE;AACE;AAAQ;AAER;AAAsB;AAEtB;AACE;;AAEA;AAAmB;AACvB;AAEE;AAAQ;AAER;AAA8C;AAE9C;AACE;AACA;QACF;AACE;AAAmB;AACvB;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAA6B;AAE7B;AACA;AACE;;AAEA;AAAkB;MAEtB;AAAA;AAEA;AACE;AACE;AAAiB;MAErB;AAAA;AAEA;AACA;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAyB;AAE3B;MACF;AAAA;AAEE;AAA+B;AAEjC;AACE;;AAEA;AAAU;AAEV;AACA;MACF;AAAA;AAEA;AACE;AAAyB;AAEzB;AAAiB;AAEjB;AAAsB;IAE1B;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACE;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;AACA;AACE;AACE;UACF;;AAEA;AAAqB;AACzB;AACF;AAEE;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACA;AACE;;AAEA;AAAkB;AACtB;IAEF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAFK;AAIT;AACA;AACA;AACA;AACA;AACE;;AAEA;AAAsB;AAExB;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAS;AACb;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;QACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAsB;AAC1B;AAEE;SACG;AACH;;AAEA;AAAkD;AAElD;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;AACE;AAAkB;AAElB;AACA;QACF;AAAA;IAEJ;AAAA;AAEE;AACA;AACE;AAAW;AAEX;AACE;AAAW;AAEX;AAAkB;AAEpB;AACA;AACA;AACE;AAAyB;MAE7B;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACE;AAA6B;MAEjC;AAAA;AAEA;AACE;AAAW;AAEb;AACA;AACE;AAA4B;AAE9B;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;YACF;UACF;AACE;UACF;AAAA;AACF;AACF;IAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACA;QACF;AAAA;MAEF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AAAc;AAClB;AAEE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAgB;AACpB;MAEF;AACA;AACE;AACA;AACE;AAAkC;AAElC;AAAM;AAER;AACE;AACA;QACF;AAAA;AAEF;AACE;AACE;AACE;AACE;YACF;UACF;QACF;AAAA;AACF;AAEA;AACE;MACF;AACA;AACE;AACA;AACE;AACA;QACF;AAAA;AAEF;IACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AAAW;AAEX;SACG;AACH;SACG;AACH;AACE;;AAEA;AAAiC;MAErC;AACE;AACE;AACA;AACA;QACF;AACE;QACF;AACE;AACE;;AAEA;AAAmB;AAErB;AACI;AACF;AACA;AACA;AACE;;AAEA;AAAwB;AAExB;;AAEA;AAAY;UAEhB;AAAA;AACF;AACF;IAEF;AAAA;AAEE;AACA;AACE;AAAyD;AAEzD;AACA;AACE;AACE;AACA;AACA;UACF;AAAA;MAEJ;AAAA;AACF;AAEE;AACI;AACF;MACF;AAAA;AACF;AAEE;AACI;AACF;AACE;AAAQ;AACZ;IAEF;AAAA;AA7mBF;AAAgK;AA+mBhK;AC/mBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAiE;AAEnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AAA4B;AAE9B;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;IACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACE;QACF;AACA;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;SACG;AACH;AAAgC;AAEhC;AAAkB;AAElB;SACG;AACH;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;AAAwB;AAC5B;AAEF;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAmB;AAErB;AACA;AACA;AACE;AAAsB;AAEtB;;AAEA;AAAuD;IAE3D;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;;AAEA;AAA6C;IAEjD;AAAA;AAEE;AACE;AACE;AACA;QACF;SACG;AACH;AACA;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;SACG;AACH;AACA;AACE;QACF;AAAA;AAEE;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AAA2B;AAE7B;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACE;AAAkC;AAEpC;AACE;AACE;AACA;UACF;AAAA;AAEF;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;UACF;AAAA;AACF;AAEE;;AAEA;AAAuB;AAC3B;IAEF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAA2B;AAE3B;AACA;MACF;AAAA;AAEE;AAA4B;AAEhC;AACE;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AACF;AAEE;AACA;AACE;AACE;AACA;AACA;QACF;AACE;AAAwB;AAC5B;IAEF;AAAA;AAEE;AACA;AACA;AACE;AACE;;AAEA;AAAyB;AAC7B;IAEF;AAAA;AA1RF;AAAqI;AA4RrI;AC5RA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACA;AACE;AAAc;IAElB;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAAqD;AAEzD;AACE;AACE;AAA0B;AAE5B;AACA;AACE;AAAqB;AAErB;AAAqB;AAEvB;AACE;AAA0B;IAE9B;AAAA;AAEE;AACE;AAAM;IAEV;AAAA;AAEE;AACI;AACF;MACF;AAAA;AACF;AA1CF;AAA+H;AA4C/H;AC5CA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAuE;AAEzE;AACA;AACE;AAAiB;AAEjB;AAAM;AAER;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;AAA6B;AAE/B;AACA;AACA;AACA;AACA;AACE;AACE;AACE;UACF;;AAEA;AAAY;IAElB;AAAA;AAEE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AAA4B;AAChC;AAEF;AACE;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AAA+B;AAEjC;AACA;AACE;AAA6D;AAE7D;AAAiE;IAErE;AAAA;AAxFF;AAAyH;AA0FzH;AC1FA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACE;AACE;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAhEF;AAAwG;AAkExG;AClEA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA1C;ACA9D;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AAA+B;EAEnC;AAAA;AAEE;EACF;AAbA;AAAoH;AAcpH;ACdA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AACF;AAEA;AACE;AACE;MACF;AAAA;AACF;AAEA;AACE;AACA;IACF;AAAA;AAEA;AACE;AACE;AAAM;AAER;IACF;AAAA;AAEE;AACE;AAAM;AAER;AACE;AAAc;AAClB;AAEE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEA;AACA;AACA;AACA;EACF;AAxEA;AAA4I;AAyE5I;ACzEA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAxC;ACAhE;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AACL;ACDnG;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArC;ACAnE;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACE;AACA;EACF;AACA;AACA;AACE;AACA;AAAY;AAEd;AACE;AACA;AACA;AACE;AACA;AACE;AAAQ;AAEV;AACE;AACI;AACJ;AACE;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACE;AAAuC;AAEvC;AAAmB;EAEvB;AACA;AACE;EACF;AACA;AACE;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;AACA;AACA;QACF;AAAA;AACa;AAEb;MACF;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACE;MACF;AACE;AAAgB;IAEpB;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AAAA;AAEF;AACE;EACF;AApGA;AAA8G;AAqG9G;ACrGA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AAAC;AAEC;AACA;AAEA;AACE;IACF;AAAA;AAEA;AAIA;AAEE;AAEa;AAAU;AAAS;AAAa;AAQ3C;AACA;AACE;QACF;AAAA;MAEF;AAAA;IAEF;AAIA;AAEE;AACA;AACE;MACF;AAAA;AAGc;AAAI;AAAQ;AAAS;AAUjC;MACF;AAAA;IAEF;EAEF;AA7DA;AAAmG;AA8DnG;AC9DA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAa;AAEX;AACE;MACF;AAAa;AAEf;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AAAQ;AAEV;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AAAM;IAEV;EACF;AACA;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACE;AAAiB;AAEnB;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEA;AAAqC;AACzC;AAEE;IACF;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEF;AACA;AACE;AACE;AAAY;EAEhB;AACA;AACE;AACA;AACE;AAAc;EAElB;AACA;AACE;EACF;AACA;AACE;AACE;AAAoB;AAEpB;AACE;AAAQ;AACZ;EAEF;AACA;AACE;AACE;AAAW;AAEX;AAAW;AAEX;AAAW;AAxJf;AAA0H;AA0J1H;AC1JA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;EACF;AACE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;AAAW;AAEX;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AAAoD;AAEtD;AACE;AAAsB;IAE1B;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACA;AACA;AACE;AACE;MACF;AACE;MACF;AACE;AACA;AACE;AACE;AACA;AACE;AACE;AACA;AACA;cACF;AACE;cACF;AAAA;UAEJ;AAAa;AACf;MAEF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAqC;EAEzC;AAAA;AAvIoH;AAwIpH;ACxIA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAApC;ACApE;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACE;AACE;AAAsB;AAC1B;AAEA;AACE;AACE;AAAW;AAEb;EACF;AAbA;AAAwG;AAcxG;ACdA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAzC;ACA/D;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AACP;ACDjG;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAtC;ACAlE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEF;AACE;AACE;AACA;AACA;AACA;AACE;AACE;UACF;AACE;AACE;YACF;AACE;YACF;AACE;AACA;AACA;YACF;AAAA;AAEA;UACF;AAAA;AAEA;QACF;MACF;IACF;AAAA;AAEE;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AAA2C;AAE7C;AACE;QACF;AAAA;AAEE;QACF;AACA;AACA;AACE;AACA;AACE;UACF;AACA;AACA;AACE;UACF;QACF;MACF;IACF;AAAA;AAlFF;AAAiJ;AAoFjJ;ACpFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACA;AACE;MACF;AACA;AAAmC;EAEvC;AAVA;AAA6G;AAW7G;ACXA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;EACF;AAAA;AAEE;AACE;AACA;AACA;AACA;AAAmB;AAErB;AACE;AACA;AACA;AAAa;AAEf;AACA;AAAoC;AAEtC;AACE;AACE;AACA;AACE;AACA;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AA/C4I;AAgD5I;AChDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACJ;AACA;AACE;AACA;AACA;EACF;AAAA;AAEE;AACA;AACE;IACF;EACF;AACA;AACE;AACA;AACA;AACE;AACA;IACF;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AACE;IACF;AAAA;AAEF;AACE;EACF;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACA;AACE;IACF;AAAA;EAEF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACE;AACE;MACF;IACF;AAAA;AAEE;AACE;AACA;AAAiF;IAErF;EACF;AAAA;AApFoH;AAqFpH;ACrFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACJ;AACE;AACE;IACF;AACE;AACA;IACF;EACF;AACA;AACE;AACE;IACF;EACF;AACA;AACE;AACE;IACF;AACA;AACE;IACF;EACF;AACA;AACE;AACI;AACA;AACJ;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AAEE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AAAa;MAEjB;AAAA;AAEE;AACA;AACA;MACF;AAAA;EAEJ;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AApF8G;AAqF9G;ACrFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;QACF;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEE;AACE;AACA;AACA;AACA;QACF;AACE;QACF;AAAA;AACF;AAEA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;AACA;AACE;UACF;QACF;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEA;AAA4C;AAE5C;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;AACA;AACE;AACE;YACF;AAAA;AAEA;AACE;YACF;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;UACF;AACA;AACE;AACA;UACF;AAAA;MAEJ;AAAA;AAEE;AACE;QACF;AACE;QACF;AACE;AACE;UACF;AACE;UACF;QACF;AAAA;AACF;AAEE;AACE;QACF;AACE;AACE;UACF;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;AAEE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEI;AACA;AACJ;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACA;UACF;AACE;UACF;AAAA;AAEE;AACA;UACF;AAAA;AAEA;AACA;QACF;AAAA;AAEE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;AACE;UACF;AACE;UACF;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACE;UACF;AACE;AACA;AACA;AACE;YACF;AAAA;AACF;AAEA;QACF;AAAA;AACF;AAEE;MACF;AACA;AACE;AACA;AACA;AACE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACE;AACA;AACE;UACF;AACE;AACA;UACF;AACE;AACA;AACA;UACF;AACE;AACE;YACF;UACF;AAAA;AAEA;QACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;QACF;AAAA;AAEF;AACE;AACA;AACE;QACF;AACE;QACF;MACF;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AAA4C;AAE9C;AACE;AACE;QACF;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;EACF;AArgBA;AAAuG;AAsgBvG;ACtgBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAnC;ACArE;;AAAA;AACI;AAAY;AAAe;AAG/B;AAJA;AAAwG;AAKxG;ACLA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACE;AACA;AAAgC;AAElC;AACE;AACA;AACA;QACF;AACE;AACA;QACF;MACF;AACE;MACF;AAAA;AACF;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;IAEJ;AAAA;AAEE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;AACE;AACA;UACF;AACE;UACF;AAAA;AACF;IAEJ;AAAA;AAEE;IACF;AAAA;AAxEF;AAAsI;AA0EtI;AC1EA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;AACE;MACF;AACE;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AAAA;MAEJ;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;AACA;AACA;IACF;EACF;AAAA;AArDsI;AAsDtI;ACtDA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACE;QACF;AACE;AACA;AACA;AACE;UACF;AAAA;AAEE;AACA;AACA;AACA;AACE;YACF;AACE;YACF;AAAA;QAEJ;AAAA;AACF;AACF;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAEnB;IACF;AAAA;AAEE;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEF;AACI;AACA;AACJ;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AACE;AACA;AACA;AACA;AACA;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAzGF;AAA+H;AA2G/H;AC3GA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AACE;UACF;QACF;AACE;AACE;UACF;QACF;AACA;MACF;AACE;MACF;AAAA;EAEJ;AAtBA;AAAuG;AAuBvG;ACvBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA5C;ACA5D;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AAAW;AAEb;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;AACF;AAEA;EACF;AACA;AACE;AACI;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AACA;AA1DA;AAAwG;AA2DxG;AC3DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACA;AACE;AACA;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;IACF;AAAA;AACF;AAEE;AACE;AACI;AACA;AACJ;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACI;AACJ;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AAAA;AAEF;AACE;AACI;AACA;AACA;AACJ;AACE;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;IAEF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;AACA;MACF;AAAA;AACF;AACF;AAEE;AACI;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACE;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACJ;AACE;AACE;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;AAEA;MACF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;QACF;AACE;AACA;AACA;AACA;AACA;QACF;AAAA;AACF;AAEE;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AACE;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;MACF;AACE;AACA;AACA;AACE;QACF;AACE;AACA;QACF;AACE;AACA;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AAAA;AACF;AAEA;QACF;AACE;QACF;AAAA;MAEF;AACE;AACA;AACA;MACF;AACE;MACF;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;IACF;AACE;AACA;AACA;IACF;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACE;QACF;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;AACF;AAEE;AACE;MACF;AACA;AACE;AACE;QACF;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACE;QACF;AACE;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEE;AACE;AACA;QACF;AACE;AACA;QACF;AACE;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEA;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;QACF;AAAA;AACF;AAEA;AACA;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACE;AACE;AACA;UACF;AAAA;AAEA;AACA;QACF;AACE;AACA;QACF;AACE;QACF;AAAA;AAEA;MACF;AACE;AACE;AACA;AACE;UACF;AAAA;AAEE;AACA;AACE;YACF;AAAA;AAEE;AACA;YACF;AAAA;AAEA;AACA;AACA;AACA;UACF;AACE;UACF;AACE;AACA;AACA;UACF;AAAA;AAEA;QACF;AACE;AACA;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AAEE;AACA;QACF;AAAA;AAEA;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AAAY;AAEZ;IACF;AAAA;AAEA;AACE;AACA;IACF;AACE;AACA;AACA;IACF;AACE;IACF;AAAA;AAEA;AACE;AACE;MACF;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;AACE;AACA;AACE;YACF;AAAA;AAEA;UACF;AACE;UACF;AAAA;AACF;MAEF;AAAA;AAEA;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACJ;AACA;AACE;AAAY;AAEZ;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AAAY;AAEd;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;AAEE;AACE;AACE;AACA;AACA;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;AAEA;QACF;AAAA;AACF;AACF;AAEE;IACF;AAAA;AAEE;AACE;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACE;UACF;AACE;AACA;AACE;YACF;AAAA;AAEA;AACA;AACE;YACF;AAAA;AACF;AAEE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEE;AACE;AACE;AACA;AACE;AACA;AACA;AACE;YACF;AAAA;UAEF;AAAA;AACF;AAEA;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEE;AACE;UACF;AACA;QACF;AAAA;AAEE;AAAK;AAEP;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AAAoB;AAEpB;MACF;AACE;MACF;AAAA;AACF;AAEA;AACE;AACA;IACF;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACE;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEA;AACA;AACA;AAloCA;AAAgI;AAmoChI;ACnoCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AAAS;AAEX;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AACA;IACF;AACE;AACA;IACF;AACE;AACA;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEE;AAAa;IAEjB;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEI;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;MAEF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AAEE;AACE;AAAa;AAEb;AAA6C;AAE7C;AAAgG;AAEhG;AAAuH;AAEvH;AAAkD;AAElD;AADK;IAGX;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACA;AACA;AACA;AACE;AACI;AACJ;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACE;AAAW;AAEb;AACA;AACI;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;AAAe;MAEnB;AAAA;AACF;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACE;AACE;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAkB;AAEpB;AACA;AACE;MACF;AAAA;AAEE;AAAkB;AAEpB;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEA;EACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AAAA;AACF;EAEF;AAAA;AAEE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEI;AACA;AACJ;AACE;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AACE;AACE;MACF;AAAA;AAEE;AACE;AACA;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;AACA;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;AAEA;AACE;AAAY;MAEhB;AAAA;AAEE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACE;AACA;AACE;AACE;QACF;AAAA;AAEA;AACA;AACE;AACE;UACF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AACF;AACF;AACF;AACF;AAEE;AACA;AACA;AACE;AAAoC;AAEpC;AAAwB;EAE5B;AAAA;AAEE;EACF;AAAA;AAEA;AA7iBA;AAA0H;AA8iB1H;AC9iBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;IACF;EACF;AAAA;AAEE;AACI;AACA;AACJ;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACE;MACF;AAAA;AAEF;AACA;AACA;EACF;AAAA;AAEA;AACE;AACI;AACJ;AACE;AACE;AACA;AACA;AAAK;AAEL;AACA;AACA;AAAK;AAEL;AADK;AAGT;AACA;AACA;AACE;IACF;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AAAA;AAEE;AACA;AAAc;EAElB;AACA;AAhFA;AAAoH;AAiFpH;ACjFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AAAwG;AASxG;ACTA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AAAwG;AASxG;ACTA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;IACF;AAAA;AAPF;AAAwG;AASxG;ACTA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAA0H;AAI1H;ACJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AAAW;AAEb;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AAAwB;AAlC1B;AAAwG;AAoCxG;ACpCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AAAY;AAEd;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AAAwB;AA/B1B;AAAwG;AAiCxG;ACjCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AAAY;AAEV;AACA;AACA;AACJ;AACE;AAAY;AAEd;AACE;IACF;AAAA;AAEE;AACE;AAAW;AAEb;AACE;AACA;AACE;AACA;AACE;AAAQ;AAER;AAAY;QAEhB;AAAA;MAEF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAQ;AAER;AAAY;QAEhB;AAAA;MAEF;AAAA;AAEE;AACA;AACE;AAAQ;AAER;AAAY;MAEhB;AAAA;IAEF;AAAA;AAEE;AACA;AACE;AAAQ;AAER;AAAK;AAEL;MACF;AAAA;IAEF;AAAA;AAEE;AAAY;AAEZ;AAAW;EAEf;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEA;AACE;AACE;AAAS;AAEX;IACF;AAAA;AAEE;AAAQ;AAER;AACE;AAAyC;AAEzC;AAAiC;IAErC;AAAA;AAEE;AACE;MACF;AACA;AACA;AACA;AACE;AACA;MACF;AACA;IACF;AAAA;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACA;AAAuB;AACzB;AApJF;AAA8G;AAsJ9G;ACtJA;;AAAA;AACI;AAAY;AAAe;AAG/B;AACE;EACF;AAAA;AAIE;EACF;AAAA;AAIE;AAA6B;OACxB;AAAyB;AAAS;EAGzC;AAAA;AAIE;AAAW;AAAQ;AAAK;AAExB;AACE;AAEA;AACE;AACA;MACF;AAAA;AACF;EAGF;AAAA;AAIE;AAAiB;AAEjB;AACE;IACF;AAAA;EAGF;AAAA;AAIE;EACF;AAAA;AAIA;AACA;AACA;AACA;AACA;AA3DA;AAAmG;AA4DnG;AC5DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AAAY;AAEZ;AAAY;EAEhB;AAAA;AAEE;AACI;AACA;AACA;AACJ;AACA;AACA;AACA;AACE;IACF;AAAA;AAEE;IACF;AACE;IACF;AACE;AACE;MACF;AACA;AACA;AACA;AACE;AACA;MACF;AACA;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;AACE;AACE;AACE;AAAa;AAEb;AAAa;AAEb;AAAa;IAEnB;AACE;AACE;AACE;AAAa;AAEb;AAAa;AAEb;AAAa;IAEnB;AACE;AACE;AACE;AAAc;AAEd;AAAc;AAEd;AAAc;IAEpB;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AAAwB;AAtF1B;AAA8G;AAwF9G;ACxFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AAA6G;AAL/G;AAAsI;AAOtI;ACPA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAA8G;AAI9G;ACJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AAAY;AAEZ;AAAW;AAEX;AAAW;EAEf;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AAAwC;AAExC;AAAqC;AAEvC;AACA;AACA;AACE;IACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACA;AACA;AACA;AACE;AAAc;AAClB;AAEA;AACE;AAAoC;EAExC;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAgC;AApElC;AAAwG;AAsExG;ACtEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AAAA;AAEE;AACA;AAAwB;AAR1B;AAAwG;AAUxG;ACVA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACE;AACA;IACF;AAAc;AAEd;AACA;AACE;AACE;AAAY;AAEV;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AAAQ;AAER;AAAY;MAEhB;AAAA;IAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACE;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;MACF;AACE;AACA;MACF;AACE;MACF;AAAA;AAEE;AAA6B;IAEjC;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACE;AACA;AACA;AACA;QACF;AAAA;MAEF;AAAA;AAEA;AACE;AACA;AACA;AACA;MACF;AACE;AACA;AACA;AACA;MACF;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAA6B;EAEjC;AAxGA;AAA8G;AAyG9G;ACzGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AAAW;AAET;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;AAAY;AAEZ;AACE;AACE;;AAEA;AAAY;AAChB;AACF;AAEE;AAAY;AAEZ;;AAEA;AAAY;AAChB;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AAA2B;AA3C7B;AAAwG;AA6CxG;AC7CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AAAW;AAET;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACE;AAAY;AAEd;AACE;AAAY;IAEhB;AAAA;EAEF;AAAA;AAEE;AACE;AAAS;AAEP;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AAA4B;AA7C9B;AAAwG;AA+CxG;AC/CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AAAW;AAET;AACJ;AACE;AACE;AACE;AAAY;AAChB;AACF;EAEF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AAA0B;AAvB5B;AAAwG;AAyBxG;ACzBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACA;AAA+G;AANjH;AAAkJ;AAQlJ;ACRA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAsC;AApBxC;AAAwG;AAsBxG;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AAAY;AAEZ;AAAY;AAEV;AACA;AACJ;AACE;AACE;AAAmB;AAEnB;AAAY;AAEZ;AAAY;AAChB;EAEF;AAAA;AAEE;AACI;AACA;AACJ;AACE;AACE;AAAmB;IAEvB;AAAA;EAEF;AAAA;AAEE;AACA;AACE;AAAa;AAEb;AAAa;AAEb;AAAa;EAEjB;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAmC;AAlDrC;AAAwG;AAoDxG;ACpDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACA;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;EAEF;AAAA;AAEE;AACA;AACE;AACE;MACF;AAAA;AAEF;AACA;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;AACA;AACA;AACA;AACE;IACF;AAAA;AACF;AAvCA;AAAwG;AAyCxG;ACzCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;EACF;AACE;AACE;AAAwB;AAC5B;AAEA;AACE;AACE;AAAY;AAEZ;AACI;AACJ;AACE;MACF;AAAA;IAEF;AACE;IACF;AAAA;AACF;AAEE;AACI;AACA;AACA;AACJ;AACE;IACF;AAAA;AAEE;IACF;AACA;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AAAqC;AAlDvC;AAAwG;AAoDxG;ACpDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AAAwG;AAL1G;AAAgI;AAOhI;ACPA;;AAAA;AACI;AAAY;AAAe;AAG/B;AAEE;AAGA;AAEE;IACF;AAEE;IACF;AAAA;AAGA;AACA;AACA;EACF;AAAA;AAKA;AAGA;AACE;AAEA;AAEA;AACE;IACF;AAAA;EAGF;AAGA;AA1CA;AAAmG;AA2CnG;AC3CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA7BA;AAA8J;AA8B9J;AC9BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAAwG;AAIxG;ACJA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArD;ACAnD;;AAAA;AACI;AAAY;AAAe;AAE/B;AACI;AAKJ;AAQE;AACE;AACE;MACF;AAEE;AACE;QACF;AAGE;QACF;AAAA;AACF;AAWF;AACE;AACE;AACA;MACF;AAEE;AACE;QACF;AAGE;QACF;AAAA;AACF;AACF;AAtDF;AAA8G;AAwD9G;ACxDA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACE;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AACE;AACA;QACF;AAAA;AAEA;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AACE;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AACE;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AACE;MACF;IACF;AACA;AACE;AACI;AACA;AACA;AACJ;AACA;AACE;MACF;AAAA;AAEE;AACA;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACA;AACA;AAAiB;IAErB;AAAA;AArIF;AAA0K;AAuI1K;ACvIA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA/B;ACAzE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;IACF;AACA;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AAEF;AACE;AACE;UACF;AAAA;AAEF;MACF;AACE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CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;EACF;AAEA;AAEA;AAEE;AAEA;AAAoB;AAAQ;AAG1B;IACF;AAAA;EAEF;AAAA;AAGE;AAAc;AAAgB;EAEhC;AAAA;AAGE;AAAY;AAA0B;EAExC;AAAA;AAGE;AACA;AACA;AACA;AACA;AAEA;AACE;AAGA;AAEE;AAEE;AAEE;AAAuB;AAA2B;UAEpD;AAEE;AAAuB;AAA2B;UAEpD;AAAA;AAKA;QACF;AAAA;AAIE;AAAuB;AAA2B;AAElD;QACF;AAAA;MAIF;AAEE;AAAuB;AAA2B;AACpD;AAKA;AACE;AAAsB;AAAI;MAE5B;AACE;AAAsB;AAAI;MAK5B;AACE;AAAsB;AAAI;MAM5B;AACE;AAAsB;AAAI;MAO5B;AACE;MACF;AAAA;AACF;EAGF;AAAA;AAGE;AACA;AAEE;IACF;AAAA;EAEF;AAAA;AAGE;AAAO;AAAI;AACX;AACA;AACE;AAAsB;AAAI;AAG1B;AACA;AACA;AACA;IACF;AAAA;EAGF;AAAA;AAGE;EACF;AAAA;AAGE;AACE;AAAqD;AAAI;IAE3D;AAAA;EAEF;AAAA;AA3gDoH;AA4gDpH;AC5gDA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAnD;ACArD;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAChB;ACDxF;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArC;ACAnE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;AAEA;AACE;AACA;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;AACE;AACA;AACE;UACF;AACE;AACA;AACA;UACF;AAAA;QAEF;AAAA;AACF;AACF;AAEE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;MACF;AAAA;IAEF;AAAA;AA9GF;AAA0H;AAgH1H;AChHA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;EAIF;AANA;AAAmG;AAMnG;ACNA;AAAA;AACI;AAAY;AAAe;AAA/B;AAEE;AACE;AACA;AAEI;AACA;AACA;AACA;AAAiB;IAGvB;EACF;AAEE;AACE;AACA;AACA;AACA;AACA;IACF;EACF;AAAA;AAvBmG;AAwBnG;ACxBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAtC;ACAlE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACA;AACE;AACE;AAAU;AAEV;AAAQ;AAER;AACE;AAAwB;AAExB;AAAwB;AAExB;AACE;YACF;AACE;YACF;AAAA;AAEA;AADK;MAGX;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACE;QACF;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;AACE;AACE;UACF;AACE;UACF;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AAAA;IAEF;AACA;AACA;AACA;AACE;AACE;AAA2C;AAE7C;AACE;AACE;AACA;AACE;AACA;UACF;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACA;AAAsB;AAExB;AACE;AAAwB;AAExB;AAAyB;AAEzB;MACF;AACE;MACF;AAAA;AAEE;AAAsB;AAEtB;AAAa;AAEb;AAAkB;AAElB;AAAwB;AAExB;AAA8B;IAElC;AAAA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAc;AAEhB;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;AACA;AACE;MACF;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;AACA;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEI;AACA;AACJ;AACE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEA;AACA;AACE;MACF;AACE;AACE;QACF;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;AAA4C;AAE5C;AACA;MACF;AAAA;AAEE;AAAwC;AAExC;AAAyC;AAEzC;AAAkC;AACtC;AAEE;IACF;AAAA;AAEE;AACA;AACI;AACF;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEF;IACF;AAAA;AAEE;AACI;AACA;AACJ;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACE;AACE;UACF;AACE;UACF;AAAA;AAEE;AACE;AACE;cACF;YACF;AACE;AACE;cACF;YACF;AAAA;AACF;AAEA;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AACE;AACA;QACF;AAAA;AACF;IAEF;AAAA;AAEE;AACA;AACE;AACA;AACE;AAAa;MAEjB;AACA;AACE;MACF;AAAA;IAEF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;AAEA;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACA;AACE;AACE;AAAa;AAEf;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AAAA;AAtaF;AAAmH;AAwanH;ACxaA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArD;ACAnD;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AACpB;ACDpF;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAvC;ACAjE;;AAAA;AACI;AAAY;AAAe;AAO/B;AACI;AACA;AAKJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAQA;AAQE;AACE;AACA;AAEA;AACE;AACA;MACF;AAEE;MACF;AAEE;MACF;AAAA;AAGE;AACA;MACF;AAAA;AAIE;MACF;AAAA;AAOA;AACA;AACA;AAEA;IACF;EACF;AAAA;AASE;AACE;AACA;IACF;AAAA;AACF;AAQE;AAGA;EACF;AAAA;AAUE;AACE;AACA;AACE;AAGA;AACE;QACF;AAAA;AAGE;QACF;AAGA;AACF;AACF;AACF;AAUE;AAGA;AAGA;AAEA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AACF;EAGF;AAAA;AASE;EACF;AAAA;AAME;AACE;IACF;AAEE;AACA;AACE;MACF;AAAA;AACF;AACF;AAOE;EAOF;AAOA;AACE;AACE;IACF;AAAA;AAEA;AACE;IACF;AAAA;EAEF;AAAA;AAME;AACA;AACE;AACA;AACE;AACE;QACF;AACA;AACA;AAAiB;IAErB;AAAA;AACF;AApOwG;AAqOxG;ACrOA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;AAAA;AACI;AAAY;AAAe;AAG/B;AACA;AACA;AACA;AACA;AAeA;AACE;AACA;AAA4B;AAAiB;EAI/C;AAUA;AACE;AACA;AAAwB;AAAM;AAE9B;AAAY;AAAM;AAElB;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AAAY;AAEd;AACA;AACE;AAAY;AAEd;AACA;AACA;AACA;AACE;AAAY;AAEd;AACA;AACA;AACA;AACE;AAAY;AAEd;AACA;AACA;AACA;AACE;AAAY;AAEd;AACA;AACA;AACA;AACE;AAAQ;EAEd;AAAA;AAWE;AAAa;AAA+B;AAC/B;AAA+B;AAC/B;AAA+B;AAC/B;AAA+B;EAE9C;AAAA;AAWE;EAKF;AAAA;AAOE;AAAY;AAAM;AACA;AAAsC;EAE1D;AAAA;AA5HmG;AA6HnG;AC7HA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA1D;ACA9C;AAAA;AACI;AAAY;AAAe;AAO/B;AACA;AACA;AACA;AACA;AACA;AAMA;AACA;AAQA;AAMA;AAMA;AASA;AACE;EACF;AAAA;AAaE;AACA;AAIA;AAEE;AAGA;AACA;AACA;AACA;AACA;AACA;AAGA;AAA4B;AAAoC;AACtB;AAA0B;AAIpE;AAEA;AAEE;MACF;AAAA;AAIA;AAEE;AAAoB;AAAY;AAEhC;AACA;AACE;AACA;AAGA;AACA;QACF;AAAA;MAEF;AAEA;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAGA;AAEA;AAEA;EACF;AAAA;AAWE;AAEA;AACA;AAEA;AACE;AAAe;AAAQ;AAEvB;AACE;MACF;AACE;MACF;AAAA;AACF;AACF;AASE;EACF;AAAA;AAWE;AAAO;AACP;AACE;AACE;MACF;AAAA;AACF;AAEE;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAWE;AAA0B;AAA+B;EAE3D;AAAA;AApMwG;AAqMxG;ACrMA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AACA;AACE;AACA;AACA;AACA;AACE;AAAW;AAEb;AACA;AACA;AACA;AACE;AACE;AAAM;AAER;AACE;MACF;AAAA;AAEF;AACA;EACF;AAAA;AAEE;EACF;AAAA;AAEE;AACE;AACE;MACF;AACE;MACF;AAAA;AACW;AACf;AAEE;AACA;AACE;IACF;AAAa;EAEf;AAAA;AAEA;AACE;AACE;IACF;AAAa;AACf;AA5DwG;AA6DxG;AC7DA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAlD;ACAtD;;AAAA;AACI;AAAY;AAAe;AAE/B;AAOA;AAVA;AAAwG;AAWxG;ACXA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AAA+B;AAEjC;AACA;AACA;AACA;AACJ;AACE;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACA;AACA;AACE;AACA;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AACE;AACA;AACE;YACF;AACE;AACA;YACF;AAAA;AAEA;UACF;AAAA;AACF;MAEF;AAAA;AAEE;AACE;AACA;AACE;AACA;AACA;UACF;AAAA;AAEA;QACF;MACF;AAAA;AAEE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;QACF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;AACA;AACE;YACF;AAAA;AAEA;AACE;YACF;AAAA;UAEF;AAAA;AAEA;AACA;AACE;UACF;AAAA;AAEA;AACA;QACF;AAAA;MAEF;AAAA;AAEE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEA;AACE;QACF;AAAA;AAEE;AACE;AACA;AACE;YACF;AAAA;AACF;AAEA;AACE;UACF;AAAA;AAEA;AACA;AACE;AACA;AACE;YACF;AAAA;AAEE;AACE;AACA;AACE;gBACF;AAAA;AAEA;AACA;AACA;cACF;AAAA;AAEA;AACA;AACA;YACF;AAAA;AACF;AAEA;QACF;AAAA;MAEF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACE;QACF;MACF;AAAA;AAEE;AACA;AACE;AACA;AAAmB;AAErB;AACA;AACA;AACA;AAAqB;AAEvB;AACE;AACE;QACF;MACF;AACE;AACE;QACF;AACE;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;EAEJ;AAxRA;AAAuG;AAyRvG;ACzRA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA9C;ACA1D;;AAAA;AACI;AAAY;AAAe;AAyB/B;AACE;EACF;AAAA;AAGE;AACA;AACA;AAEA;AACE;IACF;AAAA;AAGA;AAEA;AACA;AACE;IACF;AAAA;AAIA;AACE;IACF;AAAA;AAGE;AACI;AACA;AAAM;AAAM;AAAG;AAEnB;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAGA;AAEA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AACF;EAGF;AA/EA;AAAmG;AAgFnG;AChFA;;AAAA;AACI;AAAY;AAAe;AAsB/B;AACE;AACE;AACE;AAAQ;AAGR;AAA2B;AAG3B;AAA2B;AAG3B;AADK;EAGX;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAGE;AACE;AACA;AACE;AACE;UACF;QACF;AACE;QACF;AAAA;IAGJ;AAAA;AAEW;AAAS;EAGtB;AA/DA;AAAmG;AAgEnG;AChEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAA8G;AAI9G;ACJA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAjD;ACAvD;AAAA;AACI;AAAY;AAAe;AAoB/B;AAEA;AACA;AACA;AACA;AAEA;AAEA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACF;AAAA;AAOI;AAIA;AAGA;AAGA;AAKA;AACA;AACA;AACA;AACA;AAEA;AACE;AACA;AAAkB;AAGpB;AACE;AACA;AAAkB;AAGpB;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAY;AAEd;AAEJ;AACE;AAAgD;AAAU;AAG1D;AACA;EACF;AAAA;AAGE;AACE;IACF;AAAA;AAMA;AAEA;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAOE;AACA;AACE;AACA;MACF;AAAA;AACF;AAqBE;AACA;AACE;AACA;AACE;AAAa;AACjB;AAIU;AACV;AAEE;MACF;AAGE;MACF;AAAA;AAKE;AACA;AACA;MACF;AAAA;AAIA;AACE;AACA;AACE;AAAa;AACjB;AAGE;AAAqB;AAGvB;AAGA;AAIA;AAIA;AAIA;AACE;AACA;AAAgB;AACd;AACA;AAAW;AAAQ;AAEjB;AACA;AAAgB;AACd;AAIE;cACF;AACE;cACF;AAAA;AACF;AAGE;AACA;AACA;AACA;AACE;AACA;cACF;AAAA;AAEE;cACF;AAAA;AAEA;YACF;AAAA;AACF;AACF;AACF;AAGE;MACF;AAEE;MACF;AAAA;AAOE;AACA;AACA;AACE;AACA;QAEF;AAAA;MAEF;AAAA;AAGA;AACA;AACA;AAIA;AACE;AACA;AACE;QACF;AAAA;AACF;AACF;AASE;AAAgB;AACd;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAKA;AAEE;AACA;IACF;AAAA;AAEA;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AAEE;AACA;IACF;AAAA;AACU;AAAoB;AAG5B;IACF;AAAA;AAIE;AACA;AACA;IACF;AAAA;AAIA;EACF;AAGA;AAKE;AAAmB;AAAmB;AACX;AAAqC;EAElE;AAAA;AAGE;AACA;AACE;AACA;AACA;IACF;AAAA;AAGI;AACA;AACA;AACA;AAEJ;AACE;IACF;AACE;AAGA;AACE;MACF;AAAA;AACF;AAKE;IACF;AAAA;AAIA;AAA6C;AAAe;AAM1D;AACA;AAA4C;AAAyB;AAErE;IACF;AAAA;AAEoC;AAAiB;AACb;AAAqB;AAG3D;IACF;AACA;AAEA;EACF;AAEA;AACE;EACF;AAAA;AAGE;EACF;AAEA;AACE;AAAa;AAAe;EAE9B;AAAA;AAGE;AACE;AACA;AACA;IACF;AAAA;AAGA;AACE;IACF;AAIA;AAGA;AACE;AACA;IACF;AAAA;AAKE;AACE;AACE;AAAuB;AAI3B;AAEE;MACF;AAAA;AAGA;IACF;AAAA;AAWE;AACE;AACE;QACF;AACA;AACA;MACF;AAAA;AAGA;AACE;AACA;AAA4D;AAAA;AACxC;AAAkB;AACd;AAAsB;AACvB;AAAmB;AAClB;AAAmB;MAE7C;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AAEA;AACE;AACA;AACA;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAGI;AAIA;AAEA;AACA;AACA;AACA;AAOJ;AACE;AACA;AACA;AACE;AAAuB;;AAClB;AAA4B;AACnC;AAEA;AACE;AACA;AACA;AACE;AAAuB;;AAClB;AAA8B;AACrC;MAEF;AAAA;IAEF;AAAA;AAIE;AAEA;AAEA;AACA;AACA;IAEF;AAGE;AAAc;AAAY;AAE1B;AACA;AACA;IACF;AAIE;AACE;AAIA;AAEA;AACE;AACA;QACF;AAAA;AACF;AAEA;AAEA;AACE;MAEF;AAAA;AAEA;IACF;AAAA;AAKE;AAEA;AACE;MACF;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAMA;AAMA;AACA;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AACF;AAIE;AACE;MACF;AAAA;AACF;AAIE;IACF;AAAA;AAGE;IACF;AAAA;AAMA;AACE;AAKA;AAEA;AACE;AACA;MACF;AAAA;AACF;AAIA;AACE;IACF;AAAA;AAGE;AACA;IACF;AACE;IACF;AAAA;AAIE;IAEF;AAAA;AAEA;AACA;AACA;EACF;AAEA;AACE;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AACU;AAAoB;AAGhC;AACE;EACF;AAAA;AAGE;EACF;AAAA;AAGE;EACF;AAAA;AAEE;EACF;AAAA;AAlsB8G;AAmsB9G;ACnsBA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAvD;ACAjD;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AACtB;ACDlF;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAxC;ACAhE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACI;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AACE;AACA;QACF;AAAA;AACF;AAEE;MACF;AAAA;IAEF;EACF;AAvFA;AAA6G;AAwF7G;ACxFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACA;AACA;AACA;EACF;AAAA;AAEE;AACA;AACE;AACA;AAAc;AAEhB;AACE;AACA;AACE;AACA;AACA;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACA;UACF;AACE;AACE;AACA;AACA;YACF;AACE;YACF;AAAA;AACF;QAEF;MACF;AAAA;IAEF;AAAA;EAEF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AAAuB;EAE3B;AAAA;AAEE;AACA;AACE;IACF;AAAA;EAEF;AAAA;AAlFgI;AAmFhI;ACnFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACE;IACF;EACF;AACA;AACE;AACA;AACA;EACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACE;UACF;AACE;UACF;AAAA;AACF;AACF;AAEE;MACF;AAAA;IAEF;AACE;IACF;EACF;AACA;AACE;AACI;AACA;AACA;AACJ;AACA;AACE;IACF;AAAA;AAEE;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;IACF;AAAA;AAEE;AACA;AACA;AACA;AAAiB;EAErB;AAAA;AA5GwJ;AA6GxJ;AC7GA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAAhC;ACAxE;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACA;AACJ;AACE;AACI;AACJ;AACA;AACE;IACF;EACF;AAXA;AAAmH;AAYnH;ACZA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;AACE;IACF;EACF;AANA;AAA8G;AAO9G;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACE;EACF;AALA;AAA8G;AAM9G;ACNA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAA6E;AAAe;AAD/G;AAAwG;AACU;ACDlH;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;AACI;AACA;AACJ;AACA;AACE;AAA2B;AAE7B;AACE;AACA;AACE;QACF;AACE;AACA;AACA;AACA;AACA;AACA;QACF;AAAA;AAEA;MACF;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAEF;AApCA;AAAuG;AAqCvG;ACrCA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;QACF;AAAA;AAEF;AACE;AACI;UACF;AAAG;IAET;AACA;AACE;AACI;AACA;AACJ;AACE;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAO;AAET;AACE;AAAe;AAEf;AAAc;AAEhB;AACE;AAAsB;AAC1B;IAEF;AACA;AACA;AACE;AACE;AACA;AACA;MACF;AACE;AACI;AACA;AACJ;AACE;AAAe;AAEf;AACA;QACF;AAAA;AAEE;AAAuB;AAEvB;AAAuB;MAE3B;AACA;IACF;AAAA;AAxJF;AAAsL;AA0JtL;AC1JA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;AACE;AAA+B;EAEnC;AANA;AAAwG;AAOxG;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AAAgC;AAAmD;EAErF;AAJA;AAAmG;AAIlG;ACJD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;IACF;AACE;AACA;IACF;AACE;AACE;AACA;AACA;AACE;AAA8C;AAElD;AACE;AACA;AACE;AACE;AACE;AAAuC;AAEzC;UACF;AAAE;AAEN;AACE;AACI;UACF;AAAG;AACT;AAEA;AACA;AACA;AACE;AAAiC;EAErC;AApDA;AAAoK;AAqDpK;ACrDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;IACF;EACF;AACI;IACF;AATF;AAA8G;AAU9G;ACVA;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AAA+C;AAE/C;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAvBJ;AAAqI;AAyBrI;ACzBA;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACJ;AACE;AACE;AACE;AAA+C;AAEjD;AACA;IACF;EACF;AAXA;AAA6G;AAY7G;ACZA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AAFA;AAA8G;AAG9G;ACHA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACA;AACA;AACA;AACA;AANA;AAAmI;AAOnI;ACPA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAA8C;AAAe;AADhF;AAAwG;AACrB;ACDnF;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACJ;AACE;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AAAiC;AAEnC;IACF;EACF;AAfA;AAA8G;AAgB9G;AChBA;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAmG;AAC9E;ACDrB;AAAA;AACI;AAAY;AAAe;AAA/B;AADA;AAAwG;AAExG;ACFA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACE;AACA;AACA;AACA;AAAkB;EAEtB;AARA;AAAmG;AAQlG;ACRD;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACI;MACF;EACJ;AALA;AAAwG;AAMxG;ACNA;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACJ;AACE;EACF;AACE;AACA;EACF;AARA;AAAoH;AASpH;ACTA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACJ;AACE;EACF;AACA;AACE;AACA;EACF;AAZA;AAA+H;AAa/H;ACbA;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;EACF;AAJA;AAAmG;AAIlG;ACJD;AAAA;AACI;AAAY;AAAe;AAA/B;AACI;AACA;AACJ;AACE;AACE;AACE;AACA;AAAS;AACT;AATN;AAAmH;AAWnH;ACXA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;EACF;AACA;AACE;AACA;AACE;AACE;AAAkB;AAElB;AACE;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAEL;AACE;MACF;IACF;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACE;AAA6C;AAE7C;AACA;AACE;QACF;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEA;AACA;AACE;AACE;AACA;AACA;AAAqD;AAEvD;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;AACA;AAAqB;AAZvB;AAAmG;AAalG;ACbD;AAAA;AACI;AAAY;AAAe;AAA/B;AACA;AACE;EACF;AAJA;AAAwG;AAKxG;ACLA;AAAA;AACI;AAAY;AAAe;AAA/B;AAAmB;AAAiE;AAAe;AADnG;AAAwG;AACF;ACDtG;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AACE;AACA;AACA;AACA;AACE;AAA0B;MAE9B;AAAA;AACF;AAEE;AACE;AAAmD;AAEnD;AAA0C;IAE9C;EACF;AACA;AAtBA;AAAuG;AAuBvG;ACvBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;MACF;AACA;IACF;EACF;AACA;AACE;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;IAEJ;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;AAEF;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACI;AACJ;AACE;AACA;MACF;AACA;IACF;EACF;AACA;AACE;AAAuB;AAErB;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE3B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AAAwB;AAEtB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;AACE;AAAY;EAEhB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AAAW;AAEX;AAAY;AAEZ;AAAY;AAChB;AACF;AAEA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACE;AACE;MACF;IACF;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAEF;AACE;AAAuB;AAErB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AArZA;AAAsG;AAsZtG;ACtZA;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;AAC4B;IAA8B;AAC1D;AAEI;IACJ;AACA;EACJ;AACA;AACA;AACI;AACA;AAEI;AAAwB;MAAW;AAAA;AACb;MAAS;AAAA;AACR;MAAU;AAAA;AACP;MAAa;AAAA;AACb;MAAa;AAAA;AACR;MAAkB;AAAA;IAErD;AACA;AAA6C;IAA8B;AAC3E;AAAyC;IAA6B;AACtE;AAAyC;IAAuB;AAChE;AAAgC;IAA2B;AAC3D;AAAuC;IAAsB;AAC7D;EACJ;AACA;AACA;AACI;AACA;AACA;AACI;AACA;AACI;MACJ;AAEI;MACJ;AAAA;AACJ;AAEI;IACJ;AAAA;EAEJ;AAAA;AAEA;AACA;AACI;AACI;AACI;MACJ;AAGI;AACA;AACI;AACA;AAEI;UACJ;AAAA;AACJ;AACJ;AACJ;EAEJ;AAAA;AAEA;AACI;AACA;AACA;AACA;AACI;AACA;IACJ;AAAA;EAEJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;EACJ;AAAA;AAEA;AACI;AAAuC;IAAc;EACzD;AAAA;AAEA;AACI;AAAuC;IAAc;EACzD;AAAA;AAEA;AACI;EACJ;AAAA;AA7dA;AAAkG;AA+dnE;AC/d/B;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AACF;AAEA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACA;EACF;AACA;AAvCA;AAAsG;AAwCtG;ACxCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AAAqB;AAEvB;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAU;AAEZ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAgB;AAElB;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AAAQ;MAEZ;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;AAAA;AAEE;AACA;AACE;UACF;AAAA;AACF;AACF;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACA;AACE;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEA;EACF;AAAA;AAjhBsH;AAkhBtH;AClhBA;;AAAA;AACI;AAAY;AAAe;AAE/B;AACE;AACE;IACF;AAAA;AAGF;AATA;AAAkG;AASzE;ACTzB;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACJ;AACE;AACA;AAAS;IAEb;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACI;AACJ;AACE;AACA;AACA;AAAS;IAEb;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AAAS;IAEb;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACJ;AACE;AACA;AAAS;IAEb;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACI;AACJ;AACE;AACA;AACA;AAAS;IAEb;AAAA;EAEF;AACA;AAxKA;AAAmH;AAyKnH;ACzKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAe;AAEjB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACJ;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AAvMA;AAAmH;AAwMnH;ACxMA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AACA;AACA;AACE;EACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA3CA;AAA0H;AA4C1H;AC5CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AAHA;AAAwG;AAIxG;ACJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AAJA;AAAwG;AAKxG;ACLA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AALA;AAAwG;AAMxG;ACNA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AA/EA;AAAmH;AAgFnH;AChFA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AArBA;AAAwJ;AAsBxJ;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAXA;AAAwG;AAYxG;ACZA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AAJA;AAAwG;AAKxG;ACLA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;AAAO;AAEP;AACA;AAAkC;AAjBpC;AAAgI;AAmBhI;ACnBA;;AAAA;AACI;AAAY;AAAe;AAI/B;AACI;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACI;AACA;AAAsB;AAAsB;AAAsB;AAAgC;AAAgC;AAClI;AACA;AACA;AACA;AACA;AACA;AACI;AACA;AACI;QACJ;AAAA;AAEI;QACJ;AAAA;AAEI;AACA;AACA;AACI;AACI;AACA;YACJ;AAEI;YACJ;AAAA;AAEJ;AACI;AACI;AACA;YACJ;AAEI;YACJ;AAAA;AAEJ;AACI;AACA;AAGI;AACI;cACJ;AAEI;cACJ;AAAA;AACJ;AAEJ;AACI;AACA;AACA;UACJ;AAAA;MAER;AAEI;MACJ;AAAA;AACJ;AAC2C;IAAmD;AAC9F;AAAgD;IAA2B;AAC3E;AACA;AAAuD;IAAkC;AACzF;AACA;AAAgD;IAA2B;AAC3E;AACA;EACJ;AACA;AApFA;AAAmG;AAqF5D;ACrFvC;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACI;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;YACF;AAAA;AAEF;AACE;AACA;UACF;AACA;AACE;AACA;UACF;AACA;AACE;UACF;AACA;AACE;UACF;AAAA;MAEJ;AAAA;AAEE;MACF;AACA;AACE;AACE;QACF;AAAA;AAEF;AACE;AACE;QACF;AAAA;AAEF;AACE;AACA;AACE;AACE;AACE;AACA;YACF;AACE;AACA;AACE;AACE;AACE;kBACF;gBACF;AACE;gBACF;AAAA;AACF;AACF;AACF;AACF;AAEF;AACA;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;EACF;AAxIA;AAAwH;AAyIxH;ACzIA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;AACA;MACF;AACA;AACE;AACE;AACA;AACE;AACA;UACF;QACF;MACF;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACE;AACE;UACF;AAAA;QAEF;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAAgC;AAEhC;AACE;IACF;AACA;EACF;AACA;AACE;EACF;AAAA;AAEA;AAxHA;AAAoI;AAyHpI;ACzHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AAAA;AAEA;AACA;AACE;IACF;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;AACE;IACF;AAAA;AAEE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AACF;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAEA;AACE;AACA;AACE;AACA;AACE;MACF;IACF;EACF;AAAA;AAEA;AACE;AAAwB;AAEtB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACE;QACF;AAAE;AACN;AAEE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AAA2B;AAEzB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACA;AACE;YACF;AAAA;AACF;AACF;AAEE;AACE;UACF;AACA;QACF;AACE;AACA;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;MACF;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;AACE;YACF;AACE;AACA;YACF;UACF;AAAA;AAEA;AACA;QACF;AAAA;AAEF;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACE;QACF;AAAA;MAEF;IACF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AACA;AACE;AACE;UACF;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AAAwB;AAE1B;AACE;AACA;AACA;AAAO;AAEP;AACA;AAA2B;AA1X7B;AAAkK;AA4XlK;AC5XA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AAAmC;EAErC;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AAAA;MAEF;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACA;MACF;IACF;AACA;AACA;AACA;EACF;AACA;AApDA;AAAyH;AAqDzH;ACrDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AAAwD;AAExD;AACA;AAAkD;AAElD;AACA;AAAkD;AAElD;AACA;AAA2D;AApB7D;AAAsI;AAsBtI;ACtBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACJ;AACA;AAIA;AAhBA;AAAmG;AA0BzD;AC1B1C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AAAyB;AAEvB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;EACF;AACA;AA3JA;AAAkH;AA4JlH;AC5JA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAA8B;EAEhC;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACE;IACF;AAAA;AAEE;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACA;AACA;EACF;AACA;AA1CA;AAAoI;AA2CpI;AC3CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACI;AACA;AACI;AACA;MACJ;IACJ;AAAA;EAEJ;AACA;AACA;AACI;AACA;AAC0C;IAA6B;AACvE;AAA4C;IAA4B;AAGxE;AACI;IACJ;AACA;AACI;AACI;AAA0B;IAElC;AACA;AACI;IACJ;AACA;AACI;AACI;AACI;QACJ;AAEI;QACJ;AAAA;IAER;AACA;AACI;IACJ;AACA;AAA4C;IAA+B;AAC3E;AAAyC;IAA+B;AACxE;EACJ;AACA;AAhDA;AAAmG;AAiDjE;ACjDlC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEF;EACF;AACA;AAtCA;AAAwG;AAuCxG;ACvCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AAAyB;EAAS;AAAA;AAFlC;AAAmG;AAI9D;ACJrC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAUA;AACI;AACA;AACI;AACA;IACJ;AAAA;EAEJ;AACA;AAxBA;AAAmG;AAyBjD;ACzBlD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;AAEA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;IACF;AAAA;EAEF;AA9LA;AAA0I;AA+L1I;AC/LA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACE;AACA;UACF;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;YACF;AAAA;AAEA;AACE;YACF;AAAA;AAEA;AACE;YACF;UACF;QACF;AAAA;AAEA;AACE;AACE;AACE;AACA;AAAqB;UAEzB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACE;AACA;AAAqB;YAEzB;AAAA;AAEA;AACE;AACE;AACA;AAAqB;YAEzB;AAAA;AAEA;AACE;YACF;UACF;QACF;AAAA;AACF;AAEF;EACF;AACA;AACA;AACE;AACI;AACJ;AACE;AACA;IACF;AAAA;AACF;AAEE;AACI;AACJ;AACE;IACF;AAAA;AACF;AA3G4G;AA4G5G;AC5GA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;IACF;AAAA;AAEE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;IACF;EACF;AAAA;AAzBA;AAAuG;AA2BvG;AC3BA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEA;EACF;AAAA;AAjBwG;AAkBxG;AClBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AAAmD;EAA0C;AAF7F;AAAmG;AAGjE;ACHlC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;EACJ;AAAA;AAJA;AAAmG;AAMhE;ACNnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;EACJ;AAAA;AAJA;AAAmG;AAM9D;ACNrC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AACE;AACA;IACF;AAAA;AACF;AAEE;AACA;EACF;AAAA;AAEA;AAjBA;AAAwG;AAkBxG;AClBA;;AAAA;AACI;AAAY;AAAe;AAE/B;AAHA;AAAmG;AAI7D;ACJtC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAKA;AACI;AACA;AACI;AACA;AACA;AACA;AAAqH;MAA0C;IACnK;AAAA;EAEJ;AACA;AArBA;AAAmG;AAsBrD;ACtB9C;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AACF;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACI;AACA;AACJ;AACA;AACE;AACA;AACE;AACA;UACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACE;gBACF;AACE;gBACF;AAAA;AACF;AACF;AACF;AACF;AAEE;QACF;AAAA;AAEF;AACE;AACE;QACF;AAAA;AAEA;AACE;AACE;AAAgC;AAEhC;AACE;YACF;AACE;YACF;AACE;YACF;AAAA;AACK;AAEL;AADK;AAGT;MACF;AACA;AACE;AACE;QACF;AAAA;AAEA;AACE;AACA;AACE;UACF;AAAA;AACF;AAEF;AACE;AACA;MACF;AACA;IACF;AACA;EACF;AAnGA;AAA2I;AAoG3I;ACpGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AAAwB;IAAW;AACnC;AAAwB;AAN5B;AAAmG;AAQhE;ACRnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACE;AACA;UACF;AAAA;AAEE;AACE;AACA;YACF;AACE;AACA;YACF;AAAA;UAEF;AAAA;AAEA;AACA;AACA;AAHK;IAKX;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACE;MACF;AACE;AACA;AACA;AACA;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;AACE;AACE;AACA;UACF;AACE;AACA;UACF;AAAA;AAEA;AACA;QACF;AACE;AACA;AACA;QACF;AAAA;AACF;AAEF;AACE;AACE;AACA;AACE;AACE;AACA;UACF;AACE;AACA;UACF;AAAA;AAEA;QACF;AAAA;AACF;AAEF;AACE;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;EACF;AA9LA;AAA0H;AA+L1H;AC/LA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;AACA;AACA;AACA;AACA;AAAiB;AAErB;AAEA;AACA;AACA;AACA;AACI;EACJ;AAAA;AAjBmG;AAkBpE;AClB/B;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AAJA;AAAwG;AAKxG;ACLA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAbA;AAA8G;AAe9G;ACfA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;AACE;QACF;AACE;QACF;AAAA;AACF;AAEE;MACF;AAAA;AAEE;AACE;AACE;AACE;YACF;AACE;AACA;YACF;AAAA;AAEA;UACF;AAAA;MAEJ;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AApEA;AAAmH;AAqEnH;ACrEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AAAyB;AAEvB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA8B;AAE5B;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACA;AAAmB;IAEvB;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEA;AACE;AACE;UACF;QACF;AACE;QACF;AACA;AACE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AAEE;AACE;AACE;YACF;UACF;AACE;UACF;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAnKA;AAAiI;AAoKjI;ACpKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AAAoB;AAElB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AAzGA;AAA6G;AA0G7G;AC1GA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;EACF;AACA;AAnCA;AAAwG;AAoCxG;ACpCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AACF;AAEE;AACA;AACA;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAET;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACA;AACE;AACA;AACE;AAAM;AAEN;MACF;AAAA;AAEA;AACE;AAAgE;AAElE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;AACE;QACF;AAAA;AAEA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACA;AACE;AACA;AACE;QACF;AACE;AACA;QACF;AAAA;IAEJ;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;AACF;AACF;AAEA;IACF;AAAA;EAEF;AAAA;AAjUyK;AAkUzK;AClUA;;AAAA;AACI;AAAY;AAAe;AAQ/B;AACI;AACA;AACA;AACA;AACA;AACA;EACJ;AACA;AAKA;AACI;AACA;EAEJ;AACA;AA3BA;AAAmG;AA4BhE;AC5BnC;;AAAA;AACI;AAAY;AAAe;AAU/B;AACI;AACI;IACJ;AAAA;EAEJ;AACA;AAjBA;AAAmG;AAkB7D;AClBtC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;MACF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;AACE;IACF;AAAA;EAEF;AAAA;AAEA;AACE;AACA;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAnCA;AAAuG;AAqCvG;ACrCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;EACF;AAAA;AAEE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AACA;AACE;EACF;AAlBA;AAAwG;AAmBxG;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AAA6B;AAE3B;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AAAmB;AAErB;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AAAuB;AAEzB;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AAAuB;AAEzB;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AArJA;AAAwH;AAsJxH;ACtJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;AACE;AACE;UACF;AAAA;MAEJ;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACE;AACA;MACF;AAAA;AAEA;AACA;AACE;AACA;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;EACF;AACA;AA9FA;AAAoI;AA+FpI;AC/FA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AAnCA;AAAuG;AAoCvG;ACpCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;AACA;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACE;AACE;UACF;AAAA;QAEF;AACA;AAAkF;IAEtF;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AA1CA;AAAwH;AA2CxH;AC3CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAAyC;AAEvC;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAe;AAEf;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AACA;UACF;AACE;AACE;YACF;AAAA;AAEE;AAAqC;AACzC;QAEF;AAAA;AAEA;AACA;AACE;AACA;AACE;AACA;UACF;AACE;AACE;YACF;AAAA;AAEE;AAAsC;AAC1C;AAEA;QACF;AACA;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEA;AACE;AACE;AAAqC;MAEzC;AACE;AACA;AACE;AACE;AAAqC;QAEzC;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;AACA;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;AACA;MACF;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;AACA;AACE;MACF;AACA;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;AACE;AACA;AACA;MACF;AACE;AACA;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;IAEF;AACA;EACF;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AA1eA;AAAkH;AA2elH;AC3eA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;AACA;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACE;AACE;UACF;AAAA;QAEF;AACA;AAAkF;IAEtF;AACA;AACE;AACE;MACF;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AA1CA;AAAwH;AA2CxH;AC3CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAAyC;AAEvC;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAiD;AAEjD;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;AAEF;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACA;UACF;AAAA;AAEA;AACA;AACE;AACA;AACA;UACF;AAAA;AAEE;UACF;AACE;AACA;AACA;AACA;UACF;AAAA;AACF;AAEE;AACE;UACF;AAAA;AAEE;UACF;AACE;UACF;AAAA;AACF;AAEA;AACA;MACF;AACA;AACA;IACF;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;MACF;AAAA;AAEF;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEA;AACA;AACA;MACF;AAAA;AAEE;AACA;AACA;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;AACE;MACF;AACE;AACA;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;MACF;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AAzQA;AAAkH;AA0QlH;AC1QA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACA;EACF;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;EACF;AACA;AACA;AACA;AACA;AACE;EACF;AAAA;AAtBA;AAAuG;AAwBvG;ACxBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AACA;EAEJ;AACA;AAPA;AAAmG;AAQrD;ACR9C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AApCA;AAA4I;AAqC5I;ACrCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAAqB;AAEnB;IACF;AACA;AACA;EACF;AACA;AAbA;AAAuG;AAcvG;ACdA;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AAEE;AACA;QACF;AAAA;AACF;AAEE;AACE;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;AAErB;AAAqB;MAEzB;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACA;AACE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;AAEE;AACE;UACF;AAAA;QAEF;AAAA;MAEF;AACA;AACE;AACE;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;AAEhB;AAAgB;MAEpB;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;MACF;AACA;AACE;AACA;AACE;AACE;AACE;YACF;AAAA;UAEF;AAAA;AACF;MAEF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AAA+B;AAE7B;MACF;AACA;AACE;AACE;QACF;AAAA;AAEA;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;IACF;AACA;AACA;AACE;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AAAA;AAEE;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;QACF;AACA;AACA;AAAiB;AAEnB;AACE;AACA;MACF;AACA;AACE;AACA;AACA;AACA;MACF;AACA;AACE;MACF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;MAEF;AACA;AACE;AACE;AACA;AACE;UACF;AAAA;QAEF;AACE;QACF;AAAA;AAEF;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;QACF;AACE;AACE;UACF;AAAA;QAEF;AAAA;AAEA;AACE;AACE;AACE;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AACA;AAAK;AAEL;AADK;QAGX;AACE;QACF;AAAA;MAEF;AACA;AACE;MACF;AACA;AACE;AACE;QACF;AAAA;AAEE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACA;MACF;AACA;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AAEE;AACA;AACA;AACE;AAAU;QAEd;AAAA;AAEE;QACF;AACE;QACF;AAAA;AAEF;AACE;AACE;AACE;UACF;QACF;AACA;AACA;AAAiB;AAEnB;AACE;MACF;AACA;IACF;AACA;AACA;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AAAA;AA3lBF;AAAgJ;AA6lBhJ;AC7lBA;;AAAA;AACI;AAAY;AAAe;AAK/B;AACI;AACA;EAEJ;AACA;AAXA;AAAmG;AAYxD;ACZ3C;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;AAEA;AACE;MACF;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AApJwH;AAqJxH;ACrJA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AAPA;AAA8G;AAQ9G;ACRA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACA;AACE;AACA;AACA;IACF;AACE;AACE;MACF;AACA;IACF;AACE;AACA;IACF;AACE;AACE;MACF;AACA;IACF;AAAA;EAEF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;AACA;AACA;EACF;AAAA;AAEA;AACE;AACE;AACA;AACA;AACE;AACE;QACF;AAAA;AAEE;AACE;UACF;AAAA;AAEA;QACF;AAAA;AAEA;AACA;AACE;QACF;AACE;QACF;AAAA;MAEF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;AACE;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AAAA;AAEF;EACF;AAAA;AAEE;AACE;IACF;AACE;AACE;MACF;AACA;AACE;MACF;IACF;AAAA;AACF;AAEA;AACE;AACA;AACE;AAAS;AAET;IACF;AAAA;AAEE;IACF;EACF;AAAA;AAEE;AACA;AACA;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AACF;AAEA;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;MACF;AACE;AACE;QACF;AAAA;MAEF;AAAA;AACF;AAEA;AACE;IACF;AACE;IACF;AAAA;AACF;AAEE;EACF;AAAA;AArMuJ;AAsMvJ;ACtMA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACA;AACE;IACF;AACA;EACF;AAAA;AAEA;AACE;AACE;IACF;AACE;IACF;AAAA;AACF;AAjBA;AAAuG;AAmBvG;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACE;MACF;AAAA;AACF;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;AAAY;AAEZ;MACF;AAAA;AAEA;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AAzDA;AAAkH;AA0DlH;AC1DA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;AACA;MACF;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEE;AACE;AACA;AACE;MACF;AACA;IACF;AACE;IACF;AAAA;AACF;AAEE;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACE;AACA;MACF;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACE;MACF;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;AAEE;AACA;AACI;AACF;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AACA;AACE;AACA;AACE;IACF;AAAA;EAEF;AACA;AAlKA;AAAkH;AAmKlH;ACnKA;;AAAA;AACI;AAAY;AAAe;AAuB/B;AACI;AACI;IACJ;AAAA;AAC+C;IAA8B;AAC7E;EACJ;AACA;AA/BA;AAAmG;AAgC5D;AChCvC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA3CA;AAA8J;AA4C9J;AC5CA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;EACF;AAAA;AAEE;AACA;AACA;AAAO;AAET;AACE;EACF;AAAA;AAEA;AACA;AAlBA;AAA6G;AAmB7G;ACnBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACA;AACE;AACA;AACE;AACA;AAAkC;AACnC;AAEH;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACE;AACA;AACE;AACA;AACA;AACE;AACE;UACF;AAAA;AACF;AAEA;MACF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;AACA;AACE;IACF;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;IACF;AAAA;EAEF;AAAA;AAEA;AACA;AACE;AACE;AACE;AAAsC;AAEtC;AAAmE;AAEnE;AAAgG;AAEhG;AAA6H;AAE7H;AAA0J;AAE1J;AAAuL;AAEvL;AAAoN;AAEpN;AAAiP;AAEjP;AAA8Q;AAE9Q;AADK;EAGX;AAAA;AAEA;AACE;EACF;AAAA;AAEE;AACE;AACE;MACF;AAAA;IAEF;AACE;IACF;AAAA;AACF;AAEA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;EAEF;AAAA;AAEA;AACE;AACA;AACA;AACE;IACF;AAAA;AAEA;AACE;AACA;AACE;MACF;AAAA;AACF;EAEF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACA;AACA;AACE;AACA;AACA;AACA;AACE;AACE;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACJ;AACA;AACE;AACE;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AAEA;AACE;AACA;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACE;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;EACF;AAAA;AA7WA;AAAkK;AA+WlK;AC/WA;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AAEA;AACI;AACA;AACI;IACJ;AACI;IACJ;AAAA;AAEI;IACJ;AAAA;AACJ;AAGI;AACI;IACJ;AAAA;AAEA;AAEA;AACA;AACI;AACA;AACA;AACI;AACI;QACJ;AAAA;AACJ;AAEA;IACJ;AAAA;AAEA;AACA;EACJ;AAAA;AAGI;AACA;AACI;AACI;MACJ;AAAA;AACJ;AAEA;AACI;IACJ;AAAA;AAIJ;AACI;AACA;EACJ;AAAA;AAEI;EACJ;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAAiB;AAGjB;AACA;AACA;AACA;AACA;AACA;AAEA;AACI;EACJ;AAEA;AAA4B;EAAW;AACvC;AACI;EACJ;AACA;AAA6B;EAAU;AA1FvC;AAAmG;AA2FnG;AC3FA;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAA/C;ACAzD;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAwG;AAArC;ACAnE;AAAA;AACI;AAAY;AAAe;AAD/B;AAAA;AAAuG;AAAnC;ACApE;AAAA;AACI;AAAY;AAAe;AAA/B;AACE;AACA;AACE;AACA;AACA;IACF;AACA;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;MACF;AAAA;IAEF;AACA;EACF;AA/BA;AAAuG;AAgCvG;AChCA;;AAAA;AACI;AAAY;AAAe;AAC/B;AAGI;AAGA;AAGA;EACJ;AACA;AAbA;AAAmG;AAc/D;ACdpC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AACE;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACE;QACF;AACE;QACF;AAAA;AAEF;AACA;AAAiB;AAEnB;AACE;AACE;AACA;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACA;AACA;AACA;AACE;AACA;AACE;AACA;AACE;YACF;AACE;YACF;AAAA;UAEF;QACF;AAAA;MAEF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AAlHA;AAAmH;AAmHnH;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACE;AACE;IACF;AACE;IACF;AACE;IACF;AAAA;AACF;AAEA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AAtDA;AAA6G;AAuD7G;ACvDA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACE;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;EAEF;AACA;AACA;AACE;AAA4B;AAE1B;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AAAqB;EAEvB;AACA;AACA;AACE;AAAyB;EAE3B;AACA;AAtEA;AAAuG;AAuEvG;ACvEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AAAwB;AAEtB;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;IACF;AAAA;AAEE;AACA;AACE;MACF;AAAA;AAEA;IACF;AACA;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AAjDA;AAAuG;AAkDvG;AClDA;;AAAA;AACI;AAAY;AAAe;AAI/B;AAAqB;AALrB;AAAmG;AAOhE;ACPnC;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;AACE;AACE;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAED;AACE;UACF;AAAC;AAEL;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AACE;MACF;AAAA;AAEE;AACE;QACF;AACE;QACF;AACE;QACF;AAAA;AAEE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACA;AACE;QACF;AACA;AACE;QACF;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AACF;AAEA;AACA;IACF;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;AACE;AAAkB;AACtB;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;MAEF;AAAA;AAEE;AACA;AACA;AACE;QACF;AACA;MACF;AAAA;AAEE;AACA;AACE;AAAmB;AACvB;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;AACA;AACA;IACF;EACF;AAAA;AA3N4G;AA4N5G;AC5NA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACE;AACA;IACF;AAAA;AAEA;EACF;AACA;AACA;AACE;AACE;AACA;AACA;AACE;MACF;AACE;MACF;AAAA;IAEF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;AACA;AACA;AACE;AACA;AACE;UACF;AAAA;QAEF;AAAA;AACF;AAEF;AACE;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AAEF;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;AACE;QACF;AAAA;IAEJ;AACA;EACF;AACA;AACA;AACE;AACE;IACF;EACF;AAAA;AAEA;AACE;AACE;AACE;AACE;QACF;AAAA;MAEF;AAAA;EAEJ;AAAA;AAEE;AACE;AACE;AACE;QACF;AAAA;AAEE;QACF;AAAA;IAEJ;AAAA;AACF;AAEA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AAtMA;AAA6G;AAwM7G;ACxMA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;AACA;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACA;AACA;IACF;AACA;AACE;AACA;AACE;AACA;AACE;QACF;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;AACA;AACE;AACA;AACE;UACF;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACE;AACA;AACE;QACF;AAAA;AAEF;IACF;AACA;AACE;AACE;MACF;AACA;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AA9HA;AAA6G;AA+H7G;AC/HA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACI;AAAiB;AAAyB;AAAW;AACrC;IAAsB;AAAA;EAE1C;AAMA;AACI;AACA;AACI;IACJ;AAAA;AAEI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAa;AAChC;AACA;AAAiB;AAErB;AACI;AAAmB;MAAW;AAC9B;AACA;AAAiB;AAErB;EACJ;AACA;AAjDA;AAAmG;AAkDlD;AClDjD;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;AACA;MACF;AAAA;IAEF;EACF;AACA;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACA;AACE;MACF;AACA;IACF;EACF;AACA;AACE;AACE;AACE;AACA;AACA;AACE;QACF;AAAA;IAEJ;AACE;AACE;AACE;QACF;MACF;IACF;AAAA;AAEF;AACE;AACE;AACE;AACE;QACF;MACF;AAAA;AACW;AAEX;AACI;AACJ;AACE;AACA;MACF;AACA;IACF;EACF;AACA;AACE;AAAuB;AAErB;IACF;AACA;AACE;AACA;AACE;MACF;AAAA;IAEF;AACA;AACE;AACA;AACE;MACF;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AACA;AACE;AAA6B;AAE3B;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACA;MACF;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;QACF;AAAA;AACF;AAEF;AACE;AACA;AACE;AACE;QACF;AAAA;AACF;AAEE;AACE;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;AACE;MACF;AAAA;AAEA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AACA;AACE;AAAwB;AAEtB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;AAAW;IAEf;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACA;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;AACA;MACF;AAAA;AAEF;AACE;AACA;AACE;AACA;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAY;AAEZ;AACE;AAAY;AAChB;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AACE;MACF;AAAA;AAEF;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;AACE;AACA;AACE;QACF;AAAA;AAEA;AACE;AACA;QACF;AAAA;AACF;IAEF;AACA;AACE;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEF;EACF;AACA;AACA;AACE;AACE;AACE;AACA;AACE;QACF;AACE;QACF;AAAA;AACF;AACF;EAEF;AAAA;AAEE;AACE;AAAY;EAEhB;AAAA;AAEA;AACE;AACA;AACA;AACE;AACA;AACA;AACE;AAAW;AAEX;AAAY;AAEZ;AAAY;AAChB;AACF;AAEA;AACE;AACE;AACE;MACF;AAAA;AAEA;AACA;AACA;AACE;MACF;AAAA;AACF;AACF;AAEA;AACE;AACA;AACE;AACE;MACF;IACF;AACE;AACE;AACA;AACE;AACE;UACF;AAAA;AACF;MAEF;IACF;AAAA;AAEF;AACE;AAAuB;AAErB;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;EACF;AACA;AArZA;AAAuG;AAsZvG;ACtZA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AACE;IACF;AAAA;AAEE;IACF;AACA;AACE;IACF;AACA;AACE;IACF;AACA;AACA;AACA;EACF;AACA;AACE;AACE;AACE;MACF;AAAA;AAEA;IACF;AAAA;AAEE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;IACF;AACA;AACE;AACE;MACF;AAAA;AAEE;MACF;AAAA;AAEA;AACA;AACA;AACA;AACE;AACA;MACF;AAAA;AAEE;MACF;AAAA;AAEE;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEE;AACA;MACF;AAAA;AAEA;AACE;AAAe;AAEnB;AACE;IACF;AACA;AACE;IACF;AACA;AACE;AACE;AACE;AAAW;MAEf;AACE;MACF;AAAA;AAEF;AACE;AACE;AAAW;AAEb;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;AAAW;AAEb;AACA;AACE;AACA;AACE;QACF;AAAA;AACF;IAEF;AACA;EACF;AACA;AAlHA;AAAmH;AAmHnH;ACnHA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACE;AACE;MACF;AAAA;AAEA;AACA;IACF;AAAA;AAEE;IACF;AACA;EACF;AACA;AACA;AACE;AACA;AACE;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;IACF;AACA;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;EACF;AAAA;AA/FA;AAA6G;AAiG7G;ACjGA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAW;AAEb;IACF;AAAA;EAEF;AACA;AACA;AACA;AACE;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;IACF;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;AACA;AACA;AACA;AACA;AACA;AAAW;IAEf;AAAA;AAEE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;AACE;AACE;MACF;AACA;AACA;AAAiB;AAEnB;EACF;AACA;AACA;AACE;EACF;AAAA;AAEA;AACE;AACE;IACF;AAAA;AAEE;AACE;MACF;AAAA;IAEF;AACA;AACE;IACF;AACA;AACE;AACE;MACF;AAAA;IAEF;AACA;AACE;AACE;MACF;AAAA;AAEE;AACA;AAAiB;IAErB;AACA;EACF;AACA;AACA;AACE;AACI;AACA;AACA;AACA;AACA;AACJ;AACE;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AACE;AACA;AACA;AACE;AACA;AACA;AACA;AACA;QACF;AACA;AACA;AACA;AACE;AAAsB;MAE1B;AAAA;AACF;AAEA;AACA;EACF;AAAA;AAEA;AACE;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AACE;AACA;MACF;AAAA;AAEE;AACA;AACA;AACE;QACF;AAAA;AAEA;AACA;AACA;AACA;MACF;AAAA;AACF;AAEA;AACA;EACF;AAAA;AAEA;AACE;AACE;AACA;AACE;MACF;AAAA;AAEA;AACA;AACE;MACF;AACE;AACE;AACA;AACA;AACA;AACA;QACF;MACF;AAAA;AACF;AAEA;AACA;EACF;AAAA;AAnKA;AAAuG;AAqKvG;ACrKA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA;AAA8G;AAU9G;ACVA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACE;AAAoB;AAElB;IACF;AACA;AACE;IACF;AACA;AACA;EACF;AACA;AAhBA;AAA6G;AAiB7G;ACjBA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAuB;AAtEzB;AAAgO;AAwEhO;ACxEA;;AAAA;AACI;AAAY;AAAe;AAC/B;AACE;AACE;AACE;AAAiB;AACvB;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AA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","file":"dist/redoc.js","sourcesContent":["/*eslint no-unused-vars: 0*/\n/*eslint strict: 0*/\nvar $buoop = { vs: {i:9, f:25, o:12.1, s:7}, c:2 };\nfunction $buo_f(){\n var e = document.createElement('script');\n e.src = '//browser-update.org/update.min.js';\n document.body.appendChild(e);\n}\ntry {document.addEventListener('DOMContentLoaded', $buo_f, false);}\ncatch(e){window.attachEvent('onload', $buo_f);}\n","/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\t__webpack_require__(1);\n\tvar event_target_1 = __webpack_require__(2);\n\tvar define_property_1 = __webpack_require__(4);\n\tvar register_element_1 = __webpack_require__(5);\n\tvar property_descriptor_1 = __webpack_require__(6);\n\tvar timers_1 = __webpack_require__(8);\n\tvar utils_1 = __webpack_require__(3);\n\tvar set = 'set';\n\tvar clear = 'clear';\n\tvar blockingMethods = ['alert', 'prompt', 'confirm'];\n\tvar _global = typeof window == 'undefined' ? global : window;\n\ttimers_1.patchTimer(_global, set, clear, 'Timeout');\n\ttimers_1.patchTimer(_global, set, clear, 'Interval');\n\ttimers_1.patchTimer(_global, set, clear, 'Immediate');\n\ttimers_1.patchTimer(_global, 'request', 'cancelMacroTask', 'AnimationFrame');\n\ttimers_1.patchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n\ttimers_1.patchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n\tfor (var i = 0; i < blockingMethods.length; i++) {\n\t var name = blockingMethods[i];\n\t utils_1.patchMethod(_global, name, function (delegate, symbol, name) {\n\t return function (s, args) {\n\t return Zone.current.run(delegate, _global, args, name);\n\t };\n\t });\n\t}\n\tevent_target_1.eventTargetPatch(_global);\n\tproperty_descriptor_1.propertyDescriptorPatch(_global);\n\tutils_1.patchClass('MutationObserver');\n\tutils_1.patchClass('WebKitMutationObserver');\n\tutils_1.patchClass('FileReader');\n\tdefine_property_1.propertyPatch();\n\tregister_element_1.registerElementPatch(_global);\n\t// Treat XMLHTTPRequest as a macrotask.\n\tpatchXHR(_global);\n\tvar XHR_TASK = utils_1.zoneSymbol('xhrTask');\n\tfunction patchXHR(window) {\n\t function findPendingTask(target) {\n\t var pendingTask = target[XHR_TASK];\n\t return pendingTask;\n\t }\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.target.addEventListener('readystatechange', function () {\n\t if (data.target.readyState === XMLHttpRequest.DONE) {\n\t if (!data.aborted) {\n\t task.invoke();\n\t }\n\t }\n\t });\n\t var storedTask = data.target[XHR_TASK];\n\t if (!storedTask) {\n\t data.target[XHR_TASK] = task;\n\t }\n\t setNative.apply(data.target, data.args);\n\t return task;\n\t }\n\t function placeholderCallback() {\n\t }\n\t function clearTask(task) {\n\t var data = task.data;\n\t // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n\t // to prevent it from firing. So instead, we store info for the event listener.\n\t data.aborted = true;\n\t return clearNative.apply(data.target, data.args);\n\t }\n\t var setNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n\t var zone = Zone.current;\n\t var options = {\n\t target: self,\n\t isPeriodic: false,\n\t delay: null,\n\t args: args,\n\t aborted: false\n\t };\n\t return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n\t }; });\n\t var clearNative = utils_1.patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n\t var task = findPendingTask(self);\n\t if (task && typeof task.type == 'string') {\n\t // If the XHR has already completed, do nothing.\n\t if (task.cancelFn == null) {\n\t return;\n\t }\n\t task.zone.cancelTask(task);\n\t }\n\t // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task to cancel. Do nothing.\n\t }; });\n\t}\n\t/// GEO_LOCATION\n\tif (_global['navigator'] && _global['navigator'].geolocation) {\n\t utils_1.patchPrototype(_global['navigator'].geolocation, [\n\t 'getCurrentPosition',\n\t 'watchPosition'\n\t ]);\n\t}\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {;\n\t;\n\tvar Zone = (function (global) {\n\t var Zone = (function () {\n\t function Zone(parent, zoneSpec) {\n\t this._properties = null;\n\t this._parent = parent;\n\t this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';\n\t this._properties = zoneSpec && zoneSpec.properties || {};\n\t this._zoneDelegate = new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n\t }\n\t Object.defineProperty(Zone, \"current\", {\n\t get: function () { return _currentZone; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone, \"currentTask\", {\n\t get: function () { return _currentTask; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone.prototype, \"parent\", {\n\t get: function () { return this._parent; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(Zone.prototype, \"name\", {\n\t get: function () { return this._name; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Zone.prototype.get = function (key) {\n\t var current = this;\n\t while (current) {\n\t if (current._properties.hasOwnProperty(key)) {\n\t return current._properties[key];\n\t }\n\t current = current._parent;\n\t }\n\t };\n\t Zone.prototype.fork = function (zoneSpec) {\n\t if (!zoneSpec)\n\t throw new Error('ZoneSpec required!');\n\t return this._zoneDelegate.fork(this, zoneSpec);\n\t };\n\t Zone.prototype.wrap = function (callback, source) {\n\t if (typeof callback !== 'function') {\n\t throw new Error('Expecting function got: ' + callback);\n\t }\n\t var _callback = this._zoneDelegate.intercept(this, callback, source);\n\t var zone = this;\n\t return function () {\n\t return zone.runGuarded(_callback, this, arguments, source);\n\t };\n\t };\n\t Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n\t task.runCount++;\n\t if (task.zone != this)\n\t throw new Error('A task can only be run in the zone which created it! (Creation: ' +\n\t task.zone.name + '; Execution: ' + this.name + ')');\n\t var previousTask = _currentTask;\n\t _currentTask = task;\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n\t task.cancelFn = null;\n\t }\n\t try {\n\t return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t _currentTask = previousTask;\n\t }\n\t };\n\t Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n\t };\n\t Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.cancelTask = function (task) {\n\t var value = this._zoneDelegate.cancelTask(this, task);\n\t task.runCount = -1;\n\t task.cancelFn = null;\n\t return value;\n\t };\n\t Zone.__symbol__ = __symbol__;\n\t return Zone;\n\t }());\n\t ;\n\t var ZoneDelegate = (function () {\n\t function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n\t this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n\t this.zone = zone;\n\t this._parentDelegate = parentDelegate;\n\t this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n\t this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n\t this._interceptZS = zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n\t this._interceptDlgt = zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n\t this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n\t this._invokeDlgt = zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n\t this._handleErrorZS = zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n\t this._handleErrorDlgt = zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n\t this._scheduleTaskZS = zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n\t this._scheduleTaskDlgt = zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n\t this._invokeTaskZS = zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n\t this._invokeTaskDlgt = zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n\t this._cancelTaskZS = zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n\t this._cancelTaskDlgt = zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n\t this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n\t this._hasTaskDlgt = zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n\t }\n\t ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n\t return this._forkZS\n\t ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec)\n\t : new Zone(targetZone, zoneSpec);\n\t };\n\t ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n\t return this._interceptZS\n\t ? this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source)\n\t : callback;\n\t };\n\t ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n\t return this._invokeZS\n\t ? this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source)\n\t : callback.apply(applyThis, applyArgs);\n\t };\n\t ZoneDelegate.prototype.handleError = function (targetZone, error) {\n\t return this._handleErrorZS\n\t ? this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error)\n\t : true;\n\t };\n\t ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n\t try {\n\t if (this._scheduleTaskZS) {\n\t return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (task.scheduleFn) {\n\t task.scheduleFn(task);\n\t }\n\t else if (task.type == 'microTask') {\n\t scheduleMicroTask(task);\n\t }\n\t else {\n\t throw new Error('Task is missing scheduleFn.');\n\t }\n\t return task;\n\t }\n\t finally {\n\t if (targetZone == this.zone) {\n\t this._updateTaskCount(task.type, 1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n\t try {\n\t return this._invokeTaskZS\n\t ? this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs)\n\t : task.callback.apply(applyThis, applyArgs);\n\t }\n\t finally {\n\t if (targetZone == this.zone && (task.type != 'eventTask') && !(task.data && task.data.isPeriodic)) {\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n\t var value;\n\t if (this._cancelTaskZS) {\n\t value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (!task.cancelFn) {\n\t throw new Error('Task does not support cancellation, or is already canceled.');\n\t }\n\t else {\n\t value = task.cancelFn(task);\n\t }\n\t if (targetZone == this.zone) {\n\t // this should not be in the finally block, because exceptions assume not canceled.\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t return value;\n\t };\n\t ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n\t return this._hasTaskZS && this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n\t };\n\t ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n\t var counts = this._taskCounts;\n\t var prev = counts[type];\n\t var next = counts[type] = prev + count;\n\t if (next < 0) {\n\t throw new Error('More tasks executed then were scheduled.');\n\t }\n\t if (prev == 0 || next == 0) {\n\t var isEmpty = {\n\t microTask: counts.microTask > 0,\n\t macroTask: counts.macroTask > 0,\n\t eventTask: counts.eventTask > 0,\n\t change: type\n\t };\n\t try {\n\t this.hasTask(this.zone, isEmpty);\n\t }\n\t finally {\n\t if (this._parentDelegate) {\n\t this._parentDelegate._updateTaskCount(type, count);\n\t }\n\t }\n\t }\n\t };\n\t return ZoneDelegate;\n\t }());\n\t var ZoneTask = (function () {\n\t function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n\t this.runCount = 0;\n\t this.type = type;\n\t this.zone = zone;\n\t this.source = source;\n\t this.data = options;\n\t this.scheduleFn = scheduleFn;\n\t this.cancelFn = cancelFn;\n\t this.callback = callback;\n\t var self = this;\n\t this.invoke = function () {\n\t try {\n\t return zone.runTask(self, this, arguments);\n\t }\n\t finally {\n\t drainMicroTaskQueue();\n\t }\n\t };\n\t }\n\t return ZoneTask;\n\t }());\n\t function __symbol__(name) { return '__zone_symbol__' + name; }\n\t ;\n\t var symbolSetTimeout = __symbol__('setTimeout');\n\t var symbolPromise = __symbol__('Promise');\n\t var symbolThen = __symbol__('then');\n\t var _currentZone = new Zone(null, null);\n\t var _currentTask = null;\n\t var _microTaskQueue = [];\n\t var _isDrainingMicrotaskQueue = false;\n\t var _uncaughtPromiseErrors = [];\n\t var _drainScheduled = false;\n\t function scheduleQueueDrain() {\n\t if (!_drainScheduled && !_currentTask && _microTaskQueue.length == 0) {\n\t // We are not running in Task, so we need to kickstart the microtask queue.\n\t if (global[symbolPromise]) {\n\t global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n\t }\n\t else {\n\t global[symbolSetTimeout](drainMicroTaskQueue, 0);\n\t }\n\t }\n\t }\n\t function scheduleMicroTask(task) {\n\t scheduleQueueDrain();\n\t _microTaskQueue.push(task);\n\t }\n\t function consoleError(e) {\n\t var rejection = e && e.rejection;\n\t if (rejection) {\n\t console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection);\n\t }\n\t console.error(e);\n\t }\n\t function drainMicroTaskQueue() {\n\t if (!_isDrainingMicrotaskQueue) {\n\t _isDrainingMicrotaskQueue = true;\n\t while (_microTaskQueue.length) {\n\t var queue = _microTaskQueue;\n\t _microTaskQueue = [];\n\t for (var i = 0; i < queue.length; i++) {\n\t var task = queue[i];\n\t try {\n\t task.zone.runTask(task, null, null);\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t }\n\t }\n\t while (_uncaughtPromiseErrors.length) {\n\t var uncaughtPromiseErrors = _uncaughtPromiseErrors;\n\t _uncaughtPromiseErrors = [];\n\t var _loop_1 = function(i) {\n\t var uncaughtPromiseError = uncaughtPromiseErrors[i];\n\t try {\n\t uncaughtPromiseError.zone.runGuarded(function () { throw uncaughtPromiseError; });\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t };\n\t for (var i = 0; i < uncaughtPromiseErrors.length; i++) {\n\t _loop_1(i);\n\t }\n\t }\n\t _isDrainingMicrotaskQueue = false;\n\t _drainScheduled = false;\n\t }\n\t }\n\t function isThenable(value) {\n\t return value && value.then;\n\t }\n\t function forwardResolution(value) { return value; }\n\t function forwardRejection(rejection) { return ZoneAwarePromise.reject(rejection); }\n\t var symbolState = __symbol__('state');\n\t var symbolValue = __symbol__('value');\n\t var source = 'Promise.then';\n\t var UNRESOLVED = null;\n\t var RESOLVED = true;\n\t var REJECTED = false;\n\t var REJECTED_NO_CATCH = 0;\n\t function makeResolver(promise, state) {\n\t return function (v) {\n\t resolvePromise(promise, state, v);\n\t // Do not return value or you will break the Promise spec.\n\t };\n\t }\n\t function resolvePromise(promise, state, value) {\n\t if (promise[symbolState] === UNRESOLVED) {\n\t if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n\t clearRejectedNoCatch(value);\n\t resolvePromise(promise, value[symbolState], value[symbolValue]);\n\t }\n\t else if (isThenable(value)) {\n\t value.then(makeResolver(promise, state), makeResolver(promise, false));\n\t }\n\t else {\n\t promise[symbolState] = state;\n\t var queue = promise[symbolValue];\n\t promise[symbolValue] = value;\n\t for (var i = 0; i < queue.length;) {\n\t scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n\t }\n\t if (queue.length == 0 && state == REJECTED) {\n\t promise[symbolState] = REJECTED_NO_CATCH;\n\t try {\n\t throw new Error(\"Uncaught (in promise): \" + value);\n\t }\n\t catch (e) {\n\t var error = e;\n\t error.rejection = value;\n\t error.promise = promise;\n\t error.zone = Zone.current;\n\t error.task = Zone.currentTask;\n\t _uncaughtPromiseErrors.push(error);\n\t scheduleQueueDrain();\n\t }\n\t }\n\t }\n\t }\n\t // Resolving an already resolved promise is a noop.\n\t return promise;\n\t }\n\t function clearRejectedNoCatch(promise) {\n\t if (promise[symbolState] === REJECTED_NO_CATCH) {\n\t promise[symbolState] = REJECTED;\n\t for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n\t if (promise === _uncaughtPromiseErrors[i].promise) {\n\t _uncaughtPromiseErrors.splice(i, 1);\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n\t clearRejectedNoCatch(promise);\n\t var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n\t zone.scheduleMicroTask(source, function () {\n\t try {\n\t resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n\t }\n\t catch (error) {\n\t resolvePromise(chainPromise, false, error);\n\t }\n\t });\n\t }\n\t var ZoneAwarePromise = (function () {\n\t function ZoneAwarePromise(executor) {\n\t var promise = this;\n\t promise[symbolState] = UNRESOLVED;\n\t promise[symbolValue] = []; // queue;\n\t try {\n\t executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n\t }\n\t catch (e) {\n\t resolvePromise(promise, false, e);\n\t }\n\t }\n\t ZoneAwarePromise.resolve = function (value) {\n\t return resolvePromise(new this(null), RESOLVED, value);\n\t };\n\t ZoneAwarePromise.reject = function (error) {\n\t return resolvePromise(new this(null), REJECTED, error);\n\t };\n\t ZoneAwarePromise.race = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t function onResolve(value) { promise && (promise = null || resolve(value)); }\n\t function onReject(error) { promise && (promise = null || reject(error)); }\n\t for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n\t var value = values_1[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then(onResolve, onReject);\n\t }\n\t return promise;\n\t };\n\t ZoneAwarePromise.all = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) { resolve = res; reject = rej; });\n\t var count = 0;\n\t var resolvedValues = [];\n\t function onReject(error) { promise && reject(error); promise = null; }\n\t for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n\t var value = values_2[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then((function (index) { return function (value) {\n\t resolvedValues[index] = value;\n\t count--;\n\t if (promise && !count) {\n\t resolve(resolvedValues);\n\t }\n\t promise == null;\n\t }; })(count), onReject);\n\t count++;\n\t }\n\t if (!count)\n\t resolve(resolvedValues);\n\t return promise;\n\t };\n\t ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n\t var chainPromise = new ZoneAwarePromise(null);\n\t var zone = Zone.current;\n\t if (this[symbolState] == UNRESOLVED) {\n\t this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t else {\n\t scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t return chainPromise;\n\t };\n\t ZoneAwarePromise.prototype.catch = function (onRejected) {\n\t return this.then(null, onRejected);\n\t };\n\t return ZoneAwarePromise;\n\t }());\n\t var NativePromise = global[__symbol__('Promise')] = global.Promise;\n\t global.Promise = ZoneAwarePromise;\n\t if (NativePromise) {\n\t var NativePromiseProtototype = NativePromise.prototype;\n\t var NativePromiseThen_1 = NativePromiseProtototype[__symbol__('then')]\n\t = NativePromiseProtototype.then;\n\t NativePromiseProtototype.then = function (onResolve, onReject) {\n\t var nativePromise = this;\n\t return new ZoneAwarePromise(function (resolve, reject) {\n\t NativePromiseThen_1.call(nativePromise, resolve, reject);\n\t }).then(onResolve, onReject);\n\t };\n\t }\n\t return global.Zone = Zone;\n\t})(typeof window === 'undefined' ? global : window);\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\tvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n\tvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'.split(',');\n\tvar EVENT_TARGET = 'EventTarget';\n\tfunction eventTargetPatch(_global) {\n\t var apis = [];\n\t var isWtf = _global['wtf'];\n\t if (isWtf) {\n\t // Workaround for: https://github.com/google/tracing-framework/issues/555\n\t apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n\t }\n\t else if (_global[EVENT_TARGET]) {\n\t apis.push(EVENT_TARGET);\n\t }\n\t else {\n\t // Note: EventTarget is not available in all browsers,\n\t // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n\t apis = NO_EVENT_TARGET;\n\t }\n\t for (var i = 0; i < apis.length; i++) {\n\t var type = _global[apis[i]];\n\t utils_1.patchEventTargetMethods(type && type.prototype);\n\t }\n\t}\n\texports.eventTargetPatch = eventTargetPatch;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * Suppress closure compiler errors about unknown 'process' variable\n\t * @fileoverview\n\t * @suppress {undefinedVars}\n\t */\n\t\"use strict\";\n\texports.zoneSymbol = Zone['__symbol__'];\n\tvar _global = typeof window == 'undefined' ? global : window;\n\tfunction bindArguments(args, source) {\n\t for (var i = args.length - 1; i >= 0; i--) {\n\t if (typeof args[i] === 'function') {\n\t args[i] = Zone.current.wrap(args[i], source + '_' + i);\n\t }\n\t }\n\t return args;\n\t}\n\texports.bindArguments = bindArguments;\n\t;\n\tfunction patchPrototype(prototype, fnNames) {\n\t var source = prototype.constructor['name'];\n\t var _loop_1 = function(i) {\n\t var name_1 = fnNames[i];\n\t var delegate = prototype[name_1];\n\t if (delegate) {\n\t prototype[name_1] = (function (delegate) {\n\t return function () {\n\t return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n\t };\n\t })(delegate);\n\t }\n\t };\n\t for (var i = 0; i < fnNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t}\n\texports.patchPrototype = patchPrototype;\n\t;\n\texports.isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n\texports.isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\n\texports.isBrowser = !exports.isNode && !exports.isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n\tfunction patchProperty(obj, prop) {\n\t var desc = Object.getOwnPropertyDescriptor(obj, prop) || {\n\t enumerable: true,\n\t configurable: true\n\t };\n\t // A property descriptor cannot have getter/setter and be writable\n\t // deleting the writable and value properties avoids this error:\n\t //\n\t // TypeError: property descriptors must not specify a value or be writable when a\n\t // getter or setter has been specified\n\t delete desc.writable;\n\t delete desc.value;\n\t // substr(2) cuz 'onclick' -> 'click', etc\n\t var eventName = prop.substr(2);\n\t var _prop = '_' + prop;\n\t desc.set = function (fn) {\n\t if (this[_prop]) {\n\t this.removeEventListener(eventName, this[_prop]);\n\t }\n\t if (typeof fn === 'function') {\n\t var wrapFn = function (event) {\n\t var result;\n\t result = fn.apply(this, arguments);\n\t if (result != undefined && !result)\n\t event.preventDefault();\n\t };\n\t this[_prop] = wrapFn;\n\t this.addEventListener(eventName, wrapFn, false);\n\t }\n\t else {\n\t this[_prop] = null;\n\t }\n\t };\n\t desc.get = function () {\n\t return this[_prop];\n\t };\n\t Object.defineProperty(obj, prop, desc);\n\t}\n\texports.patchProperty = patchProperty;\n\t;\n\tfunction patchOnProperties(obj, properties) {\n\t var onProperties = [];\n\t for (var prop in obj) {\n\t if (prop.substr(0, 2) == 'on') {\n\t onProperties.push(prop);\n\t }\n\t }\n\t for (var j = 0; j < onProperties.length; j++) {\n\t patchProperty(obj, onProperties[j]);\n\t }\n\t if (properties) {\n\t for (var i = 0; i < properties.length; i++) {\n\t patchProperty(obj, 'on' + properties[i]);\n\t }\n\t }\n\t}\n\texports.patchOnProperties = patchOnProperties;\n\t;\n\tvar EVENT_TASKS = exports.zoneSymbol('eventTasks');\n\tvar ADD_EVENT_LISTENER = 'addEventListener';\n\tvar REMOVE_EVENT_LISTENER = 'removeEventListener';\n\tvar SYMBOL_ADD_EVENT_LISTENER = exports.zoneSymbol(ADD_EVENT_LISTENER);\n\tvar SYMBOL_REMOVE_EVENT_LISTENER = exports.zoneSymbol(REMOVE_EVENT_LISTENER);\n\tfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (eventTasks) {\n\t for (var i = 0; i < eventTasks.length; i++) {\n\t var eventTask = eventTasks[i];\n\t var data = eventTask.data;\n\t if (data.handler === handler\n\t && data.useCapturing === capture\n\t && data.eventName === name) {\n\t if (remove) {\n\t eventTasks.splice(i, 1);\n\t }\n\t return eventTask;\n\t }\n\t }\n\t }\n\t return null;\n\t}\n\tfunction attachRegisteredEvent(target, eventTask) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (!eventTasks) {\n\t eventTasks = target[EVENT_TASKS] = [];\n\t }\n\t eventTasks.push(eventTask);\n\t}\n\tfunction scheduleEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t attachRegisteredEvent(meta.target, eventTask);\n\t return meta.target[SYMBOL_ADD_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t}\n\tfunction cancelEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n\t meta.target[SYMBOL_REMOVE_EVENT_LISTENER](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t}\n\tfunction zoneAwareAddEventListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || false;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global;\n\t var delegate = null;\n\t if (typeof handler == 'function') {\n\t delegate = handler;\n\t }\n\t else if (handler && handler.handleEvent) {\n\t delegate = function (event) { return handler.handleEvent(event); };\n\t }\n\t var validZoneHandler = false;\n\t try {\n\t // In cross site contexts (such as WebDriver frameworks like Selenium),\n\t // accessing the handler object here will cause an exception to be thrown which\n\t // will fail tests prematurely.\n\t validZoneHandler = handler && handler.toString() === \"[object FunctionWrapper]\";\n\t }\n\t catch (e) {\n\t // Returning nothing here is fine, because objects in a cross-site context are unusable\n\t return;\n\t }\n\t // Ignore special listeners of IE11 & Edge dev tools, see https://github.com/angular/zone.js/issues/150\n\t if (!delegate || validZoneHandler) {\n\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, handler, useCapturing);\n\t }\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n\t if (eventTask) {\n\t // we already registered, so this will have noop.\n\t return target[SYMBOL_ADD_EVENT_LISTENER](eventName, eventTask.invoke, useCapturing);\n\t }\n\t var zone = Zone.current;\n\t var source = target.constructor['name'] + '.addEventListener:' + eventName;\n\t var data = {\n\t target: target,\n\t eventName: eventName,\n\t name: eventName,\n\t useCapturing: useCapturing,\n\t handler: handler\n\t };\n\t zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n\t}\n\tfunction zoneAwareRemoveEventListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || false;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global;\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n\t if (eventTask) {\n\t eventTask.zone.cancelTask(eventTask);\n\t }\n\t else {\n\t target[SYMBOL_REMOVE_EVENT_LISTENER](eventName, handler, useCapturing);\n\t }\n\t}\n\tfunction patchEventTargetMethods(obj) {\n\t if (obj && obj.addEventListener) {\n\t patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n\t patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t}\n\texports.patchEventTargetMethods = patchEventTargetMethods;\n\t;\n\tvar originalInstanceKey = exports.zoneSymbol('originalInstance');\n\t// wrap some native API on `window`\n\tfunction patchClass(className) {\n\t var OriginalClass = _global[className];\n\t if (!OriginalClass)\n\t return;\n\t _global[className] = function () {\n\t var a = bindArguments(arguments, className);\n\t switch (a.length) {\n\t case 0:\n\t this[originalInstanceKey] = new OriginalClass();\n\t break;\n\t case 1:\n\t this[originalInstanceKey] = new OriginalClass(a[0]);\n\t break;\n\t case 2:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n\t break;\n\t case 3:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n\t break;\n\t case 4:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n\t break;\n\t default: throw new Error('Arg list too long.');\n\t }\n\t };\n\t var instance = new OriginalClass(function () { });\n\t var prop;\n\t for (prop in instance) {\n\t (function (prop) {\n\t if (typeof instance[prop] === 'function') {\n\t _global[className].prototype[prop] = function () {\n\t return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n\t };\n\t }\n\t else {\n\t Object.defineProperty(_global[className].prototype, prop, {\n\t set: function (fn) {\n\t if (typeof fn === 'function') {\n\t this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n\t }\n\t else {\n\t this[originalInstanceKey][prop] = fn;\n\t }\n\t },\n\t get: function () {\n\t return this[originalInstanceKey][prop];\n\t }\n\t });\n\t }\n\t }(prop));\n\t }\n\t for (prop in OriginalClass) {\n\t if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n\t _global[className][prop] = OriginalClass[prop];\n\t }\n\t }\n\t}\n\texports.patchClass = patchClass;\n\t;\n\tfunction createNamedFn(name, delegate) {\n\t try {\n\t return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n\t }\n\t catch (e) {\n\t // if we fail, we must be CSP, just return delegate.\n\t return function () {\n\t return delegate(this, arguments);\n\t };\n\t }\n\t}\n\texports.createNamedFn = createNamedFn;\n\tfunction patchMethod(target, name, patchFn) {\n\t var proto = target;\n\t while (proto && !proto.hasOwnProperty(name)) {\n\t proto = Object.getPrototypeOf(proto);\n\t }\n\t if (!proto && target[name]) {\n\t // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n\t proto = target;\n\t }\n\t var delegateName = exports.zoneSymbol(name);\n\t var delegate;\n\t if (proto && !(delegate = proto[delegateName])) {\n\t delegate = proto[delegateName] = proto[name];\n\t proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n\t }\n\t return delegate;\n\t}\n\texports.patchMethod = patchMethod;\n\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 4 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\t/*\n\t * This is necessary for Chrome and Chrome mobile, to enable\n\t * things like redefining `createdCallback` on an element.\n\t */\n\tvar _defineProperty = Object.defineProperty;\n\tvar _getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\n\tvar _create = Object.create;\n\tvar unconfigurablesKey = utils_1.zoneSymbol('unconfigurables');\n\tfunction propertyPatch() {\n\t Object.defineProperty = function (obj, prop, desc) {\n\t if (isUnconfigurable(obj, prop)) {\n\t throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n\t }\n\t if (prop !== 'prototype') {\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t }\n\t return _defineProperty(obj, prop, desc);\n\t };\n\t Object.defineProperties = function (obj, props) {\n\t Object.keys(props).forEach(function (prop) {\n\t Object.defineProperty(obj, prop, props[prop]);\n\t });\n\t return obj;\n\t };\n\t Object.create = function (obj, proto) {\n\t if (typeof proto === 'object') {\n\t Object.keys(proto).forEach(function (prop) {\n\t proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n\t });\n\t }\n\t return _create(obj, proto);\n\t };\n\t Object.getOwnPropertyDescriptor = function (obj, prop) {\n\t var desc = _getOwnPropertyDescriptor(obj, prop);\n\t if (isUnconfigurable(obj, prop)) {\n\t desc.configurable = false;\n\t }\n\t return desc;\n\t };\n\t}\n\texports.propertyPatch = propertyPatch;\n\t;\n\tfunction _redefineProperty(obj, prop, desc) {\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t return _defineProperty(obj, prop, desc);\n\t}\n\texports._redefineProperty = _redefineProperty;\n\t;\n\tfunction isUnconfigurable(obj, prop) {\n\t return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n\t}\n\tfunction rewriteDescriptor(obj, prop, desc) {\n\t desc.configurable = true;\n\t if (!desc.configurable) {\n\t if (!obj[unconfigurablesKey]) {\n\t _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n\t }\n\t obj[unconfigurablesKey][prop] = true;\n\t }\n\t return desc;\n\t}\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar define_property_1 = __webpack_require__(4);\n\tvar utils_1 = __webpack_require__(3);\n\tfunction registerElementPatch(_global) {\n\t if (!utils_1.isBrowser || !('registerElement' in _global.document)) {\n\t return;\n\t }\n\t var _registerElement = document.registerElement;\n\t var callbacks = [\n\t 'createdCallback',\n\t 'attachedCallback',\n\t 'detachedCallback',\n\t 'attributeChangedCallback'\n\t ];\n\t document.registerElement = function (name, opts) {\n\t if (opts && opts.prototype) {\n\t callbacks.forEach(function (callback) {\n\t var source = 'Document.registerElement::' + callback;\n\t if (opts.prototype.hasOwnProperty(callback)) {\n\t var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n\t if (descriptor && descriptor.value) {\n\t descriptor.value = Zone.current.wrap(descriptor.value, source);\n\t define_property_1._redefineProperty(opts.prototype, callback, descriptor);\n\t }\n\t else {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t }\n\t else if (opts.prototype[callback]) {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t });\n\t }\n\t return _registerElement.apply(document, [name, opts]);\n\t };\n\t}\n\texports.registerElementPatch = registerElementPatch;\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar webSocketPatch = __webpack_require__(7);\n\tvar utils_1 = __webpack_require__(3);\n\tvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'.split(' ');\n\tfunction propertyDescriptorPatch(_global) {\n\t if (utils_1.isNode) {\n\t return;\n\t }\n\t var supportsWebSocket = typeof WebSocket !== 'undefined';\n\t if (canPatchViaPropertyDescriptor()) {\n\t // for browsers that we can patch the descriptor: Chrome & Firefox\n\t if (utils_1.isBrowser) {\n\t utils_1.patchOnProperties(HTMLElement.prototype, eventNames);\n\t }\n\t utils_1.patchOnProperties(XMLHttpRequest.prototype, null);\n\t if (typeof IDBIndex !== 'undefined') {\n\t utils_1.patchOnProperties(IDBIndex.prototype, null);\n\t utils_1.patchOnProperties(IDBRequest.prototype, null);\n\t utils_1.patchOnProperties(IDBOpenDBRequest.prototype, null);\n\t utils_1.patchOnProperties(IDBDatabase.prototype, null);\n\t utils_1.patchOnProperties(IDBTransaction.prototype, null);\n\t utils_1.patchOnProperties(IDBCursor.prototype, null);\n\t }\n\t if (supportsWebSocket) {\n\t utils_1.patchOnProperties(WebSocket.prototype, null);\n\t }\n\t }\n\t else {\n\t // Safari, Android browsers (Jelly Bean)\n\t patchViaCapturingAllTheEvents();\n\t utils_1.patchClass('XMLHttpRequest');\n\t if (supportsWebSocket) {\n\t webSocketPatch.apply(_global);\n\t }\n\t }\n\t}\n\texports.propertyDescriptorPatch = propertyDescriptorPatch;\n\tfunction canPatchViaPropertyDescriptor() {\n\t if (utils_1.isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick')\n\t && typeof Element !== 'undefined') {\n\t // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n\t // IDL interface attributes are not configurable\n\t var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n\t if (desc && !desc.configurable)\n\t return false;\n\t }\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n\t get: function () {\n\t return true;\n\t }\n\t });\n\t var req = new XMLHttpRequest();\n\t var result = !!req.onreadystatechange;\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n\t return result;\n\t}\n\t;\n\tvar unboundKey = utils_1.zoneSymbol('unbound');\n\t// Whenever any eventListener fires, we check the eventListener target and all parents\n\t// for `onwhatever` properties and replace them with zone-bound functions\n\t// - Chrome (for now)\n\tfunction patchViaCapturingAllTheEvents() {\n\t var _loop_1 = function(i) {\n\t var property = eventNames[i];\n\t var onproperty = 'on' + property;\n\t document.addEventListener(property, function (event) {\n\t var elt = event.target, bound, source;\n\t if (elt) {\n\t source = elt.constructor['name'] + '.' + onproperty;\n\t }\n\t else {\n\t source = 'unknown.' + onproperty;\n\t }\n\t while (elt) {\n\t if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n\t bound = Zone.current.wrap(elt[onproperty], source);\n\t bound[unboundKey] = elt[onproperty];\n\t elt[onproperty] = bound;\n\t }\n\t elt = elt.parentElement;\n\t }\n\t }, true);\n\t };\n\t for (var i = 0; i < eventNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t ;\n\t}\n\t;\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\t// we have to patch the instance since the proto is non-configurable\n\tfunction apply(_global) {\n\t var WS = _global.WebSocket;\n\t // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n\t // On older Chrome, no need since EventTarget was already patched\n\t if (!_global.EventTarget) {\n\t utils_1.patchEventTargetMethods(WS.prototype);\n\t }\n\t _global.WebSocket = function (a, b) {\n\t var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n\t var proxySocket;\n\t // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\t var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n\t if (onmessageDesc && onmessageDesc.configurable === false) {\n\t proxySocket = Object.create(socket);\n\t ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n\t proxySocket[propName] = function () {\n\t return socket[propName].apply(socket, arguments);\n\t };\n\t });\n\t }\n\t else {\n\t // we can patch the real socket\n\t proxySocket = socket;\n\t }\n\t utils_1.patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n\t return proxySocket;\n\t };\n\t for (var prop in WS) {\n\t _global.WebSocket[prop] = WS[prop];\n\t }\n\t}\n\texports.apply = apply;\n\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar utils_1 = __webpack_require__(3);\n\tfunction patchTimer(window, setName, cancelName, nameSuffix) {\n\t var setNative = null;\n\t var clearNative = null;\n\t setName += nameSuffix;\n\t cancelName += nameSuffix;\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.args[0] = task.invoke;\n\t data.handleId = setNative.apply(window, data.args);\n\t return task;\n\t }\n\t function clearTask(task) {\n\t return clearNative(task.data.handleId);\n\t }\n\t setNative = utils_1.patchMethod(window, setName, function (delegate) { return function (self, args) {\n\t if (typeof args[0] === 'function') {\n\t var zone = Zone.current;\n\t var options = {\n\t handleId: null,\n\t isPeriodic: nameSuffix === 'Interval',\n\t delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n\t args: args\n\t };\n\t return zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t return delegate.apply(window, args);\n\t }\n\t }; });\n\t clearNative = utils_1.patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n\t var task = args[0];\n\t if (task && typeof task.type === 'string') {\n\t if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n\t // Do not cancel already canceled functions\n\t task.zone.cancelTask(task);\n\t }\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t delegate.apply(window, args);\n\t }\n\t }; });\n\t}\n\texports.patchTimer = patchTimer;\n\n\n/***/ }\n/******/ ]);","/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n\n\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t(function () {\n\t var NEWLINE = '\\n';\n\t var SEP = ' ------------- ';\n\t var IGNORE_FRAMES = [];\n\t var creationTrace = '__creationTrace__';\n\t var LongStackTrace = (function () {\n\t function LongStackTrace() {\n\t this.error = getStacktrace();\n\t this.timestamp = new Date();\n\t }\n\t return LongStackTrace;\n\t }());\n\t function getStacktraceWithUncaughtError() {\n\t return new Error('STACKTRACE TRACKING');\n\t }\n\t function getStacktraceWithCaughtError() {\n\t try {\n\t throw getStacktraceWithUncaughtError();\n\t }\n\t catch (e) {\n\t return e;\n\t }\n\t }\n\t // Some implementations of exception handling don't create a stack trace if the exception\n\t // isn't thrown, however it's faster not to actually throw the exception.\n\t var error = getStacktraceWithUncaughtError();\n\t var coughtError = getStacktraceWithCaughtError();\n\t var getStacktrace = error.stack\n\t ? getStacktraceWithUncaughtError\n\t : (coughtError.stack ? getStacktraceWithCaughtError : getStacktraceWithUncaughtError);\n\t function getFrames(error) {\n\t return error.stack ? error.stack.split(NEWLINE) : [];\n\t }\n\t function addErrorStack(lines, error) {\n\t var trace = getFrames(error);\n\t for (var i = 0; i < trace.length; i++) {\n\t var frame = trace[i];\n\t // Filter out the Frames which are part of stack capturing.\n\t if (!(i < IGNORE_FRAMES.length && IGNORE_FRAMES[i] === frame)) {\n\t lines.push(trace[i]);\n\t }\n\t }\n\t }\n\t function renderLongStackTrace(frames, stack) {\n\t var longTrace = [stack];\n\t if (frames) {\n\t var timestamp = new Date().getTime();\n\t for (var i = 0; i < frames.length; i++) {\n\t var traceFrames = frames[i];\n\t var lastTime = traceFrames.timestamp;\n\t longTrace.push(SEP + \" Elapsed: \" + (timestamp - lastTime.getTime()) + \" ms; At: \" + lastTime + \" \" + SEP);\n\t addErrorStack(longTrace, traceFrames.error);\n\t timestamp = lastTime.getTime();\n\t }\n\t }\n\t return longTrace.join(NEWLINE);\n\t }\n\t Zone['longStackTraceZoneSpec'] = {\n\t name: 'long-stack-trace',\n\t longStackTraceLimit: 10,\n\t onScheduleTask: function (parentZoneDelegate, currentZone, targetZone, task) {\n\t var currentTask = Zone.currentTask;\n\t var trace = currentTask && currentTask.data && currentTask.data[creationTrace] || [];\n\t trace = [new LongStackTrace()].concat(trace);\n\t if (trace.length > this.longStackTraceLimit) {\n\t trace.length = this.longStackTraceLimit;\n\t }\n\t if (!task.data)\n\t task.data = {};\n\t task.data[creationTrace] = trace;\n\t return parentZoneDelegate.scheduleTask(targetZone, task);\n\t },\n\t onHandleError: function (parentZoneDelegate, currentZone, targetZone, error) {\n\t var parentTask = Zone.currentTask;\n\t if (error instanceof Error && parentTask) {\n\t var descriptor = Object.getOwnPropertyDescriptor(error, 'stack');\n\t if (descriptor) {\n\t var delegateGet_1 = descriptor.get;\n\t var value_1 = descriptor.value;\n\t descriptor = {\n\t get: function () {\n\t return renderLongStackTrace(parentTask.data && parentTask.data[creationTrace], delegateGet_1 ? delegateGet_1.apply(this) : value_1);\n\t }\n\t };\n\t Object.defineProperty(error, 'stack', descriptor);\n\t }\n\t else {\n\t error.stack = renderLongStackTrace(parentTask.data && parentTask.data[creationTrace], error.stack);\n\t }\n\t }\n\t return parentZoneDelegate.handleError(targetZone, error);\n\t }\n\t };\n\t function captureStackTraces(stackTraces, count) {\n\t if (count > 0) {\n\t stackTraces.push(getFrames((new LongStackTrace()).error));\n\t captureStackTraces(stackTraces, count - 1);\n\t }\n\t }\n\t function computeIgnoreFrames() {\n\t var frames = [];\n\t captureStackTraces(frames, 2);\n\t var frames1 = frames[0];\n\t var frames2 = frames[1];\n\t for (var i = 0; i < frames1.length; i++) {\n\t var frame1 = frames1[i];\n\t var frame2 = frames2[i];\n\t if (frame1 === frame2) {\n\t IGNORE_FRAMES.push(frame1);\n\t }\n\t else {\n\t break;\n\t }\n\t }\n\t }\n\t computeIgnoreFrames();\n\t})();\n\n\n/***/ }\n/******/ ]);","/*! *****************************************************************************\r\nCopyright (C) Microsoft. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use \r\nthis file except in compliance with the License. You may obtain a copy of the \r\nLicense at http://www.apache.org/licenses/LICENSE-2.0 \r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, \r\nMERCHANTABLITY OR NON-INFRINGEMENT. \r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\nnamespace Reflect {\r\n \"use strict\";\r\n\r\n interface Map<K, V> {\r\n clear(): void;\r\n delete(key:K): boolean;\r\n forEach(callbackfn:(value:V, index:K, map:Map<K, V>) => void, thisArg?:any): void;\r\n get(key:K): V;\r\n has(key:K): boolean;\r\n set(key:K, value?:V): Map<K, V>;\r\n size: number;\r\n }\r\n interface MapConstructor {\r\n new (): Map<any, any>;\r\n new <K, V>(): Map<K, V>;\r\n prototype: Map<any, any>;\r\n }\r\n\r\n interface WeakMap<K, V> {\r\n clear(): void;\r\n delete(key: K): boolean;\r\n get(key: K): V;\r\n has(key: K): boolean;\r\n set(key: K, value?: V): WeakMap<K, V>;\r\n }\r\n\r\n interface WeakMapConstructor {\r\n new (): WeakMap<any, any>;\r\n new <K, V>(): WeakMap<K, V>;\r\n prototype: WeakMap<any, any>;\r\n }\r\n\r\n interface Set<T> {\r\n add(value: T): Set<T>;\r\n clear(): void;\r\n delete(value: T): boolean;\r\n forEach(callbackfn: (value: T, index: T, set: Set<T>) => void, thisArg?: any): void;\r\n has(value: T): boolean;\r\n size: number;\r\n }\r\n\r\n interface SetConstructor {\r\n new (): Set<any>;\r\n new <T>(): Set<T>;\r\n prototype: Set<any>;\r\n }\r\n\r\n\r\n declare var Set: SetConstructor;\r\n declare var WeakMap: WeakMapConstructor;\r\n declare var Map:MapConstructor;\r\n declare var global: any;\r\n declare var WorkerGlobalScope: any;\r\n declare var module: any;\r\n declare var crypto: Crypto;\r\n declare var msCrypto: Crypto;\r\n declare var require: Function;\r\n\r\n // Load global or shim versions of Map, Set, and WeakMap\r\n const functionPrototype = Object.getPrototypeOf(Function);\r\n const _Map: typeof Map = typeof Map === \"function\" ? Map : CreateMapPolyfill();\r\n const _Set: typeof Set = typeof Set === \"function\" ? Set : CreateSetPolyfill();\r\n const _WeakMap: typeof WeakMap = typeof WeakMap === \"function\" ? WeakMap : CreateWeakMapPolyfill();\r\n \r\n // [[Metadata]] internal slot\r\n const __Metadata__ = new _WeakMap<Object, Map<string | symbol, Map<any, any>>>();\r\n\r\n /**\r\n * Applies a set of decorators to a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @returns The result of applying the provided decorators.\r\n * @remarks Decorators are applied in reverse order of their positions in the array.\r\n * @example\r\n *\r\n * class C { }\r\n *\r\n * // constructor\r\n * C = Reflect.decorate(decoratorsArray, C);\r\n *\r\n */\r\n export function decorate(decorators: ClassDecorator[], target: Function): Function;\r\n\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param targetKey The property key to decorate.\r\n * @param descriptor A property descriptor \r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n * \r\n * static staticMethod() { }\r\n * method() { }\r\n * }\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(C, \"staticMethod\", \r\n * Reflect.decorate(decoratorsArray, C, \"staticMethod\", \r\n * Object.getOwnPropertyDescriptor(C, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(C.prototype, \"method\", \r\n * Reflect.decorate(decoratorsArray, C.prototype, \"method\", \r\n * Object.getOwnPropertyDescriptor(C.prototype, \"method\")));\r\n *\r\n */\r\n export function decorate(decorators: (PropertyDecorator | MethodDecorator)[], target: Object, targetKey: string | symbol, descriptor?: PropertyDescriptor): PropertyDescriptor;\r\n\r\n /**\r\n * Applies a set of decorators to a property of a target object.\r\n * @param decorators An array of decorators.\r\n * @param target The target object.\r\n * @param targetKey (Optional) The property key to decorate.\r\n * @param targetDescriptor (Optional) The property descriptor for the target key\r\n * @remarks Decorators are applied in reverse order.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * C = Reflect.decorate(decoratorsArray, C);\r\n *\r\n * // property (on constructor)\r\n * Reflect.decorate(decoratorsArray, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.decorate(decoratorsArray, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Object.defineProperty(C, \"staticMethod\", \r\n * Reflect.decorate(decoratorsArray, C, \"staticMethod\", \r\n * Object.getOwnPropertyDescriptor(C, \"staticMethod\")));\r\n *\r\n * // method (on prototype)\r\n * Object.defineProperty(C.prototype, \"method\", \r\n * Reflect.decorate(decoratorsArray, C.prototype, \"method\", \r\n * Object.getOwnPropertyDescriptor(C.prototype, \"method\")));\r\n *\r\n */\r\n export function decorate(decorators: (ClassDecorator | MethodDecorator | PropertyDecorator)[], target: Object, targetKey?: string | symbol, targetDescriptor?: PropertyDescriptor): any {\r\n if (!IsUndefined(targetDescriptor)) {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (IsUndefined(targetKey)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(targetDescriptor)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithDescriptor(<MethodDecorator[]>decorators, target, targetKey, targetDescriptor);\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n return DecoratePropertyWithoutDescriptor(<PropertyDecorator[]>decorators, target, targetKey);\r\n }\r\n else {\r\n if (!IsArray(decorators)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsConstructor(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n return DecorateConstructor(<ClassDecorator[]>decorators, <Function>target);\r\n }\r\n }\r\n\r\n /**\r\n * A default metadata decorator factory that can be used on a class, class member, or parameter.\r\n * @param metadataKey The key for the metadata entry.\r\n * @param metadataValue The value for the metadata entry.\r\n * @returns A decorator function.\r\n * @remarks \r\n * If `metadataKey` is already defined for the target and target key, the \r\n * metadataValue for that key will be overwritten.\r\n * @example\r\n *\r\n * // constructor\r\n * @Reflect.metadata(key, value)\r\n * class C {\r\n * }\r\n *\r\n * // property (on constructor, TypeScript only)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * static staticProperty;\r\n * }\r\n *\r\n * // property (on prototype, TypeScript only)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * property;\r\n * }\r\n *\r\n * // method (on constructor)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * static staticMethod() { }\r\n * }\r\n *\r\n * // method (on prototype)\r\n * class C {\r\n * @Reflect.metadata(key, value)\r\n * method() { }\r\n * }\r\n *\r\n */\r\n export function metadata(metadataKey: any, metadataValue: any) {\r\n function decorator(target: Function): void;\r\n function decorator(target: Object, targetKey: string | symbol): void;\r\n function decorator(target: Object, targetKey?: string | symbol): void {\r\n if (!IsUndefined(targetKey)) {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n targetKey = ToPropertyKey(targetKey);\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n else {\r\n if (!IsConstructor(target)) {\r\n throw new TypeError();\r\n }\r\n\r\n OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, /*targetKey*/ undefined);\r\n }\r\n }\r\n\r\n return decorator;\r\n }\r\n \r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C);\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): ClassDecorator {\r\n * return target => Reflect.defineMetadata(\"custom:annotation\", options, target);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object): void;\r\n\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param targetKey The property key for the target.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", Number, C.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): PropertyDecorator {\r\n * return (target, key) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object, targetKey: string | symbol): void;\r\n\r\n /**\r\n * Define a unique metadata entry on the target.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param metadataValue A value that contains attached metadata.\r\n * @param target The target object on which to define metadata.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C);\r\n *\r\n * // property (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * Reflect.defineMetadata(\"custom:annotation\", options, C.prototype, \"method\");\r\n *\r\n * // decorator factory as metadata-producing annotation.\r\n * function MyAnnotation(options): Decorator {\r\n * return (target, key?) => Reflect.defineMetadata(\"custom:annotation\", options, target, key);\r\n * }\r\n *\r\n */\r\n export function defineMetadata(metadataKey: any, metadataValue: any, target: Object, targetKey?: string | symbol): void {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, targetKey);\r\n }\r\n \r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object or its prototype chain has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object or its prototype chain; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryHasMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Gets a value indicating whether the target object has the provided metadata key defined.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata key was defined on the target object; otherwise, `false`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.hasOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function hasOwnMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryHasOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object, targetKey: string | symbol): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object or its prototype chain.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): any {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryGetMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object, targetKey: string | symbol): any;\r\n\r\n /**\r\n * Gets the metadata value for the provided metadata key on the target object.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns The metadata value for the metadata key if found; otherwise, `undefined`.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): any {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryGetOwnMetadata(metadataKey, target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(C);\r\n *\r\n */\r\n export function getMetadataKeys(target: Object): any[];\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadataKeys(target: Object, targetKey: string | symbol): any[];\r\n\r\n /**\r\n * Gets the metadata keys defined on the target object or its prototype chain.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getMetadataKeys(C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getMetadataKeys(target: Object, targetKey?: string | symbol): any[] {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryMetadataKeys(target, targetKey);\r\n }\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(C);\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object): any[];\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object, targetKey: string | symbol): any[];\r\n\r\n /**\r\n * Gets the unique metadata keys defined on the target object.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns An array of unique metadata keys.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.getOwnMetadataKeys(C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.getOwnMetadataKeys(C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.getOwnMetadataKeys(C.prototype, \"method\");\r\n *\r\n */\r\n export function getOwnMetadataKeys(target: Object, targetKey?: string | symbol): any[] {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n return OrdinaryOwnMetadataKeys(target, targetKey);\r\n }\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C);\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object): boolean;\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object, targetKey: string | symbol): boolean;\r\n\r\n /**\r\n * Deletes the metadata entry from the target object with the provided key.\r\n * @param metadataKey A key used to store and retrieve metadata.\r\n * @param target The target object on which the metadata is defined.\r\n * @param targetKey (Optional) The property key for the target.\r\n * @returns `true` if the metadata entry was found and deleted; otherwise, false.\r\n * @example\r\n *\r\n * class C {\r\n * // property declarations are not part of ES6, though they are valid in TypeScript:\r\n * // static staticProperty; \r\n * // property;\r\n *\r\n * constructor(p) { }\r\n * static staticMethod(p) { }\r\n * method(p) { } \r\n * }\r\n *\r\n * // constructor\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C);\r\n *\r\n * // property (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticProperty\");\r\n *\r\n * // property (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"property\");\r\n *\r\n * // method (on constructor)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C, \"staticMethod\");\r\n *\r\n * // method (on prototype)\r\n * result = Reflect.deleteMetadata(\"custom:annotation\", C.prototype, \"method\");\r\n *\r\n */\r\n export function deleteMetadata(metadataKey: any, target: Object, targetKey?: string | symbol): boolean {\r\n if (!IsObject(target)) {\r\n throw new TypeError();\r\n }\r\n else if (!IsUndefined(targetKey)) {\r\n targetKey = ToPropertyKey(targetKey);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#deletemetadata-metadatakey-p-\r\n let metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n if (IsUndefined(metadataMap)) {\r\n return false;\r\n }\r\n\r\n if (!metadataMap.delete(metadataKey)) {\r\n return false;\r\n }\r\n\r\n if (metadataMap.size > 0) {\r\n return true;\r\n }\r\n\r\n let targetMetadata = __Metadata__.get(target);\r\n targetMetadata.delete(targetKey);\r\n if (targetMetadata.size > 0) {\r\n return true;\r\n }\r\n\r\n __Metadata__.delete(target);\r\n return true;\r\n }\r\n\r\n function DecorateConstructor(decorators: ClassDecorator[], target: Function): Function {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n let decorated = decorator(target);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsConstructor(decorated)) {\r\n throw new TypeError();\r\n }\r\n target = <Function>decorated;\r\n }\r\n }\r\n return target;\r\n }\r\n\r\n function DecoratePropertyWithDescriptor(decorators: MethodDecorator[], target: Object, propertyKey: string | symbol, descriptor: PropertyDescriptor): PropertyDescriptor {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n let decorated = decorator(target, propertyKey, descriptor);\r\n if (!IsUndefined(decorated)) {\r\n if (!IsObject(decorated)) {\r\n throw new TypeError();\r\n }\r\n descriptor = <PropertyDescriptor>decorated;\r\n }\r\n }\r\n return descriptor;\r\n }\r\n\r\n function DecoratePropertyWithoutDescriptor(decorators: PropertyDecorator[], target: Object, propertyKey: string | symbol): void {\r\n for (let i = decorators.length - 1; i >= 0; --i) {\r\n let decorator = decorators[i];\r\n decorator(target, propertyKey);\r\n }\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#getorcreatemetadatamap--o-p-create-\r\n function GetOrCreateMetadataMap(target: Object, targetKey: string | symbol, create: boolean): Map<any, any> {\r\n let targetMetadata = __Metadata__.get(target);\r\n if (!targetMetadata) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n targetMetadata = new _Map<string | symbol, Map<any, any>>();\r\n __Metadata__.set(target, targetMetadata);\r\n }\r\n\r\n let keyMetadata = targetMetadata.get(targetKey);\r\n if (!keyMetadata) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n keyMetadata = new _Map<any, any>();\r\n targetMetadata.set(targetKey, keyMetadata);\r\n }\r\n\r\n return keyMetadata;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasmetadata--metadatakey-o-p-\r\n function OrdinaryHasMetadata(MetadataKey: any, O: Object, P: string | symbol): boolean {\r\n let hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) {\r\n return true;\r\n }\r\n\r\n let parent = GetPrototypeOf(O);\r\n if (parent !== null) {\r\n return OrdinaryHasMetadata(MetadataKey, parent, P);\r\n }\r\n\r\n return false;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryhasownmetadata--metadatakey-o-p-\r\n function OrdinaryHasOwnMetadata(MetadataKey: any, O: Object, P: string | symbol): boolean {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n if (metadataMap === undefined) {\r\n return false;\r\n }\r\n\r\n return Boolean(metadataMap.has(MetadataKey));\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetmetadata--metadatakey-o-p-\r\n function OrdinaryGetMetadata(MetadataKey: any, O: Object, P: string | symbol): any {\r\n let hasOwn = OrdinaryHasOwnMetadata(MetadataKey, O, P);\r\n if (hasOwn) {\r\n return OrdinaryGetOwnMetadata(MetadataKey, O, P);\r\n }\r\n\r\n let parent = GetPrototypeOf(O);\r\n if (parent !== null) {\r\n return OrdinaryGetMetadata(MetadataKey, parent, P);\r\n }\r\n\r\n return undefined;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarygetownmetadata--metadatakey-o-p-\r\n function OrdinaryGetOwnMetadata(MetadataKey: any, O: Object, P: string | symbol): any {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ false);\r\n if (metadataMap === undefined) {\r\n return undefined;\r\n }\r\n\r\n return metadataMap.get(MetadataKey);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarydefineownmetadata--metadatakey-metadatavalue-o-p-\r\n function OrdinaryDefineOwnMetadata(MetadataKey: any, MetadataValue: any, O: Object, P: string | symbol): void {\r\n let metadataMap = GetOrCreateMetadataMap(O, P, /*create*/ true);\r\n metadataMap.set(MetadataKey, MetadataValue);\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinarymetadatakeys--o-p-\r\n function OrdinaryMetadataKeys(O: Object, P: string | symbol): any[] {\r\n let ownKeys = OrdinaryOwnMetadataKeys(O, P);\r\n let parent = GetPrototypeOf(O);\r\n if (parent === null) {\r\n return ownKeys;\r\n }\r\n\r\n let parentKeys = OrdinaryMetadataKeys(parent, P);\r\n if (parentKeys.length <= 0) {\r\n return ownKeys;\r\n }\r\n if (ownKeys.length <= 0) {\r\n return parentKeys;\r\n }\r\n\r\n let set = new _Set<any>();\r\n let keys: any[] = [];\r\n\r\n for (let key of ownKeys) {\r\n let hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n\r\n for (let key of parentKeys) {\r\n let hasKey = set.has(key);\r\n if (!hasKey) {\r\n set.add(key);\r\n keys.push(key);\r\n }\r\n }\r\n\r\n return keys;\r\n }\r\n\r\n // https://github.com/jonathandturner/decorators/blob/master/specs/metadata.md#ordinaryownmetadatakeys--o-p-\r\n function OrdinaryOwnMetadataKeys(target: Object, targetKey: string | symbol): any[] {\r\n let metadataMap = GetOrCreateMetadataMap(target, targetKey, /*create*/ false);\r\n let keys: any[] = [];\r\n if (metadataMap) {\r\n metadataMap.forEach((_, key) => keys.push(key));\r\n }\r\n\r\n return keys;\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-undefined-type\r\n function IsUndefined(x: any): boolean {\r\n return x === undefined;\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isarray\r\n function IsArray(x: any): boolean {\r\n return Array.isArray(x);\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-object-type\r\n function IsObject(x: any): boolean {\r\n return typeof x === \"object\" ? x !== null : typeof x === \"function\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-isconstructor\r\n function IsConstructor(x: any): boolean {\r\n return typeof x === \"function\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type\r\n function IsSymbol(x: any): boolean {\r\n return typeof x === \"symbol\";\r\n }\r\n\r\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-topropertykey\r\n function ToPropertyKey(value: any): string | symbol {\r\n if (IsSymbol(value)) {\r\n return <symbol>value;\r\n }\r\n return String(value);\r\n }\r\n\r\n function GetPrototypeOf(O: any): Object {\r\n let proto = Object.getPrototypeOf(O);\r\n if (typeof O !== \"function\" || O === functionPrototype) {\r\n return proto;\r\n }\r\n\r\n // TypeScript doesn't set __proto__ in ES5, as it's non-standard. \r\n // Try to determine the superclass constructor. Compatible implementations\r\n // must either set __proto__ on a subclass constructor to the superclass constructor,\r\n // or ensure each class has a valid `constructor` property on its prototype that\r\n // points back to the constructor.\r\n\r\n // If this is not the same as Function.[[Prototype]], then this is definately inherited.\r\n // This is the case when in ES6 or when using __proto__ in a compatible browser.\r\n if (proto !== functionPrototype) {\r\n return proto;\r\n }\r\n\r\n // If the super prototype is Object.prototype, null, or undefined, then we cannot determine the heritage.\r\n let prototype = O.prototype;\r\n let prototypeProto = Object.getPrototypeOf(prototype);\r\n if (prototypeProto == null || prototypeProto === Object.prototype) {\r\n return proto;\r\n }\r\n\r\n // if the constructor was not a function, then we cannot determine the heritage.\r\n let constructor = prototypeProto.constructor;\r\n if (typeof constructor !== \"function\") {\r\n return proto;\r\n }\r\n\r\n // if we have some kind of self-reference, then we cannot determine the heritage.\r\n if (constructor === O) {\r\n return proto;\r\n }\r\n\r\n // we have a pretty good guess at the heritage.\r\n return constructor;\r\n }\r\n\r\n // naive Map shim\r\n function CreateMapPolyfill() {\r\n const cacheSentinel = {};\r\n function Map() {\r\n this._keys = [];\r\n this._values = [];\r\n this._cache = cacheSentinel;\r\n }\r\n Map.prototype = {\r\n get size() {\r\n return this._keys.length;\r\n },\r\n has(key: any): boolean {\r\n if (key === this._cache) {\r\n return true;\r\n }\r\n if (this._find(key) >= 0) {\r\n this._cache = key;\r\n return true;\r\n }\r\n return false;\r\n },\r\n get(key: any): any {\r\n let index = this._find(key);\r\n if (index >= 0) {\r\n this._cache = key;\r\n return this._values[index];\r\n }\r\n return undefined;\r\n },\r\n set(key: any, value: any): Map<any, any> {\r\n this.delete(key);\r\n this._keys.push(key);\r\n this._values.push(value);\r\n this._cache = key;\r\n return this;\r\n },\r\n delete(key: any): boolean {\r\n let index = this._find(key);\r\n if (index >= 0) {\r\n this._keys.splice(index, 1);\r\n this._values.splice(index, 1);\r\n this._cache = cacheSentinel;\r\n return true;\r\n }\r\n return false;\r\n },\r\n clear(): void {\r\n this._keys.length = 0;\r\n this._values.length = 0;\r\n this._cache = cacheSentinel;\r\n },\r\n forEach(callback: (value: any, key: any, map: Map<any, any>) => void, thisArg?: any): void {\r\n let size = this.size;\r\n for (let i = 0; i < size; ++i) {\r\n let key = this._keys[i];\r\n let value = this._values[i];\r\n this._cache = key;\r\n callback.call(this, value, key, this);\r\n }\r\n },\r\n _find(key: any): number {\r\n const keys = this._keys;\r\n const size = keys.length;\r\n for (let i = 0; i < size; ++i) {\r\n if (keys[i] === key) {\r\n return i;\r\n }\r\n }\r\n return -1;\r\n }\r\n };\r\n return <any>Map;\r\n }\r\n\r\n // naive Set shim\r\n function CreateSetPolyfill() {\r\n const cacheSentinel = {};\r\n function Set() {\r\n this._map = new _Map<any, any>();\r\n }\r\n Set.prototype = {\r\n get size() {\r\n return this._map.length;\r\n },\r\n has(value: any): boolean {\r\n return this._map.has(value);\r\n },\r\n add(value: any): Set<any> {\r\n this._map.set(value, value);\r\n return this;\r\n },\r\n delete(value: any): boolean {\r\n return this._map.delete(value);\r\n },\r\n clear(): void {\r\n this._map.clear();\r\n },\r\n forEach(callback: (value: any, key: any, set: Set<any>) => void, thisArg?: any): void {\r\n this._map.forEach(callback, thisArg);\r\n }\r\n };\r\n return <any>Set;\r\n }\r\n\r\n // naive WeakMap shim\r\n function CreateWeakMapPolyfill() {\r\n const UUID_SIZE = 16;\r\n const isNode = typeof global !== \"undefined\" && Object.prototype.toString.call(global.process) === '[object process]';\r\n const nodeCrypto = isNode && require(\"crypto\");\r\n const hasOwn = Object.prototype.hasOwnProperty;\r\n const keys: { [key: string]: boolean; } = {};\r\n const rootKey = CreateUniqueKey();\r\n\r\n function WeakMap() {\r\n this._key = CreateUniqueKey();\r\n }\r\n WeakMap.prototype = {\r\n has(target: Object): boolean {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table) {\r\n return this._key in table;\r\n }\r\n return false;\r\n },\r\n get(target: Object): any {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table) {\r\n return table[this._key];\r\n }\r\n return undefined;\r\n },\r\n set(target: Object, value: any): WeakMap<any, any> {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ true);\r\n table[this._key] = value;\r\n return this;\r\n },\r\n delete(target: Object): boolean {\r\n let table = GetOrCreateWeakMapTable(target, /*create*/ false);\r\n if (table && this._key in table) {\r\n return delete table[this._key];\r\n }\r\n return false;\r\n },\r\n clear(): void {\r\n // NOTE: not a real clear, just makes the previous data unreachable\r\n this._key = CreateUniqueKey();\r\n }\r\n }\r\n\r\n function FillRandomBytes(buffer: BufferLike, size: number): void {\r\n for (var i = 0; i < size; ++i) {\r\n buffer[i] = Math.random() * 255 | 0;\r\n }\r\n }\r\n\r\n function GenRandomBytes(size: number): BufferLike {\r\n if (nodeCrypto) {\r\n let data = nodeCrypto.randomBytes(size);\r\n return data;\r\n }\r\n else if (typeof Uint8Array === \"function\") {\r\n let data = new Uint8Array(size);\r\n if (typeof crypto !== \"undefined\") {\r\n crypto.getRandomValues(<Uint8Array>data);\r\n }\r\n else if (typeof msCrypto !== \"undefined\") {\r\n msCrypto.getRandomValues(<Uint8Array>data);\r\n }\r\n else {\r\n FillRandomBytes(data, size);\r\n }\r\n return data;\r\n }\r\n else {\r\n let data = new Array(size);\r\n FillRandomBytes(data, size);\r\n return data;\r\n }\r\n }\r\n\r\n function CreateUUID() {\r\n let data = GenRandomBytes(UUID_SIZE);\r\n\r\n // mark as random - RFC 4122 § 4.4\r\n data[6] = data[6] & 0x4f | 0x40;\r\n data[8] = data[8] & 0xbf | 0x80;\r\n\r\n let result = \"\";\r\n for (let offset = 0; offset < UUID_SIZE; ++offset) {\r\n let byte = data[offset];\r\n if (offset === 4 || offset === 6 || offset === 8) {\r\n result += \"-\";\r\n }\r\n if (byte < 16) {\r\n result += \"0\";\r\n }\r\n result += byte.toString(16).toLowerCase();\r\n }\r\n\r\n return result;\r\n }\r\n\r\n function CreateUniqueKey(): string {\r\n let key: string;\r\n do {\r\n key = \"@@WeakMap@@\" + CreateUUID();\r\n }\r\n while (hasOwn.call(keys, key));\r\n keys[key] = true;\r\n return key;\r\n }\r\n\r\n function GetOrCreateWeakMapTable(target: Object, create: boolean): { [key: string]: any; } {\r\n if (!hasOwn.call(target, rootKey)) {\r\n if (!create) {\r\n return undefined;\r\n }\r\n Object.defineProperty(target, rootKey, { value: Object.create(null) });\r\n }\r\n return (<any>target)[rootKey];\r\n }\r\n\r\n return <any>WeakMap;\r\n }\r\n\r\n interface BufferLike {\r\n [offset: number]: number;\r\n length: number;\r\n }\r\n\r\n\r\n // hook global Reflect\r\n (function(__global: any) {\r\n if (typeof __global.Reflect !== \"undefined\") {\r\n if (__global.Reflect !== Reflect) {\r\n for (var p in Reflect) {\r\n __global.Reflect[p] = (<any>Reflect)[p];\r\n }\r\n }\r\n }\r\n else {\r\n __global.Reflect = Reflect;\r\n }\r\n })(\r\n typeof window !== \"undefined\" ? window :\r\n typeof WorkerGlobalScope !== \"undefined\" ? self :\r\n typeof global !== \"undefined\" ? global :\r\n Function(\"return this;\")());\r\n}","(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require==\"function\"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error(\"Cannot find module '\"+o+\"'\");throw f.code=\"MODULE_NOT_FOUND\",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require==\"function\"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){\n(function (global){\n\"use strict\";\n\n_dereq_(189);\n\n_dereq_(2);\n\nif (global._babelPolyfill) {\n throw new Error(\"only one instance of babel-polyfill is allowed\");\n}\nglobal._babelPolyfill = true;\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{\"189\":189,\"2\":2}],2:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(190);\n},{\"190\":190}],3:[function(_dereq_,module,exports){\nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n},{}],4:[function(_dereq_,module,exports){\n// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = _dereq_(84)('unscopables')\n , ArrayProto = Array.prototype;\nif(ArrayProto[UNSCOPABLES] == undefined)_dereq_(32)(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function(key){\n ArrayProto[UNSCOPABLES][key] = true;\n};\n},{\"32\":32,\"84\":84}],5:[function(_dereq_,module,exports){\nvar isObject = _dereq_(39);\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n},{\"39\":39}],6:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = _dereq_(81)\n , toIndex = _dereq_(77)\n , toLength = _dereq_(80);\n\nmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n var O = toObject(this)\n , len = toLength(O.length)\n , to = toIndex(target, len)\n , from = toIndex(start, len)\n , $$ = arguments\n , end = $$.length > 2 ? $$[2] : undefined\n , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n , inc = 1;\n if(from < to && to < from + count){\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while(count-- > 0){\n if(from in O)O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n},{\"77\":77,\"80\":80,\"81\":81}],7:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = _dereq_(81)\n , toIndex = _dereq_(77)\n , toLength = _dereq_(80);\nmodule.exports = [].fill || function fill(value /*, start = 0, end = @length */){\n var O = toObject(this)\n , length = toLength(O.length)\n , $$ = arguments\n , $$len = $$.length\n , index = toIndex($$len > 1 ? $$[1] : undefined, length)\n , end = $$len > 2 ? $$[2] : undefined\n , endPos = end === undefined ? length : toIndex(end, length);\n while(endPos > index)O[index++] = value;\n return O;\n};\n},{\"77\":77,\"80\":80,\"81\":81}],8:[function(_dereq_,module,exports){\n// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = _dereq_(79)\n , toLength = _dereq_(80)\n , toIndex = _dereq_(77);\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index;\n } return !IS_INCLUDES && -1;\n };\n};\n},{\"77\":77,\"79\":79,\"80\":80}],9:[function(_dereq_,module,exports){\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = _dereq_(18)\n , IObject = _dereq_(35)\n , toObject = _dereq_(81)\n , toLength = _dereq_(80)\n , asc = _dereq_(10);\nmodule.exports = function(TYPE){\n var IS_MAP = TYPE == 1\n , IS_FILTER = TYPE == 2\n , IS_SOME = TYPE == 3\n , IS_EVERY = TYPE == 4\n , IS_FIND_INDEX = TYPE == 6\n , NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n return function($this, callbackfn, that){\n var O = toObject($this)\n , self = IObject(O)\n , f = ctx(callbackfn, that, 3)\n , length = toLength(self.length)\n , index = 0\n , result = IS_MAP ? asc($this, length) : IS_FILTER ? asc($this, 0) : undefined\n , val, res;\n for(;length > index; index++)if(NO_HOLES || index in self){\n val = self[index];\n res = f(val, index, O);\n if(TYPE){\n if(IS_MAP)result[index] = res; // map\n else if(res)switch(TYPE){\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if(IS_EVERY)return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n},{\"10\":10,\"18\":18,\"35\":35,\"80\":80,\"81\":81}],10:[function(_dereq_,module,exports){\n// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar isObject = _dereq_(39)\n , isArray = _dereq_(37)\n , SPECIES = _dereq_(84)('species');\nmodule.exports = function(original, length){\n var C;\n if(isArray(original)){\n C = original.constructor;\n // cross-realm fallback\n if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\n if(isObject(C)){\n C = C[SPECIES];\n if(C === null)C = undefined;\n }\n } return new (C === undefined ? Array : C)(length);\n};\n},{\"37\":37,\"39\":39,\"84\":84}],11:[function(_dereq_,module,exports){\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = _dereq_(12)\n , TAG = _dereq_(84)('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = (O = Object(it))[TAG]) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n},{\"12\":12,\"84\":84}],12:[function(_dereq_,module,exports){\nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n},{}],13:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , hide = _dereq_(32)\n , redefineAll = _dereq_(61)\n , ctx = _dereq_(18)\n , strictNew = _dereq_(70)\n , defined = _dereq_(19)\n , forOf = _dereq_(28)\n , $iterDefine = _dereq_(43)\n , step = _dereq_(45)\n , ID = _dereq_(83)('id')\n , $has = _dereq_(31)\n , isObject = _dereq_(39)\n , setSpecies = _dereq_(66)\n , DESCRIPTORS = _dereq_(20)\n , isExtensible = Object.isExtensible || isObject\n , SIZE = DESCRIPTORS ? '_s' : 'size'\n , id = 0;\n\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!$has(it, ID)){\n // can't set id to frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add id\n if(!create)return 'E';\n // add missing object id\n hide(it, ID, ++id);\n // return object id with prefix\n } return 'O' + it[ID];\n};\n\nvar getEntry = function(that, key){\n // fast case\n var index = fastKey(key), entry;\n if(index !== 'F')return that._i[index];\n // frozen object case\n for(entry = that._f; entry; entry = entry.n){\n if(entry.k == key)return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n strictNew(that, C, NAME);\n that._i = $.create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear(){\n for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n entry.r = true;\n if(entry.p)entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function(key){\n var that = this\n , entry = getEntry(that, key);\n if(entry){\n var next = entry.n\n , prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if(prev)prev.n = next;\n if(next)next.p = prev;\n if(that._f == entry)that._f = next;\n if(that._l == entry)that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /*, that = undefined */){\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n , entry;\n while(entry = entry ? entry.n : this._f){\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key){\n return !!getEntry(this, key);\n }\n });\n if(DESCRIPTORS)$.setDesc(C.prototype, 'size', {\n get: function(){\n return defined(this[SIZE]);\n }\n });\n return C;\n },\n def: function(that, key, value){\n var entry = getEntry(that, key)\n , prev, index;\n // change existing entry\n if(entry){\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if(!that._f)that._f = entry;\n if(prev)prev.n = entry;\n that[SIZE]++;\n // add to index\n if(index !== 'F')that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function(C, NAME, IS_MAP){\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function(iterated, kind){\n this._t = iterated; // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function(){\n var that = this\n , kind = that._k\n , entry = that._l;\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n // get next entry\n if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if(kind == 'keys' )return step(0, entry.k);\n if(kind == 'values')return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n},{\"18\":18,\"19\":19,\"20\":20,\"28\":28,\"31\":31,\"32\":32,\"39\":39,\"43\":43,\"45\":45,\"47\":47,\"61\":61,\"66\":66,\"70\":70,\"83\":83}],14:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar forOf = _dereq_(28)\n , classof = _dereq_(11);\nmodule.exports = function(NAME){\n return function toJSON(){\n if(classof(this) != NAME)throw TypeError(NAME + \"#toJSON isn't generic\");\n var arr = [];\n forOf(this, false, arr.push, arr);\n return arr;\n };\n};\n},{\"11\":11,\"28\":28}],15:[function(_dereq_,module,exports){\n'use strict';\nvar hide = _dereq_(32)\n , redefineAll = _dereq_(61)\n , anObject = _dereq_(5)\n , isObject = _dereq_(39)\n , strictNew = _dereq_(70)\n , forOf = _dereq_(28)\n , createArrayMethod = _dereq_(9)\n , $has = _dereq_(31)\n , WEAK = _dereq_(83)('weak')\n , isExtensible = Object.isExtensible || isObject\n , arrayFind = createArrayMethod(5)\n , arrayFindIndex = createArrayMethod(6)\n , id = 0;\n\n// fallback for frozen keys\nvar frozenStore = function(that){\n return that._l || (that._l = new FrozenStore);\n};\nvar FrozenStore = function(){\n this.a = [];\n};\nvar findFrozen = function(store, key){\n return arrayFind(store.a, function(it){\n return it[0] === key;\n });\n};\nFrozenStore.prototype = {\n get: function(key){\n var entry = findFrozen(this, key);\n if(entry)return entry[1];\n },\n has: function(key){\n return !!findFrozen(this, key);\n },\n set: function(key, value){\n var entry = findFrozen(this, key);\n if(entry)entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function(key){\n var index = arrayFindIndex(this.a, function(it){\n return it[0] === key;\n });\n if(~index)this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n strictNew(that, C, NAME);\n that._i = id++; // collection id\n that._l = undefined; // leak store for frozen objects\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function(key){\n if(!isObject(key))return false;\n if(!isExtensible(key))return frozenStore(this)['delete'](key);\n return $has(key, WEAK) && $has(key[WEAK], this._i) && delete key[WEAK][this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key){\n if(!isObject(key))return false;\n if(!isExtensible(key))return frozenStore(this).has(key);\n return $has(key, WEAK) && $has(key[WEAK], this._i);\n }\n });\n return C;\n },\n def: function(that, key, value){\n if(!isExtensible(anObject(key))){\n frozenStore(that).set(key, value);\n } else {\n $has(key, WEAK) || hide(key, WEAK, {});\n key[WEAK][that._i] = value;\n } return that;\n },\n frozenStore: frozenStore,\n WEAK: WEAK\n};\n},{\"28\":28,\"31\":31,\"32\":32,\"39\":39,\"5\":5,\"61\":61,\"70\":70,\"83\":83,\"9\":9}],16:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(30)\n , $export = _dereq_(23)\n , redefine = _dereq_(62)\n , redefineAll = _dereq_(61)\n , forOf = _dereq_(28)\n , strictNew = _dereq_(70)\n , isObject = _dereq_(39)\n , fails = _dereq_(25)\n , $iterDetect = _dereq_(44)\n , setToStringTag = _dereq_(67);\n\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n var Base = global[NAME]\n , C = Base\n , ADDER = IS_MAP ? 'set' : 'add'\n , proto = C && C.prototype\n , O = {};\n var fixMethod = function(KEY){\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a){\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n new C().entries().next();\n }))){\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n } else {\n var instance = new C\n // early implementations not supports chaining\n , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n , BUGGY_ZERO;\n if(!ACCEPT_ITERABLES){ \n C = wrapper(function(target, iterable){\n strictNew(target, C, NAME);\n var that = new Base;\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n IS_WEAK || instance.forEach(function(val, key){\n BUGGY_ZERO = 1 / key === -Infinity;\n });\n if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n // weak collections should not contains .clear method\n if(IS_WEAK && proto.clear)delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n},{\"23\":23,\"25\":25,\"28\":28,\"30\":30,\"39\":39,\"44\":44,\"61\":61,\"62\":62,\"67\":67,\"70\":70}],17:[function(_dereq_,module,exports){\nvar core = module.exports = {version: '1.2.6'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n},{}],18:[function(_dereq_,module,exports){\n// optional / simple context binding\nvar aFunction = _dereq_(3);\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n},{\"3\":3}],19:[function(_dereq_,module,exports){\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n},{}],20:[function(_dereq_,module,exports){\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !_dereq_(25)(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n},{\"25\":25}],21:[function(_dereq_,module,exports){\nvar isObject = _dereq_(39)\n , document = _dereq_(30).document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n},{\"30\":30,\"39\":39}],22:[function(_dereq_,module,exports){\n// all enumerable object keys, includes symbols\nvar $ = _dereq_(47);\nmodule.exports = function(it){\n var keys = $.getKeys(it)\n , getSymbols = $.getSymbols;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = $.isEnum\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))keys.push(key);\n }\n return keys;\n};\n},{\"47\":47}],23:[function(_dereq_,module,exports){\nvar global = _dereq_(30)\n , core = _dereq_(17)\n , hide = _dereq_(32)\n , redefine = _dereq_(62)\n , ctx = _dereq_(18)\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n , key, own, out, exp;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && key in target;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if(target && !own)redefine(target, key, out);\n // export\n if(exports[key] != out)hide(exports, key, exp);\n if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\nmodule.exports = $export;\n},{\"17\":17,\"18\":18,\"30\":30,\"32\":32,\"62\":62}],24:[function(_dereq_,module,exports){\nvar MATCH = _dereq_(84)('match');\nmodule.exports = function(KEY){\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch(e){\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch(f){ /* empty */ }\n } return true;\n};\n},{\"84\":84}],25:[function(_dereq_,module,exports){\nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n},{}],26:[function(_dereq_,module,exports){\n'use strict';\nvar hide = _dereq_(32)\n , redefine = _dereq_(62)\n , fails = _dereq_(25)\n , defined = _dereq_(19)\n , wks = _dereq_(84);\n\nmodule.exports = function(KEY, length, exec){\n var SYMBOL = wks(KEY)\n , original = ''[KEY];\n if(fails(function(){\n var O = {};\n O[SYMBOL] = function(){ return 7; };\n return ''[KEY](O) != 7;\n })){\n redefine(String.prototype, KEY, exec(defined, SYMBOL, original));\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function(string, arg){ return original.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function(string){ return original.call(string, this); }\n );\n }\n};\n},{\"19\":19,\"25\":25,\"32\":32,\"62\":62,\"84\":84}],27:[function(_dereq_,module,exports){\n'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = _dereq_(5);\nmodule.exports = function(){\n var that = anObject(this)\n , result = '';\n if(that.global) result += 'g';\n if(that.ignoreCase) result += 'i';\n if(that.multiline) result += 'm';\n if(that.unicode) result += 'u';\n if(that.sticky) result += 'y';\n return result;\n};\n},{\"5\":5}],28:[function(_dereq_,module,exports){\nvar ctx = _dereq_(18)\n , call = _dereq_(41)\n , isArrayIter = _dereq_(36)\n , anObject = _dereq_(5)\n , toLength = _dereq_(80)\n , getIterFn = _dereq_(85);\nmodule.exports = function(iterable, entries, fn, that){\n var iterFn = getIterFn(iterable)\n , f = ctx(fn, that, entries ? 2 : 1)\n , index = 0\n , length, step, iterator;\n if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n call(iterator, f, step.value, entries);\n }\n};\n},{\"18\":18,\"36\":36,\"41\":41,\"5\":5,\"80\":80,\"85\":85}],29:[function(_dereq_,module,exports){\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = _dereq_(79)\n , getNames = _dereq_(47).getNames\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return getNames(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.get = function getOwnPropertyNames(it){\n if(windowNames && toString.call(it) == '[object Window]')return getWindowNames(it);\n return getNames(toIObject(it));\n};\n},{\"47\":47,\"79\":79}],30:[function(_dereq_,module,exports){\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n},{}],31:[function(_dereq_,module,exports){\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n},{}],32:[function(_dereq_,module,exports){\nvar $ = _dereq_(47)\n , createDesc = _dereq_(60);\nmodule.exports = _dereq_(20) ? function(object, key, value){\n return $.setDesc(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n},{\"20\":20,\"47\":47,\"60\":60}],33:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(30).document && document.documentElement;\n},{\"30\":30}],34:[function(_dereq_,module,exports){\n// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n var un = that === undefined;\n switch(args.length){\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n},{}],35:[function(_dereq_,module,exports){\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = _dereq_(12);\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n},{\"12\":12}],36:[function(_dereq_,module,exports){\n// check on default Array iterator\nvar Iterators = _dereq_(46)\n , ITERATOR = _dereq_(84)('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n},{\"46\":46,\"84\":84}],37:[function(_dereq_,module,exports){\n// 7.2.2 IsArray(argument)\nvar cof = _dereq_(12);\nmodule.exports = Array.isArray || function(arg){\n return cof(arg) == 'Array';\n};\n},{\"12\":12}],38:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar isObject = _dereq_(39)\n , floor = Math.floor;\nmodule.exports = function isInteger(it){\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n},{\"39\":39}],39:[function(_dereq_,module,exports){\nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n},{}],40:[function(_dereq_,module,exports){\n// 7.2.8 IsRegExp(argument)\nvar isObject = _dereq_(39)\n , cof = _dereq_(12)\n , MATCH = _dereq_(84)('match');\nmodule.exports = function(it){\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n},{\"12\":12,\"39\":39,\"84\":84}],41:[function(_dereq_,module,exports){\n// call something on iterator step with safe closing on error\nvar anObject = _dereq_(5);\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n},{\"5\":5}],42:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , descriptor = _dereq_(60)\n , setToStringTag = _dereq_(67)\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_dereq_(32)(IteratorPrototype, _dereq_(84)('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n},{\"32\":32,\"47\":47,\"60\":60,\"67\":67,\"84\":84}],43:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(49)\n , $export = _dereq_(23)\n , redefine = _dereq_(62)\n , hide = _dereq_(32)\n , has = _dereq_(31)\n , Iterators = _dereq_(46)\n , $iterCreate = _dereq_(42)\n , setToStringTag = _dereq_(67)\n , getProto = _dereq_(47).getProto\n , ITERATOR = _dereq_(84)('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , methods, key;\n // Fix native\n if($native){\n var IteratorPrototype = getProto($default.call(new Base));\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // FF fix\n if(!LIBRARY && has(proto, FF_ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: !DEF_VALUES ? $default : getMethod('entries')\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n},{\"23\":23,\"31\":31,\"32\":32,\"42\":42,\"46\":46,\"47\":47,\"49\":49,\"62\":62,\"67\":67,\"84\":84}],44:[function(_dereq_,module,exports){\nvar ITERATOR = _dereq_(84)('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ safe = true; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n},{\"84\":84}],45:[function(_dereq_,module,exports){\nmodule.exports = function(done, value){\n return {value: value, done: !!done};\n};\n},{}],46:[function(_dereq_,module,exports){\nmodule.exports = {};\n},{}],47:[function(_dereq_,module,exports){\nvar $Object = Object;\nmodule.exports = {\n create: $Object.create,\n getProto: $Object.getPrototypeOf,\n isEnum: {}.propertyIsEnumerable,\n getDesc: $Object.getOwnPropertyDescriptor,\n setDesc: $Object.defineProperty,\n setDescs: $Object.defineProperties,\n getKeys: $Object.keys,\n getNames: $Object.getOwnPropertyNames,\n getSymbols: $Object.getOwnPropertySymbols,\n each: [].forEach\n};\n},{}],48:[function(_dereq_,module,exports){\nvar $ = _dereq_(47)\n , toIObject = _dereq_(79);\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = $.getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n},{\"47\":47,\"79\":79}],49:[function(_dereq_,module,exports){\nmodule.exports = false;\n},{}],50:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nmodule.exports = Math.expm1 || function expm1(x){\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n};\n},{}],51:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x){\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n},{}],52:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x){\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n},{}],53:[function(_dereq_,module,exports){\nvar global = _dereq_(30)\n , macrotask = _dereq_(76).set\n , Observer = global.MutationObserver || global.WebKitMutationObserver\n , process = global.process\n , Promise = global.Promise\n , isNode = _dereq_(12)(process) == 'process'\n , head, last, notify;\n\nvar flush = function(){\n var parent, domain, fn;\n if(isNode && (parent = process.domain)){\n process.domain = null;\n parent.exit();\n }\n while(head){\n domain = head.domain;\n fn = head.fn;\n if(domain)domain.enter();\n fn(); // <- currently we use it only for Promise - try / catch not required\n if(domain)domain.exit();\n head = head.next;\n } last = undefined;\n if(parent)parent.enter();\n};\n\n// Node.js\nif(isNode){\n notify = function(){\n process.nextTick(flush);\n };\n// browsers with MutationObserver\n} else if(Observer){\n var toggle = 1\n , node = document.createTextNode('');\n new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n notify = function(){\n node.data = toggle = -toggle;\n };\n// environments with maybe non-completely correct, but existent Promise\n} else if(Promise && Promise.resolve){\n notify = function(){\n Promise.resolve().then(flush);\n };\n// for other environments - macrotask based on:\n// - setImmediate\n// - MessageChannel\n// - window.postMessag\n// - onreadystatechange\n// - setTimeout\n} else {\n notify = function(){\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n}\n\nmodule.exports = function asap(fn){\n var task = {fn: fn, next: undefined, domain: isNode && process.domain};\n if(last)last.next = task;\n if(!head){\n head = task;\n notify();\n } last = task;\n};\n},{\"12\":12,\"30\":30,\"76\":76}],54:[function(_dereq_,module,exports){\n// 19.1.2.1 Object.assign(target, source, ...)\nvar $ = _dereq_(47)\n , toObject = _dereq_(81)\n , IObject = _dereq_(35);\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = _dereq_(25)(function(){\n var a = Object.assign\n , A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , $$ = arguments\n , $$len = $$.length\n , index = 1\n , getKeys = $.getKeys\n , getSymbols = $.getSymbols\n , isEnum = $.isEnum;\n while($$len > index){\n var S = IObject($$[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n }\n return T;\n} : Object.assign;\n},{\"25\":25,\"35\":35,\"47\":47,\"81\":81}],55:[function(_dereq_,module,exports){\n// most Object methods by ES6 should accept primitives\nvar $export = _dereq_(23)\n , core = _dereq_(17)\n , fails = _dereq_(25);\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n},{\"17\":17,\"23\":23,\"25\":25}],56:[function(_dereq_,module,exports){\nvar $ = _dereq_(47)\n , toIObject = _dereq_(79)\n , isEnum = $.isEnum;\nmodule.exports = function(isEntries){\n return function(it){\n var O = toIObject(it)\n , keys = $.getKeys(O)\n , length = keys.length\n , i = 0\n , result = []\n , key;\n while(length > i)if(isEnum.call(O, key = keys[i++])){\n result.push(isEntries ? [key, O[key]] : O[key]);\n } return result;\n };\n};\n},{\"47\":47,\"79\":79}],57:[function(_dereq_,module,exports){\n// all object keys, includes non-enumerable and symbols\nvar $ = _dereq_(47)\n , anObject = _dereq_(5)\n , Reflect = _dereq_(30).Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n var keys = $.getNames(anObject(it))\n , getSymbols = $.getSymbols;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n},{\"30\":30,\"47\":47,\"5\":5}],58:[function(_dereq_,module,exports){\n'use strict';\nvar path = _dereq_(59)\n , invoke = _dereq_(34)\n , aFunction = _dereq_(3);\nmodule.exports = function(/* ...pargs */){\n var fn = aFunction(this)\n , length = arguments.length\n , pargs = Array(length)\n , i = 0\n , _ = path._\n , holder = false;\n while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;\n return function(/* ...args */){\n var that = this\n , $$ = arguments\n , $$len = $$.length\n , j = 0, k = 0, args;\n if(!holder && !$$len)return invoke(fn, pargs, that);\n args = pargs.slice();\n if(holder)for(;length > j; j++)if(args[j] === _)args[j] = $$[k++];\n while($$len > k)args.push($$[k++]);\n return invoke(fn, args, that);\n };\n};\n},{\"3\":3,\"34\":34,\"59\":59}],59:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(30);\n},{\"30\":30}],60:[function(_dereq_,module,exports){\nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n},{}],61:[function(_dereq_,module,exports){\nvar redefine = _dereq_(62);\nmodule.exports = function(target, src){\n for(var key in src)redefine(target, key, src[key]);\n return target;\n};\n},{\"62\":62}],62:[function(_dereq_,module,exports){\n// add fake Function#toString\n// for correct work wrapped methods / constructors with methods like LoDash isNative\nvar global = _dereq_(30)\n , hide = _dereq_(32)\n , SRC = _dereq_(83)('src')\n , TO_STRING = 'toString'\n , $toString = Function[TO_STRING]\n , TPL = ('' + $toString).split(TO_STRING);\n\n_dereq_(17).inspectSource = function(it){\n return $toString.call(it);\n};\n\n(module.exports = function(O, key, val, safe){\n if(typeof val == 'function'){\n val.hasOwnProperty(SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n val.hasOwnProperty('name') || hide(val, 'name', key);\n }\n if(O === global){\n O[key] = val;\n } else {\n if(!safe)delete O[key];\n hide(O, key, val);\n }\n})(Function.prototype, TO_STRING, function toString(){\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n},{\"17\":17,\"30\":30,\"32\":32,\"83\":83}],63:[function(_dereq_,module,exports){\nmodule.exports = function(regExp, replace){\n var replacer = replace === Object(replace) ? function(part){\n return replace[part];\n } : replace;\n return function(it){\n return String(it).replace(regExp, replacer);\n };\n};\n},{}],64:[function(_dereq_,module,exports){\n// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n},{}],65:[function(_dereq_,module,exports){\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar getDesc = _dereq_(47).getDesc\n , isObject = _dereq_(39)\n , anObject = _dereq_(5);\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = _dereq_(18)(Function.call, getDesc(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n},{\"18\":18,\"39\":39,\"47\":47,\"5\":5}],66:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(30)\n , $ = _dereq_(47)\n , DESCRIPTORS = _dereq_(20)\n , SPECIES = _dereq_(84)('species');\n\nmodule.exports = function(KEY){\n var C = global[KEY];\n if(DESCRIPTORS && C && !C[SPECIES])$.setDesc(C, SPECIES, {\n configurable: true,\n get: function(){ return this; }\n });\n};\n},{\"20\":20,\"30\":30,\"47\":47,\"84\":84}],67:[function(_dereq_,module,exports){\nvar def = _dereq_(47).setDesc\n , has = _dereq_(31)\n , TAG = _dereq_(84)('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n},{\"31\":31,\"47\":47,\"84\":84}],68:[function(_dereq_,module,exports){\nvar global = _dereq_(30)\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n},{\"30\":30}],69:[function(_dereq_,module,exports){\n// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = _dereq_(5)\n , aFunction = _dereq_(3)\n , SPECIES = _dereq_(84)('species');\nmodule.exports = function(O, D){\n var C = anObject(O).constructor, S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n},{\"3\":3,\"5\":5,\"84\":84}],70:[function(_dereq_,module,exports){\nmodule.exports = function(it, Constructor, name){\n if(!(it instanceof Constructor))throw TypeError(name + \": use the 'new' operator!\");\n return it;\n};\n},{}],71:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(78)\n , defined = _dereq_(19);\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n},{\"19\":19,\"78\":78}],72:[function(_dereq_,module,exports){\n// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = _dereq_(40)\n , defined = _dereq_(19);\n\nmodule.exports = function(that, searchString, NAME){\n if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n},{\"19\":19,\"40\":40}],73:[function(_dereq_,module,exports){\n// https://github.com/ljharb/proposal-string-pad-left-right\nvar toLength = _dereq_(80)\n , repeat = _dereq_(74)\n , defined = _dereq_(19);\n\nmodule.exports = function(that, maxLength, fillString, left){\n var S = String(defined(that))\n , stringLength = S.length\n , fillStr = fillString === undefined ? ' ' : String(fillString)\n , intMaxLength = toLength(maxLength);\n if(intMaxLength <= stringLength)return S;\n if(fillStr == '')fillStr = ' ';\n var fillLen = intMaxLength - stringLength\n , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n},{\"19\":19,\"74\":74,\"80\":80}],74:[function(_dereq_,module,exports){\n'use strict';\nvar toInteger = _dereq_(78)\n , defined = _dereq_(19);\n\nmodule.exports = function repeat(count){\n var str = String(defined(this))\n , res = ''\n , n = toInteger(count);\n if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n return res;\n};\n},{\"19\":19,\"78\":78}],75:[function(_dereq_,module,exports){\nvar $export = _dereq_(23)\n , defined = _dereq_(19)\n , fails = _dereq_(25)\n , spaces = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF'\n , space = '[' + spaces + ']'\n , non = '\\u200b\\u0085'\n , ltrim = RegExp('^' + space + space + '*')\n , rtrim = RegExp(space + space + '*$');\n\nvar exporter = function(KEY, exec){\n var exp = {};\n exp[KEY] = exec(trim);\n $export($export.P + $export.F * fails(function(){\n return !!spaces[KEY]() || non[KEY]() != non;\n }), 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function(string, TYPE){\n string = String(defined(string));\n if(TYPE & 1)string = string.replace(ltrim, '');\n if(TYPE & 2)string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n},{\"19\":19,\"23\":23,\"25\":25}],76:[function(_dereq_,module,exports){\nvar ctx = _dereq_(18)\n , invoke = _dereq_(34)\n , html = _dereq_(33)\n , cel = _dereq_(21)\n , global = _dereq_(30)\n , process = global.process\n , setTask = global.setImmediate\n , clearTask = global.clearImmediate\n , MessageChannel = global.MessageChannel\n , counter = 0\n , queue = {}\n , ONREADYSTATECHANGE = 'onreadystatechange'\n , defer, channel, port;\nvar run = function(){\n var id = +this;\n if(queue.hasOwnProperty(id)){\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listner = function(event){\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif(!setTask || !clearTask){\n setTask = function setImmediate(fn){\n var args = [], i = 1;\n while(arguments.length > i)args.push(arguments[i++]);\n queue[++counter] = function(){\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id){\n delete queue[id];\n };\n // Node.js 0.8-\n if(_dereq_(12)(process) == 'process'){\n defer = function(id){\n process.nextTick(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if(MessageChannel){\n channel = new MessageChannel;\n port = channel.port2;\n channel.port1.onmessage = listner;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n defer = function(id){\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listner, false);\n // IE8-\n } else if(ONREADYSTATECHANGE in cel('script')){\n defer = function(id){\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function(id){\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n},{\"12\":12,\"18\":18,\"21\":21,\"30\":30,\"33\":33,\"34\":34}],77:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(78)\n , max = Math.max\n , min = Math.min;\nmodule.exports = function(index, length){\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n},{\"78\":78}],78:[function(_dereq_,module,exports){\n// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n},{}],79:[function(_dereq_,module,exports){\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = _dereq_(35)\n , defined = _dereq_(19);\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n},{\"19\":19,\"35\":35}],80:[function(_dereq_,module,exports){\n// 7.1.15 ToLength\nvar toInteger = _dereq_(78)\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n},{\"78\":78}],81:[function(_dereq_,module,exports){\n// 7.1.13 ToObject(argument)\nvar defined = _dereq_(19);\nmodule.exports = function(it){\n return Object(defined(it));\n};\n},{\"19\":19}],82:[function(_dereq_,module,exports){\n// 7.1.1 ToPrimitive(input [, PreferredType])\r\nvar isObject = _dereq_(39);\r\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\r\n// and the second argument - flag - preferred type is a string\r\nmodule.exports = function(it, S){\r\n if(!isObject(it))return it;\r\n var fn, val;\r\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\r\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\r\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\r\n throw TypeError(\"Can't convert object to primitive value\");\r\n};\n},{\"39\":39}],83:[function(_dereq_,module,exports){\nvar id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n},{}],84:[function(_dereq_,module,exports){\nvar store = _dereq_(68)('wks')\n , uid = _dereq_(83)\n , Symbol = _dereq_(30).Symbol;\nmodule.exports = function(name){\n return store[name] || (store[name] =\n Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));\n};\n},{\"30\":30,\"68\":68,\"83\":83}],85:[function(_dereq_,module,exports){\nvar classof = _dereq_(11)\n , ITERATOR = _dereq_(84)('iterator')\n , Iterators = _dereq_(46);\nmodule.exports = _dereq_(17).getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n},{\"11\":11,\"17\":17,\"46\":46,\"84\":84}],86:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , DESCRIPTORS = _dereq_(20)\n , createDesc = _dereq_(60)\n , html = _dereq_(33)\n , cel = _dereq_(21)\n , has = _dereq_(31)\n , cof = _dereq_(12)\n , invoke = _dereq_(34)\n , fails = _dereq_(25)\n , anObject = _dereq_(5)\n , aFunction = _dereq_(3)\n , isObject = _dereq_(39)\n , toObject = _dereq_(81)\n , toIObject = _dereq_(79)\n , toInteger = _dereq_(78)\n , toIndex = _dereq_(77)\n , toLength = _dereq_(80)\n , IObject = _dereq_(35)\n , IE_PROTO = _dereq_(83)('__proto__')\n , createArrayMethod = _dereq_(9)\n , arrayIndexOf = _dereq_(8)(false)\n , ObjectProto = Object.prototype\n , ArrayProto = Array.prototype\n , arraySlice = ArrayProto.slice\n , arrayJoin = ArrayProto.join\n , defineProperty = $.setDesc\n , getOwnDescriptor = $.getDesc\n , defineProperties = $.setDescs\n , factories = {}\n , IE8_DOM_DEFINE;\n\nif(!DESCRIPTORS){\n IE8_DOM_DEFINE = !fails(function(){\n return defineProperty(cel('div'), 'a', {get: function(){ return 7; }}).a != 7;\n });\n $.setDesc = function(O, P, Attributes){\n if(IE8_DOM_DEFINE)try {\n return defineProperty(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)anObject(O)[P] = Attributes.value;\n return O;\n };\n $.getDesc = function(O, P){\n if(IE8_DOM_DEFINE)try {\n return getOwnDescriptor(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!ObjectProto.propertyIsEnumerable.call(O, P), O[P]);\n };\n $.setDescs = defineProperties = function(O, Properties){\n anObject(O);\n var keys = $.getKeys(Properties)\n , length = keys.length\n , i = 0\n , P;\n while(length > i)$.setDesc(O, P = keys[i++], Properties[P]);\n return O;\n };\n}\n$export($export.S + $export.F * !DESCRIPTORS, 'Object', {\n // 19.1.2.6 / 15.2.3.3 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $.getDesc,\n // 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n defineProperty: $.setDesc,\n // 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n defineProperties: defineProperties\n});\n\n // IE 8- don't enum bug keys\nvar keys1 = ('constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,' +\n 'toLocaleString,toString,valueOf').split(',')\n // Additional keys for getOwnPropertyNames\n , keys2 = keys1.concat('length', 'prototype')\n , keysLen1 = keys1.length;\n\n// Create object with `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = cel('iframe')\n , i = keysLen1\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n html.appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write('<script>document.F=Object</script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict.prototype[keys1[i]];\n return createDict();\n};\nvar createGetKeys = function(names, length){\n return function(object){\n var O = toIObject(object)\n , i = 0\n , result = []\n , key;\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while(length > i)if(has(O, key = names[i++])){\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n };\n};\nvar Empty = function(){};\n$export($export.S, 'Object', {\n // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\n getPrototypeOf: $.getProto = $.getProto || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n },\n // 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $.getNames = $.getNames || createGetKeys(keys2, keys2.length, true),\n // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n create: $.create = $.create || function(O, /*?*/Properties){\n var result;\n if(O !== null){\n Empty.prototype = anObject(O);\n result = new Empty();\n Empty.prototype = null;\n // add \"__proto__\" for Object.getPrototypeOf shim\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : defineProperties(result, Properties);\n },\n // 19.1.2.14 / 15.2.3.14 Object.keys(O)\n keys: $.getKeys = $.getKeys || createGetKeys(keys1, keysLen1, false)\n});\n\nvar construct = function(F, len, args){\n if(!(len in factories)){\n for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n }\n return factories[len](F, args);\n};\n\n// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\n$export($export.P, 'Function', {\n bind: function bind(that /*, args... */){\n var fn = aFunction(this)\n , partArgs = arraySlice.call(arguments, 1);\n var bound = function(/* args... */){\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if(isObject(fn.prototype))bound.prototype = fn.prototype;\n return bound;\n }\n});\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * fails(function(){\n if(html)arraySlice.call(html);\n}), 'Array', {\n slice: function(begin, end){\n var len = toLength(this.length)\n , klass = cof(this);\n end = end === undefined ? len : end;\n if(klass == 'Array')return arraySlice.call(this, begin, end);\n var start = toIndex(begin, len)\n , upTo = toIndex(end, len)\n , size = toLength(upTo - start)\n , cloned = Array(size)\n , i = 0;\n for(; i < size; i++)cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n$export($export.P + $export.F * (IObject != Object), 'Array', {\n join: function join(separator){\n return arrayJoin.call(IObject(this), separator === undefined ? ',' : separator);\n }\n});\n\n// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\n$export($export.S, 'Array', {isArray: _dereq_(37)});\n\nvar createArrayReduce = function(isRight){\n return function(callbackfn, memo){\n aFunction(callbackfn);\n var O = IObject(this)\n , length = toLength(O.length)\n , index = isRight ? length - 1 : 0\n , i = isRight ? -1 : 1;\n if(arguments.length < 2)for(;;){\n if(index in O){\n memo = O[index];\n index += i;\n break;\n }\n index += i;\n if(isRight ? index < 0 : length <= index){\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for(;isRight ? index >= 0 : length > index; index += i)if(index in O){\n memo = callbackfn(memo, O[index], index, this);\n }\n return memo;\n };\n};\n\nvar methodize = function($fn){\n return function(arg1/*, arg2 = undefined */){\n return $fn(this, arg1, arguments[1]);\n };\n};\n\n$export($export.P, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: $.each = $.each || methodize(createArrayMethod(0)),\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: methodize(createArrayMethod(1)),\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: methodize(createArrayMethod(2)),\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: methodize(createArrayMethod(3)),\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: methodize(createArrayMethod(4)),\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: createArrayReduce(false),\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: createArrayReduce(true),\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: methodize(arrayIndexOf),\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function(el, fromIndex /* = @[*-1] */){\n var O = toIObject(this)\n , length = toLength(O.length)\n , index = length - 1;\n if(arguments.length > 1)index = Math.min(index, toInteger(fromIndex));\n if(index < 0)index = toLength(length + index);\n for(;index >= 0; index--)if(index in O)if(O[index] === el)return index;\n return -1;\n }\n});\n\n// 20.3.3.1 / 15.9.4.4 Date.now()\n$export($export.S, 'Date', {now: function(){ return +new Date; }});\n\nvar lz = function(num){\n return num > 9 ? num : '0' + num;\n};\n\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (fails(function(){\n return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\n}) || !fails(function(){\n new Date(NaN).toISOString();\n})), 'Date', {\n toISOString: function toISOString(){\n if(!isFinite(this))throw RangeError('Invalid time value');\n var d = this\n , y = d.getUTCFullYear()\n , m = d.getUTCMilliseconds()\n , s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n }\n});\n},{\"12\":12,\"20\":20,\"21\":21,\"23\":23,\"25\":25,\"3\":3,\"31\":31,\"33\":33,\"34\":34,\"35\":35,\"37\":37,\"39\":39,\"47\":47,\"5\":5,\"60\":60,\"77\":77,\"78\":78,\"79\":79,\"8\":8,\"80\":80,\"81\":81,\"83\":83,\"9\":9}],87:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = _dereq_(23);\n\n$export($export.P, 'Array', {copyWithin: _dereq_(6)});\n\n_dereq_(4)('copyWithin');\n},{\"23\":23,\"4\":4,\"6\":6}],88:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = _dereq_(23);\n\n$export($export.P, 'Array', {fill: _dereq_(7)});\n\n_dereq_(4)('fill');\n},{\"23\":23,\"4\":4,\"7\":7}],89:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = _dereq_(23)\n , $find = _dereq_(9)(6)\n , KEY = 'findIndex'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n_dereq_(4)(KEY);\n},{\"23\":23,\"4\":4,\"9\":9}],90:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = _dereq_(23)\n , $find = _dereq_(9)(5)\n , KEY = 'find'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n_dereq_(4)(KEY);\n},{\"23\":23,\"4\":4,\"9\":9}],91:[function(_dereq_,module,exports){\n'use strict';\nvar ctx = _dereq_(18)\n , $export = _dereq_(23)\n , toObject = _dereq_(81)\n , call = _dereq_(41)\n , isArrayIter = _dereq_(36)\n , toLength = _dereq_(80)\n , getIterFn = _dereq_(85);\n$export($export.S + $export.F * !_dereq_(44)(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , $$ = arguments\n , $$len = $$.length\n , mapfn = $$len > 1 ? $$[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n result[index] = mapping ? mapfn(O[index], index) : O[index];\n }\n }\n result.length = index;\n return result;\n }\n});\n\n},{\"18\":18,\"23\":23,\"36\":36,\"41\":41,\"44\":44,\"80\":80,\"81\":81,\"85\":85}],92:[function(_dereq_,module,exports){\n'use strict';\nvar addToUnscopables = _dereq_(4)\n , step = _dereq_(45)\n , Iterators = _dereq_(46)\n , toIObject = _dereq_(79);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = _dereq_(43)(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n},{\"4\":4,\"43\":43,\"45\":45,\"46\":46,\"79\":79}],93:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(23);\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * _dereq_(25)(function(){\n function F(){}\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */){\n var index = 0\n , $$ = arguments\n , $$len = $$.length\n , result = new (typeof this == 'function' ? this : Array)($$len);\n while($$len > index)result[index] = $$[index++];\n result.length = $$len;\n return result;\n }\n});\n},{\"23\":23,\"25\":25}],94:[function(_dereq_,module,exports){\n_dereq_(66)('Array');\n},{\"66\":66}],95:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , isObject = _dereq_(39)\n , HAS_INSTANCE = _dereq_(84)('hasInstance')\n , FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif(!(HAS_INSTANCE in FunctionProto))$.setDesc(FunctionProto, HAS_INSTANCE, {value: function(O){\n if(typeof this != 'function' || !isObject(O))return false;\n if(!isObject(this.prototype))return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while(O = $.getProto(O))if(this.prototype === O)return true;\n return false;\n}});\n},{\"39\":39,\"47\":47,\"84\":84}],96:[function(_dereq_,module,exports){\nvar setDesc = _dereq_(47).setDesc\n , createDesc = _dereq_(60)\n , has = _dereq_(31)\n , FProto = Function.prototype\n , nameRE = /^\\s*function ([^ (]*)/\n , NAME = 'name';\n// 19.2.4.2 name\nNAME in FProto || _dereq_(20) && setDesc(FProto, NAME, {\n configurable: true,\n get: function(){\n var match = ('' + this).match(nameRE)\n , name = match ? match[1] : '';\n has(this, NAME) || setDesc(this, NAME, createDesc(5, name));\n return name;\n }\n});\n},{\"20\":20,\"31\":31,\"47\":47,\"60\":60}],97:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(13);\n\n// 23.1 Map Objects\n_dereq_(16)('Map', function(get){\n return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key){\n var entry = strong.getEntry(this, key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value){\n return strong.def(this, key === 0 ? 0 : key, value);\n }\n}, strong, true);\n},{\"13\":13,\"16\":16}],98:[function(_dereq_,module,exports){\n// 20.2.2.3 Math.acosh(x)\nvar $export = _dereq_(23)\n , log1p = _dereq_(51)\n , sqrt = Math.sqrt\n , $acosh = Math.acosh;\n\n// V8 bug https://code.google.com/p/v8/issues/detail?id=3509\n$export($export.S + $export.F * !($acosh && Math.floor($acosh(Number.MAX_VALUE)) == 710), 'Math', {\n acosh: function acosh(x){\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n},{\"23\":23,\"51\":51}],99:[function(_dereq_,module,exports){\n// 20.2.2.5 Math.asinh(x)\nvar $export = _dereq_(23);\n\nfunction asinh(x){\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n$export($export.S, 'Math', {asinh: asinh});\n},{\"23\":23}],100:[function(_dereq_,module,exports){\n// 20.2.2.7 Math.atanh(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {\n atanh: function atanh(x){\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n},{\"23\":23}],101:[function(_dereq_,module,exports){\n// 20.2.2.9 Math.cbrt(x)\nvar $export = _dereq_(23)\n , sign = _dereq_(52);\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x){\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n},{\"23\":23,\"52\":52}],102:[function(_dereq_,module,exports){\n// 20.2.2.11 Math.clz32(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {\n clz32: function clz32(x){\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n},{\"23\":23}],103:[function(_dereq_,module,exports){\n// 20.2.2.12 Math.cosh(x)\nvar $export = _dereq_(23)\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x){\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n},{\"23\":23}],104:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {expm1: _dereq_(50)});\n},{\"23\":23,\"50\":50}],105:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar $export = _dereq_(23)\n , sign = _dereq_(52)\n , pow = Math.pow\n , EPSILON = pow(2, -52)\n , EPSILON32 = pow(2, -23)\n , MAX32 = pow(2, 127) * (2 - EPSILON32)\n , MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function(n){\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n\n$export($export.S, 'Math', {\n fround: function fround(x){\n var $abs = Math.abs(x)\n , $sign = sign(x)\n , a, result;\n if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n if(result > MAX32 || result != result)return $sign * Infinity;\n return $sign * result;\n }\n});\n},{\"23\":23,\"52\":52}],106:[function(_dereq_,module,exports){\n// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = _dereq_(23)\n , abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n var sum = 0\n , i = 0\n , $$ = arguments\n , $$len = $$.length\n , larg = 0\n , arg, div;\n while(i < $$len){\n arg = abs($$[i++]);\n if(larg < arg){\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if(arg > 0){\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n},{\"23\":23}],107:[function(_dereq_,module,exports){\n// 20.2.2.18 Math.imul(x, y)\nvar $export = _dereq_(23)\n , $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * _dereq_(25)(function(){\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y){\n var UINT16 = 0xffff\n , xn = +x\n , yn = +y\n , xl = UINT16 & xn\n , yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n},{\"23\":23,\"25\":25}],108:[function(_dereq_,module,exports){\n// 20.2.2.21 Math.log10(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {\n log10: function log10(x){\n return Math.log(x) / Math.LN10;\n }\n});\n},{\"23\":23}],109:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {log1p: _dereq_(51)});\n},{\"23\":23,\"51\":51}],110:[function(_dereq_,module,exports){\n// 20.2.2.22 Math.log2(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {\n log2: function log2(x){\n return Math.log(x) / Math.LN2;\n }\n});\n},{\"23\":23}],111:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {sign: _dereq_(52)});\n},{\"23\":23,\"52\":52}],112:[function(_dereq_,module,exports){\n// 20.2.2.30 Math.sinh(x)\nvar $export = _dereq_(23)\n , expm1 = _dereq_(50)\n , exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * _dereq_(25)(function(){\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x){\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n},{\"23\":23,\"25\":25,\"50\":50}],113:[function(_dereq_,module,exports){\n// 20.2.2.33 Math.tanh(x)\nvar $export = _dereq_(23)\n , expm1 = _dereq_(50)\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x){\n var a = expm1(x = +x)\n , b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n},{\"23\":23,\"50\":50}],114:[function(_dereq_,module,exports){\n// 20.2.2.34 Math.trunc(x)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Math', {\n trunc: function trunc(it){\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n},{\"23\":23}],115:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , global = _dereq_(30)\n , has = _dereq_(31)\n , cof = _dereq_(12)\n , toPrimitive = _dereq_(82)\n , fails = _dereq_(25)\n , $trim = _dereq_(75).trim\n , NUMBER = 'Number'\n , $Number = global[NUMBER]\n , Base = $Number\n , proto = $Number.prototype\n // Opera ~12 has broken Object#toString\n , BROKEN_COF = cof($.create(proto)) == NUMBER\n , TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function(argument){\n var it = toPrimitive(argument, false);\n if(typeof it == 'string' && it.length > 2){\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0)\n , third, radix, maxCode;\n if(first === 43 || first === 45){\n third = it.charCodeAt(2);\n if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if(first === 48){\n switch(it.charCodeAt(1)){\n case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default : return +it;\n }\n for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if(code < 48 || code > maxCode)return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n $Number = function Number(value){\n var it = arguments.length < 1 ? 0 : value\n , that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? new Base(toNumber(it)) : toNumber(it);\n };\n $.each.call(_dereq_(20) ? $.getNames(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), function(key){\n if(has(Base, key) && !has($Number, key)){\n $.setDesc($Number, key, $.getDesc(Base, key));\n }\n });\n $Number.prototype = proto;\n proto.constructor = $Number;\n _dereq_(62)(global, NUMBER, $Number);\n}\n},{\"12\":12,\"20\":20,\"25\":25,\"30\":30,\"31\":31,\"47\":47,\"62\":62,\"75\":75,\"82\":82}],116:[function(_dereq_,module,exports){\n// 20.1.2.1 Number.EPSILON\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n},{\"23\":23}],117:[function(_dereq_,module,exports){\n// 20.1.2.2 Number.isFinite(number)\nvar $export = _dereq_(23)\n , _isFinite = _dereq_(30).isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it){\n return typeof it == 'number' && _isFinite(it);\n }\n});\n},{\"23\":23,\"30\":30}],118:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {isInteger: _dereq_(38)});\n},{\"23\":23,\"38\":38}],119:[function(_dereq_,module,exports){\n// 20.1.2.4 Number.isNaN(number)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number){\n return number != number;\n }\n});\n},{\"23\":23}],120:[function(_dereq_,module,exports){\n// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = _dereq_(23)\n , isInteger = _dereq_(38)\n , abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number){\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n},{\"23\":23,\"38\":38}],121:[function(_dereq_,module,exports){\n// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n},{\"23\":23}],122:[function(_dereq_,module,exports){\n// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n},{\"23\":23}],123:[function(_dereq_,module,exports){\n// 20.1.2.12 Number.parseFloat(string)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {parseFloat: parseFloat});\n},{\"23\":23}],124:[function(_dereq_,module,exports){\n// 20.1.2.13 Number.parseInt(string, radix)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Number', {parseInt: parseInt});\n},{\"23\":23}],125:[function(_dereq_,module,exports){\n// 19.1.3.1 Object.assign(target, source)\nvar $export = _dereq_(23);\n\n$export($export.S + $export.F, 'Object', {assign: _dereq_(54)});\n},{\"23\":23,\"54\":54}],126:[function(_dereq_,module,exports){\n// 19.1.2.5 Object.freeze(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('freeze', function($freeze){\n return function freeze(it){\n return $freeze && isObject(it) ? $freeze(it) : it;\n };\n});\n},{\"39\":39,\"55\":55}],127:[function(_dereq_,module,exports){\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = _dereq_(79);\n\n_dereq_(55)('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor){\n return function getOwnPropertyDescriptor(it, key){\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n},{\"55\":55,\"79\":79}],128:[function(_dereq_,module,exports){\n// 19.1.2.7 Object.getOwnPropertyNames(O)\n_dereq_(55)('getOwnPropertyNames', function(){\n return _dereq_(29).get;\n});\n},{\"29\":29,\"55\":55}],129:[function(_dereq_,module,exports){\n// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = _dereq_(81);\n\n_dereq_(55)('getPrototypeOf', function($getPrototypeOf){\n return function getPrototypeOf(it){\n return $getPrototypeOf(toObject(it));\n };\n});\n},{\"55\":55,\"81\":81}],130:[function(_dereq_,module,exports){\n// 19.1.2.11 Object.isExtensible(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('isExtensible', function($isExtensible){\n return function isExtensible(it){\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n},{\"39\":39,\"55\":55}],131:[function(_dereq_,module,exports){\n// 19.1.2.12 Object.isFrozen(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('isFrozen', function($isFrozen){\n return function isFrozen(it){\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n},{\"39\":39,\"55\":55}],132:[function(_dereq_,module,exports){\n// 19.1.2.13 Object.isSealed(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('isSealed', function($isSealed){\n return function isSealed(it){\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n},{\"39\":39,\"55\":55}],133:[function(_dereq_,module,exports){\n// 19.1.3.10 Object.is(value1, value2)\nvar $export = _dereq_(23);\n$export($export.S, 'Object', {is: _dereq_(64)});\n},{\"23\":23,\"64\":64}],134:[function(_dereq_,module,exports){\n// 19.1.2.14 Object.keys(O)\nvar toObject = _dereq_(81);\n\n_dereq_(55)('keys', function($keys){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n},{\"55\":55,\"81\":81}],135:[function(_dereq_,module,exports){\n// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('preventExtensions', function($preventExtensions){\n return function preventExtensions(it){\n return $preventExtensions && isObject(it) ? $preventExtensions(it) : it;\n };\n});\n},{\"39\":39,\"55\":55}],136:[function(_dereq_,module,exports){\n// 19.1.2.17 Object.seal(O)\nvar isObject = _dereq_(39);\n\n_dereq_(55)('seal', function($seal){\n return function seal(it){\n return $seal && isObject(it) ? $seal(it) : it;\n };\n});\n},{\"39\":39,\"55\":55}],137:[function(_dereq_,module,exports){\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = _dereq_(23);\n$export($export.S, 'Object', {setPrototypeOf: _dereq_(65).set});\n},{\"23\":23,\"65\":65}],138:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = _dereq_(11)\n , test = {};\ntest[_dereq_(84)('toStringTag')] = 'z';\nif(test + '' != '[object z]'){\n _dereq_(62)(Object.prototype, 'toString', function toString(){\n return '[object ' + classof(this) + ']';\n }, true);\n}\n},{\"11\":11,\"62\":62,\"84\":84}],139:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , LIBRARY = _dereq_(49)\n , global = _dereq_(30)\n , ctx = _dereq_(18)\n , classof = _dereq_(11)\n , $export = _dereq_(23)\n , isObject = _dereq_(39)\n , anObject = _dereq_(5)\n , aFunction = _dereq_(3)\n , strictNew = _dereq_(70)\n , forOf = _dereq_(28)\n , setProto = _dereq_(65).set\n , same = _dereq_(64)\n , SPECIES = _dereq_(84)('species')\n , speciesConstructor = _dereq_(69)\n , asap = _dereq_(53)\n , PROMISE = 'Promise'\n , process = global.process\n , isNode = classof(process) == 'process'\n , P = global[PROMISE]\n , Wrapper;\n\nvar testResolve = function(sub){\n var test = new P(function(){});\n if(sub)test.constructor = Object;\n return P.resolve(test) === test;\n};\n\nvar USE_NATIVE = function(){\n var works = false;\n function P2(x){\n var self = new P(x);\n setProto(self, P2.prototype);\n return self;\n }\n try {\n works = P && P.resolve && testResolve();\n setProto(P2, P);\n P2.prototype = $.create(P.prototype, {constructor: {value: P2}});\n // actual Firefox has broken subclass support, test that\n if(!(P2.resolve(5).then(function(){}) instanceof P2)){\n works = false;\n }\n // actual V8 bug, https://code.google.com/p/v8/issues/detail?id=4162\n if(works && _dereq_(20)){\n var thenableThenGotten = false;\n P.resolve($.setDesc({}, 'then', {\n get: function(){ thenableThenGotten = true; }\n }));\n works = thenableThenGotten;\n }\n } catch(e){ works = false; }\n return works;\n}();\n\n// helpers\nvar sameConstructor = function(a, b){\n // library wrapper special case\n if(LIBRARY && a === P && b === Wrapper)return true;\n return same(a, b);\n};\nvar getConstructor = function(C){\n var S = anObject(C)[SPECIES];\n return S != undefined ? S : C;\n};\nvar isThenable = function(it){\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar PromiseCapability = function(C){\n var resolve, reject;\n this.promise = new C(function($$resolve, $$reject){\n if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve),\n this.reject = aFunction(reject)\n};\nvar perform = function(exec){\n try {\n exec();\n } catch(e){\n return {error: e};\n }\n};\nvar notify = function(record, isReject){\n if(record.n)return;\n record.n = true;\n var chain = record.c;\n asap(function(){\n var value = record.v\n , ok = record.s == 1\n , i = 0;\n var run = function(reaction){\n var handler = ok ? reaction.ok : reaction.fail\n , resolve = reaction.resolve\n , reject = reaction.reject\n , result, then;\n try {\n if(handler){\n if(!ok)record.h = true;\n result = handler === true ? value : handler(value);\n if(result === reaction.promise){\n reject(TypeError('Promise-chain cycle'));\n } else if(then = isThenable(result)){\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch(e){\n reject(e);\n }\n };\n while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n chain.length = 0;\n record.n = false;\n if(isReject)setTimeout(function(){\n var promise = record.p\n , handler, console;\n if(isUnhandled(promise)){\n if(isNode){\n process.emit('unhandledRejection', value, promise);\n } else if(handler = global.onunhandledrejection){\n handler({promise: promise, reason: value});\n } else if((console = global.console) && console.error){\n console.error('Unhandled promise rejection', value);\n }\n } record.a = undefined;\n }, 1);\n });\n};\nvar isUnhandled = function(promise){\n var record = promise._d\n , chain = record.a || record.c\n , i = 0\n , reaction;\n if(record.h)return false;\n while(chain.length > i){\n reaction = chain[i++];\n if(reaction.fail || !isUnhandled(reaction.promise))return false;\n } return true;\n};\nvar $reject = function(value){\n var record = this;\n if(record.d)return;\n record.d = true;\n record = record.r || record; // unwrap\n record.v = value;\n record.s = 2;\n record.a = record.c.slice();\n notify(record, true);\n};\nvar $resolve = function(value){\n var record = this\n , then;\n if(record.d)return;\n record.d = true;\n record = record.r || record; // unwrap\n try {\n if(record.p === value)throw TypeError(\"Promise can't be resolved itself\");\n if(then = isThenable(value)){\n asap(function(){\n var wrapper = {r: record, d: false}; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch(e){\n $reject.call(wrapper, e);\n }\n });\n } else {\n record.v = value;\n record.s = 1;\n notify(record, false);\n }\n } catch(e){\n $reject.call({r: record, d: false}, e); // wrap\n }\n};\n\n// constructor polyfill\nif(!USE_NATIVE){\n // 25.4.3.1 Promise(executor)\n P = function Promise(executor){\n aFunction(executor);\n var record = this._d = {\n p: strictNew(this, P, PROMISE), // <- promise\n c: [], // <- awaiting reactions\n a: undefined, // <- checked in isUnhandled reactions\n s: 0, // <- state\n d: false, // <- done\n v: undefined, // <- value\n h: false, // <- handled rejection\n n: false // <- notify\n };\n try {\n executor(ctx($resolve, record, 1), ctx($reject, record, 1));\n } catch(err){\n $reject.call(record, err);\n }\n };\n _dereq_(61)(P.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected){\n var reaction = new PromiseCapability(speciesConstructor(this, P))\n , promise = reaction.promise\n , record = this._d;\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n record.c.push(reaction);\n if(record.a)record.a.push(reaction);\n if(record.s)notify(record, false);\n return promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function(onRejected){\n return this.then(undefined, onRejected);\n }\n });\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});\n_dereq_(67)(P, PROMISE);\n_dereq_(66)(PROMISE);\nWrapper = _dereq_(17)[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r){\n var capability = new PromiseCapability(this)\n , $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x){\n // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n if(x instanceof P && sameConstructor(x.constructor, this))return x;\n var capability = new PromiseCapability(this)\n , $$resolve = capability.resolve;\n $$resolve(x);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && _dereq_(44)(function(iter){\n P.all(iter)['catch'](function(){});\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable){\n var C = getConstructor(this)\n , capability = new PromiseCapability(C)\n , resolve = capability.resolve\n , reject = capability.reject\n , values = [];\n var abrupt = perform(function(){\n forOf(iterable, false, values.push, values);\n var remaining = values.length\n , results = Array(remaining);\n if(remaining)$.each.call(values, function(promise, index){\n var alreadyCalled = false;\n C.resolve(promise).then(function(value){\n if(alreadyCalled)return;\n alreadyCalled = true;\n results[index] = value;\n --remaining || resolve(results);\n }, reject);\n });\n else resolve(results);\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable){\n var C = getConstructor(this)\n , capability = new PromiseCapability(C)\n , reject = capability.reject;\n var abrupt = perform(function(){\n forOf(iterable, false, function(promise){\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n }\n});\n},{\"11\":11,\"17\":17,\"18\":18,\"20\":20,\"23\":23,\"28\":28,\"3\":3,\"30\":30,\"39\":39,\"44\":44,\"47\":47,\"49\":49,\"5\":5,\"53\":53,\"61\":61,\"64\":64,\"65\":65,\"66\":66,\"67\":67,\"69\":69,\"70\":70,\"84\":84}],140:[function(_dereq_,module,exports){\n// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = _dereq_(23)\n , _apply = Function.apply;\n\n$export($export.S, 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList){\n return _apply.call(target, thisArgument, argumentsList);\n }\n});\n},{\"23\":23}],141:[function(_dereq_,module,exports){\n// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , aFunction = _dereq_(3)\n , anObject = _dereq_(5)\n , isObject = _dereq_(39)\n , bind = Function.bind || _dereq_(17).Function.prototype.bind;\n\n// MS Edge supports only 2 arguments\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n$export($export.S + $export.F * _dereq_(25)(function(){\n function F(){}\n return !(Reflect.construct(function(){}, [], F) instanceof F);\n}), 'Reflect', {\n construct: function construct(Target, args /*, newTarget*/){\n aFunction(Target);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if(Target == newTarget){\n // w/o altered newTarget, optimization for 0-4 arguments\n if(args != undefined)switch(anObject(args).length){\n case 0: return new Target;\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args));\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype\n , instance = $.create(isObject(proto) ? proto : Object.prototype)\n , result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n},{\"17\":17,\"23\":23,\"25\":25,\"3\":3,\"39\":39,\"47\":47,\"5\":5}],142:[function(_dereq_,module,exports){\n// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , anObject = _dereq_(5);\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * _dereq_(25)(function(){\n Reflect.defineProperty($.setDesc({}, 1, {value: 1}), 1, {value: 2});\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes){\n anObject(target);\n try {\n $.setDesc(target, propertyKey, attributes);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n},{\"23\":23,\"25\":25,\"47\":47,\"5\":5}],143:[function(_dereq_,module,exports){\n// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = _dereq_(23)\n , getDesc = _dereq_(47).getDesc\n , anObject = _dereq_(5);\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey){\n var desc = getDesc(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n},{\"23\":23,\"47\":47,\"5\":5}],144:[function(_dereq_,module,exports){\n'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = _dereq_(23)\n , anObject = _dereq_(5);\nvar Enumerate = function(iterated){\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = [] // keys\n , key;\n for(key in iterated)keys.push(key);\n};\n_dereq_(42)(Enumerate, 'Object', function(){\n var that = this\n , keys = that._k\n , key;\n do {\n if(that._i >= keys.length)return {value: undefined, done: true};\n } while(!((key = keys[that._i++]) in that._t));\n return {value: key, done: false};\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target){\n return new Enumerate(target);\n }\n});\n},{\"23\":23,\"42\":42,\"5\":5}],145:[function(_dereq_,module,exports){\n// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , anObject = _dereq_(5);\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n return $.getDesc(anObject(target), propertyKey);\n }\n});\n},{\"23\":23,\"47\":47,\"5\":5}],146:[function(_dereq_,module,exports){\n// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = _dereq_(23)\n , getProto = _dereq_(47).getProto\n , anObject = _dereq_(5);\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target){\n return getProto(anObject(target));\n }\n});\n},{\"23\":23,\"47\":47,\"5\":5}],147:[function(_dereq_,module,exports){\n// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar $ = _dereq_(47)\n , has = _dereq_(31)\n , $export = _dereq_(23)\n , isObject = _dereq_(39)\n , anObject = _dereq_(5);\n\nfunction get(target, propertyKey/*, receiver*/){\n var receiver = arguments.length < 3 ? target : arguments[2]\n , desc, proto;\n if(anObject(target) === receiver)return target[propertyKey];\n if(desc = $.getDesc(target, propertyKey))return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if(isObject(proto = $.getProto(target)))return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', {get: get});\n},{\"23\":23,\"31\":31,\"39\":39,\"47\":47,\"5\":5}],148:[function(_dereq_,module,exports){\n// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey){\n return propertyKey in target;\n }\n});\n},{\"23\":23}],149:[function(_dereq_,module,exports){\n// 26.1.10 Reflect.isExtensible(target)\nvar $export = _dereq_(23)\n , anObject = _dereq_(5)\n , $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target){\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n},{\"23\":23,\"5\":5}],150:[function(_dereq_,module,exports){\n// 26.1.11 Reflect.ownKeys(target)\nvar $export = _dereq_(23);\n\n$export($export.S, 'Reflect', {ownKeys: _dereq_(57)});\n},{\"23\":23,\"57\":57}],151:[function(_dereq_,module,exports){\n// 26.1.12 Reflect.preventExtensions(target)\nvar $export = _dereq_(23)\n , anObject = _dereq_(5)\n , $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target){\n anObject(target);\n try {\n if($preventExtensions)$preventExtensions(target);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n},{\"23\":23,\"5\":5}],152:[function(_dereq_,module,exports){\n// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = _dereq_(23)\n , setProto = _dereq_(65);\n\nif(setProto)$export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto){\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n},{\"23\":23,\"65\":65}],153:[function(_dereq_,module,exports){\n// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar $ = _dereq_(47)\n , has = _dereq_(31)\n , $export = _dereq_(23)\n , createDesc = _dereq_(60)\n , anObject = _dereq_(5)\n , isObject = _dereq_(39);\n\nfunction set(target, propertyKey, V/*, receiver*/){\n var receiver = arguments.length < 4 ? target : arguments[3]\n , ownDesc = $.getDesc(anObject(target), propertyKey)\n , existingDescriptor, proto;\n if(!ownDesc){\n if(isObject(proto = $.getProto(target))){\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if(has(ownDesc, 'value')){\n if(ownDesc.writable === false || !isObject(receiver))return false;\n existingDescriptor = $.getDesc(receiver, propertyKey) || createDesc(0);\n existingDescriptor.value = V;\n $.setDesc(receiver, propertyKey, existingDescriptor);\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', {set: set});\n},{\"23\":23,\"31\":31,\"39\":39,\"47\":47,\"5\":5,\"60\":60}],154:[function(_dereq_,module,exports){\nvar $ = _dereq_(47)\n , global = _dereq_(30)\n , isRegExp = _dereq_(40)\n , $flags = _dereq_(27)\n , $RegExp = global.RegExp\n , Base = $RegExp\n , proto = $RegExp.prototype\n , re1 = /a/g\n , re2 = /a/g\n // \"new\" creates a new object, old webkit buggy here\n , CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif(_dereq_(20) && (!CORRECT_NEW || _dereq_(25)(function(){\n re2[_dereq_(84)('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))){\n $RegExp = function RegExp(p, f){\n var piRE = isRegExp(p)\n , fiU = f === undefined;\n return !(this instanceof $RegExp) && piRE && p.constructor === $RegExp && fiU ? p\n : CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f);\n };\n $.each.call($.getNames(Base), function(key){\n key in $RegExp || $.setDesc($RegExp, key, {\n configurable: true,\n get: function(){ return Base[key]; },\n set: function(it){ Base[key] = it; }\n });\n });\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n _dereq_(62)(global, 'RegExp', $RegExp);\n}\n\n_dereq_(66)('RegExp');\n},{\"20\":20,\"25\":25,\"27\":27,\"30\":30,\"40\":40,\"47\":47,\"62\":62,\"66\":66,\"84\":84}],155:[function(_dereq_,module,exports){\n// 21.2.5.3 get RegExp.prototype.flags()\nvar $ = _dereq_(47);\nif(_dereq_(20) && /./g.flags != 'g')$.setDesc(RegExp.prototype, 'flags', {\n configurable: true,\n get: _dereq_(27)\n});\n},{\"20\":20,\"27\":27,\"47\":47}],156:[function(_dereq_,module,exports){\n// @@match logic\n_dereq_(26)('match', 1, function(defined, MATCH){\n // 21.1.3.11 String.prototype.match(regexp)\n return function match(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n };\n});\n},{\"26\":26}],157:[function(_dereq_,module,exports){\n// @@replace logic\n_dereq_(26)('replace', 2, function(defined, REPLACE, $replace){\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return function replace(searchValue, replaceValue){\n 'use strict';\n var O = defined(this)\n , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n };\n});\n},{\"26\":26}],158:[function(_dereq_,module,exports){\n// @@search logic\n_dereq_(26)('search', 1, function(defined, SEARCH){\n // 21.1.3.15 String.prototype.search(regexp)\n return function search(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n };\n});\n},{\"26\":26}],159:[function(_dereq_,module,exports){\n// @@split logic\n_dereq_(26)('split', 2, function(defined, SPLIT, $split){\n // 21.1.3.17 String.prototype.split(separator, limit)\n return function split(separator, limit){\n 'use strict';\n var O = defined(this)\n , fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined\n ? fn.call(separator, O, limit)\n : $split.call(String(O), separator, limit);\n };\n});\n},{\"26\":26}],160:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(13);\n\n// 23.2 Set Objects\n_dereq_(16)('Set', function(get){\n return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value){\n return strong.def(this, value = value === 0 ? 0 : value, value);\n }\n}, strong);\n},{\"13\":13,\"16\":16}],161:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(23)\n , $at = _dereq_(71)(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos){\n return $at(this, pos);\n }\n});\n},{\"23\":23,\"71\":71}],162:[function(_dereq_,module,exports){\n// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = _dereq_(23)\n , toLength = _dereq_(80)\n , context = _dereq_(72)\n , ENDS_WITH = 'endsWith'\n , $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * _dereq_(24)(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /*, endPosition = @length */){\n var that = context(this, searchString, ENDS_WITH)\n , $$ = arguments\n , endPosition = $$.length > 1 ? $$[1] : undefined\n , len = toLength(that.length)\n , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n , search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n},{\"23\":23,\"24\":24,\"72\":72,\"80\":80}],163:[function(_dereq_,module,exports){\nvar $export = _dereq_(23)\n , toIndex = _dereq_(77)\n , fromCharCode = String.fromCharCode\n , $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n var res = []\n , $$ = arguments\n , $$len = $$.length\n , i = 0\n , code;\n while($$len > i){\n code = +$$[i++];\n if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n},{\"23\":23,\"77\":77}],164:[function(_dereq_,module,exports){\n// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = _dereq_(23)\n , context = _dereq_(72)\n , INCLUDES = 'includes';\n\n$export($export.P + $export.F * _dereq_(24)(INCLUDES), 'String', {\n includes: function includes(searchString /*, position = 0 */){\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n},{\"23\":23,\"24\":24,\"72\":72}],165:[function(_dereq_,module,exports){\n'use strict';\nvar $at = _dereq_(71)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_dereq_(43)(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n},{\"43\":43,\"71\":71}],166:[function(_dereq_,module,exports){\nvar $export = _dereq_(23)\n , toIObject = _dereq_(79)\n , toLength = _dereq_(80);\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite){\n var tpl = toIObject(callSite.raw)\n , len = toLength(tpl.length)\n , $$ = arguments\n , $$len = $$.length\n , res = []\n , i = 0;\n while(len > i){\n res.push(String(tpl[i++]));\n if(i < $$len)res.push(String($$[i]));\n } return res.join('');\n }\n});\n},{\"23\":23,\"79\":79,\"80\":80}],167:[function(_dereq_,module,exports){\nvar $export = _dereq_(23);\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: _dereq_(74)\n});\n},{\"23\":23,\"74\":74}],168:[function(_dereq_,module,exports){\n// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = _dereq_(23)\n , toLength = _dereq_(80)\n , context = _dereq_(72)\n , STARTS_WITH = 'startsWith'\n , $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * _dereq_(24)(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /*, position = 0 */){\n var that = context(this, searchString, STARTS_WITH)\n , $$ = arguments\n , index = toLength(Math.min($$.length > 1 ? $$[1] : undefined, that.length))\n , search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n},{\"23\":23,\"24\":24,\"72\":72,\"80\":80}],169:[function(_dereq_,module,exports){\n'use strict';\n// 21.1.3.25 String.prototype.trim()\n_dereq_(75)('trim', function($trim){\n return function trim(){\n return $trim(this, 3);\n };\n});\n},{\"75\":75}],170:[function(_dereq_,module,exports){\n'use strict';\n// ECMAScript 6 symbols shim\nvar $ = _dereq_(47)\n , global = _dereq_(30)\n , has = _dereq_(31)\n , DESCRIPTORS = _dereq_(20)\n , $export = _dereq_(23)\n , redefine = _dereq_(62)\n , $fails = _dereq_(25)\n , shared = _dereq_(68)\n , setToStringTag = _dereq_(67)\n , uid = _dereq_(83)\n , wks = _dereq_(84)\n , keyOf = _dereq_(48)\n , $names = _dereq_(29)\n , enumKeys = _dereq_(22)\n , isArray = _dereq_(37)\n , anObject = _dereq_(5)\n , toIObject = _dereq_(79)\n , createDesc = _dereq_(60)\n , getDesc = $.getDesc\n , setDesc = $.setDesc\n , _create = $.create\n , getNames = $names.get\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , setter = false\n , HIDDEN = wks('_hidden')\n , isEnum = $.isEnum\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , useNative = typeof $Symbol == 'function'\n , ObjectProto = Object.prototype;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(setDesc({}, 'a', {\n get: function(){ return setDesc(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = getDesc(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n setDesc(it, key, D);\n if(protoDesc && it !== ObjectProto)setDesc(ObjectProto, key, protoDesc);\n} : setDesc;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol.prototype);\n sym._k = tag;\n DESCRIPTORS && setter && setSymbolDesc(ObjectProto, tag, {\n configurable: true,\n set: function(value){\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n }\n });\n return sym;\n};\n\nvar isSymbol = function(it){\n return typeof it == 'symbol';\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(D && has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))setDesc(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return setDesc(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key);\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key]\n ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n var D = getDesc(it = toIObject(it), key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = getNames(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i)if(!has(AllSymbols, key = names[i++]) && key != HIDDEN)result.push(key);\n return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var names = getNames(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i)if(has(AllSymbols, key = names[i++]))result.push(AllSymbols[key]);\n return result;\n};\nvar $stringify = function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , $$ = arguments\n , replacer, $replacer;\n while($$.length > i)args.push($$[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n};\nvar buggyJSON = $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n});\n\n// 19.4.1.1 Symbol([description])\nif(!useNative){\n $Symbol = function Symbol(){\n if(isSymbol(this))throw TypeError('Symbol is not a constructor');\n return wrap(uid(arguments.length > 0 ? arguments[0] : undefined));\n };\n redefine($Symbol.prototype, 'toString', function toString(){\n return this._k;\n });\n\n isSymbol = function(it){\n return it instanceof $Symbol;\n };\n\n $.create = $create;\n $.isEnum = $propertyIsEnumerable;\n $.getDesc = $getOwnPropertyDescriptor;\n $.setDesc = $defineProperty;\n $.setDescs = $defineProperties;\n $.getNames = $names.get = $getOwnPropertyNames;\n $.getSymbols = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !_dereq_(49)){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n}\n\nvar symbolStatics = {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n return keyOf(SymbolRegistry, key);\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n};\n// 19.4.2.2 Symbol.hasInstance\n// 19.4.2.3 Symbol.isConcatSpreadable\n// 19.4.2.4 Symbol.iterator\n// 19.4.2.6 Symbol.match\n// 19.4.2.8 Symbol.replace\n// 19.4.2.9 Symbol.search\n// 19.4.2.10 Symbol.species\n// 19.4.2.11 Symbol.split\n// 19.4.2.12 Symbol.toPrimitive\n// 19.4.2.13 Symbol.toStringTag\n// 19.4.2.14 Symbol.unscopables\n$.each.call((\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,' +\n 'species,split,toPrimitive,toStringTag,unscopables'\n).split(','), function(it){\n var sym = wks(it);\n symbolStatics[it] = useNative ? sym : wrap(sym);\n});\n\nsetter = true;\n\n$export($export.G + $export.W, {Symbol: $Symbol});\n\n$export($export.S, 'Symbol', symbolStatics);\n\n$export($export.S + $export.F * !useNative, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!useNative || buggyJSON), 'JSON', {stringify: $stringify});\n\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n},{\"20\":20,\"22\":22,\"23\":23,\"25\":25,\"29\":29,\"30\":30,\"31\":31,\"37\":37,\"47\":47,\"48\":48,\"49\":49,\"5\":5,\"60\":60,\"62\":62,\"67\":67,\"68\":68,\"79\":79,\"83\":83,\"84\":84}],171:[function(_dereq_,module,exports){\n'use strict';\nvar $ = _dereq_(47)\n , redefine = _dereq_(62)\n , weak = _dereq_(15)\n , isObject = _dereq_(39)\n , has = _dereq_(31)\n , frozenStore = weak.frozenStore\n , WEAK = weak.WEAK\n , isExtensible = Object.isExtensible || isObject\n , tmp = {};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = _dereq_(16)('WeakMap', function(get){\n return function WeakMap(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key){\n if(isObject(key)){\n if(!isExtensible(key))return frozenStore(this).get(key);\n if(has(key, WEAK))return key[WEAK][this._i];\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value){\n return weak.def(this, key, value);\n }\n}, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n $.each.call(['delete', 'has', 'get', 'set'], function(key){\n var proto = $WeakMap.prototype\n , method = proto[key];\n redefine(proto, key, function(a, b){\n // store frozen objects on leaky map\n if(isObject(a) && !isExtensible(a)){\n var result = frozenStore(this)[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n},{\"15\":15,\"16\":16,\"31\":31,\"39\":39,\"47\":47,\"62\":62}],172:[function(_dereq_,module,exports){\n'use strict';\nvar weak = _dereq_(15);\n\n// 23.4 WeakSet Objects\n_dereq_(16)('WeakSet', function(get){\n return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value){\n return weak.def(this, value, true);\n }\n}, weak, false, true);\n},{\"15\":15,\"16\":16}],173:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(23)\n , $includes = _dereq_(8)(true);\n\n$export($export.P, 'Array', {\n // https://github.com/domenic/Array.prototype.includes\n includes: function includes(el /*, fromIndex = 0 */){\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n_dereq_(4)('includes');\n},{\"23\":23,\"4\":4,\"8\":8}],174:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export = _dereq_(23);\n\n$export($export.P, 'Map', {toJSON: _dereq_(14)('Map')});\n},{\"14\":14,\"23\":23}],175:[function(_dereq_,module,exports){\n// http://goo.gl/XkBrjD\nvar $export = _dereq_(23)\n , $entries = _dereq_(56)(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it){\n return $entries(it);\n }\n});\n},{\"23\":23,\"56\":56}],176:[function(_dereq_,module,exports){\n// https://gist.github.com/WebReflection/9353781\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , ownKeys = _dereq_(57)\n , toIObject = _dereq_(79)\n , createDesc = _dereq_(60);\n\n$export($export.S, 'Object', {\n getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){\n var O = toIObject(object)\n , setDesc = $.setDesc\n , getDesc = $.getDesc\n , keys = ownKeys(O)\n , result = {}\n , i = 0\n , key, D;\n while(keys.length > i){\n D = getDesc(O, key = keys[i++]);\n if(key in result)setDesc(result, key, createDesc(0, D));\n else result[key] = D;\n } return result;\n }\n});\n},{\"23\":23,\"47\":47,\"57\":57,\"60\":60,\"79\":79}],177:[function(_dereq_,module,exports){\n// http://goo.gl/XkBrjD\nvar $export = _dereq_(23)\n , $values = _dereq_(56)(false);\n\n$export($export.S, 'Object', {\n values: function values(it){\n return $values(it);\n }\n});\n},{\"23\":23,\"56\":56}],178:[function(_dereq_,module,exports){\n// https://github.com/benjamingr/RexExp.escape\nvar $export = _dereq_(23)\n , $re = _dereq_(63)(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n\n$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});\n\n},{\"23\":23,\"63\":63}],179:[function(_dereq_,module,exports){\n// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar $export = _dereq_(23);\n\n$export($export.P, 'Set', {toJSON: _dereq_(14)('Set')});\n},{\"14\":14,\"23\":23}],180:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/mathiasbynens/String.prototype.at\nvar $export = _dereq_(23)\n , $at = _dereq_(71)(true);\n\n$export($export.P, 'String', {\n at: function at(pos){\n return $at(this, pos);\n }\n});\n},{\"23\":23,\"71\":71}],181:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(23)\n , $pad = _dereq_(73);\n\n$export($export.P, 'String', {\n padLeft: function padLeft(maxLength /*, fillString = ' ' */){\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n},{\"23\":23,\"73\":73}],182:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(23)\n , $pad = _dereq_(73);\n\n$export($export.P, 'String', {\n padRight: function padRight(maxLength /*, fillString = ' ' */){\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n }\n});\n},{\"23\":23,\"73\":73}],183:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(75)('trimLeft', function($trim){\n return function trimLeft(){\n return $trim(this, 1);\n };\n});\n},{\"75\":75}],184:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(75)('trimRight', function($trim){\n return function trimRight(){\n return $trim(this, 2);\n };\n});\n},{\"75\":75}],185:[function(_dereq_,module,exports){\n// JavaScript 1.6 / Strawman array statics shim\nvar $ = _dereq_(47)\n , $export = _dereq_(23)\n , $ctx = _dereq_(18)\n , $Array = _dereq_(17).Array || Array\n , statics = {};\nvar setStatics = function(keys, length){\n $.each.call(keys.split(','), function(key){\n if(length == undefined && key in $Array)statics[key] = $Array[key];\n else if(key in [])statics[key] = $ctx(Function.call, [][key], length);\n });\n};\nsetStatics('pop,reverse,shift,keys,values,entries', 1);\nsetStatics('indexOf,every,some,forEach,map,filter,find,findIndex,includes', 3);\nsetStatics('join,slice,concat,push,splice,unshift,sort,lastIndexOf,' +\n 'reduce,reduceRight,copyWithin,fill');\n$export($export.S, 'Array', statics);\n},{\"17\":17,\"18\":18,\"23\":23,\"47\":47}],186:[function(_dereq_,module,exports){\n_dereq_(92);\nvar global = _dereq_(30)\n , hide = _dereq_(32)\n , Iterators = _dereq_(46)\n , ITERATOR = _dereq_(84)('iterator')\n , NL = global.NodeList\n , HTC = global.HTMLCollection\n , NLProto = NL && NL.prototype\n , HTCProto = HTC && HTC.prototype\n , ArrayValues = Iterators.NodeList = Iterators.HTMLCollection = Iterators.Array;\nif(NLProto && !NLProto[ITERATOR])hide(NLProto, ITERATOR, ArrayValues);\nif(HTCProto && !HTCProto[ITERATOR])hide(HTCProto, ITERATOR, ArrayValues);\n},{\"30\":30,\"32\":32,\"46\":46,\"84\":84,\"92\":92}],187:[function(_dereq_,module,exports){\nvar $export = _dereq_(23)\n , $task = _dereq_(76);\n$export($export.G + $export.B, {\n setImmediate: $task.set,\n clearImmediate: $task.clear\n});\n},{\"23\":23,\"76\":76}],188:[function(_dereq_,module,exports){\n// ie9- setTimeout & setInterval additional parameters fix\nvar global = _dereq_(30)\n , $export = _dereq_(23)\n , invoke = _dereq_(34)\n , partial = _dereq_(58)\n , navigator = global.navigator\n , MSIE = !!navigator && /MSIE .\\./.test(navigator.userAgent); // <- dirty ie9- check\nvar wrap = function(set){\n return MSIE ? function(fn, time /*, ...args */){\n return set(invoke(\n partial,\n [].slice.call(arguments, 2),\n typeof fn == 'function' ? fn : Function(fn)\n ), time);\n } : set;\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n setTimeout: wrap(global.setTimeout),\n setInterval: wrap(global.setInterval)\n});\n},{\"23\":23,\"30\":30,\"34\":34,\"58\":58}],189:[function(_dereq_,module,exports){\n_dereq_(86);\n_dereq_(170);\n_dereq_(125);\n_dereq_(133);\n_dereq_(137);\n_dereq_(138);\n_dereq_(126);\n_dereq_(136);\n_dereq_(135);\n_dereq_(131);\n_dereq_(132);\n_dereq_(130);\n_dereq_(127);\n_dereq_(129);\n_dereq_(134);\n_dereq_(128);\n_dereq_(96);\n_dereq_(95);\n_dereq_(115);\n_dereq_(116);\n_dereq_(117);\n_dereq_(118);\n_dereq_(119);\n_dereq_(120);\n_dereq_(121);\n_dereq_(122);\n_dereq_(123);\n_dereq_(124);\n_dereq_(98);\n_dereq_(99);\n_dereq_(100);\n_dereq_(101);\n_dereq_(102);\n_dereq_(103);\n_dereq_(104);\n_dereq_(105);\n_dereq_(106);\n_dereq_(107);\n_dereq_(108);\n_dereq_(109);\n_dereq_(110);\n_dereq_(111);\n_dereq_(112);\n_dereq_(113);\n_dereq_(114);\n_dereq_(163);\n_dereq_(166);\n_dereq_(169);\n_dereq_(165);\n_dereq_(161);\n_dereq_(162);\n_dereq_(164);\n_dereq_(167);\n_dereq_(168);\n_dereq_(91);\n_dereq_(93);\n_dereq_(92);\n_dereq_(94);\n_dereq_(87);\n_dereq_(88);\n_dereq_(90);\n_dereq_(89);\n_dereq_(154);\n_dereq_(155);\n_dereq_(156);\n_dereq_(157);\n_dereq_(158);\n_dereq_(159);\n_dereq_(139);\n_dereq_(97);\n_dereq_(160);\n_dereq_(171);\n_dereq_(172);\n_dereq_(140);\n_dereq_(141);\n_dereq_(142);\n_dereq_(143);\n_dereq_(144);\n_dereq_(147);\n_dereq_(145);\n_dereq_(146);\n_dereq_(148);\n_dereq_(149);\n_dereq_(150);\n_dereq_(151);\n_dereq_(153);\n_dereq_(152);\n_dereq_(173);\n_dereq_(180);\n_dereq_(181);\n_dereq_(182);\n_dereq_(183);\n_dereq_(184);\n_dereq_(178);\n_dereq_(176);\n_dereq_(177);\n_dereq_(175);\n_dereq_(174);\n_dereq_(179);\n_dereq_(185);\n_dereq_(188);\n_dereq_(187);\n_dereq_(186);\nmodule.exports = _dereq_(17);\n},{\"100\":100,\"101\":101,\"102\":102,\"103\":103,\"104\":104,\"105\":105,\"106\":106,\"107\":107,\"108\":108,\"109\":109,\"110\":110,\"111\":111,\"112\":112,\"113\":113,\"114\":114,\"115\":115,\"116\":116,\"117\":117,\"118\":118,\"119\":119,\"120\":120,\"121\":121,\"122\":122,\"123\":123,\"124\":124,\"125\":125,\"126\":126,\"127\":127,\"128\":128,\"129\":129,\"130\":130,\"131\":131,\"132\":132,\"133\":133,\"134\":134,\"135\":135,\"136\":136,\"137\":137,\"138\":138,\"139\":139,\"140\":140,\"141\":141,\"142\":142,\"143\":143,\"144\":144,\"145\":145,\"146\":146,\"147\":147,\"148\":148,\"149\":149,\"150\":150,\"151\":151,\"152\":152,\"153\":153,\"154\":154,\"155\":155,\"156\":156,\"157\":157,\"158\":158,\"159\":159,\"160\":160,\"161\":161,\"162\":162,\"163\":163,\"164\":164,\"165\":165,\"166\":166,\"167\":167,\"168\":168,\"169\":169,\"17\":17,\"170\":170,\"171\":171,\"172\":172,\"173\":173,\"174\":174,\"175\":175,\"176\":176,\"177\":177,\"178\":178,\"179\":179,\"180\":180,\"181\":181,\"182\":182,\"183\":183,\"184\":184,\"185\":185,\"186\":186,\"187\":187,\"188\":188,\"86\":86,\"87\":87,\"88\":88,\"89\":89,\"90\":90,\"91\":91,\"92\":92,\"93\":93,\"94\":94,\"95\":95,\"96\":96,\"97\":97,\"98\":98,\"99\":99}],190:[function(_dereq_,module,exports){\n(function (global){\n/**\n * Copyright (c) 2014, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * https://raw.github.com/facebook/regenerator/master/LICENSE file. An\n * additional grant of patent rights can be found in the PATENTS file in\n * the same directory.\n */\n\n!(function(global) {\n \"use strict\";\n\n var hasOwn = Object.prototype.hasOwnProperty;\n var undefined; // More compressible than void 0.\n var iteratorSymbol =\n typeof Symbol === \"function\" && Symbol.iterator || \"@@iterator\";\n\n var inModule = typeof module === \"object\";\n var runtime = global.regeneratorRuntime;\n if (runtime) {\n if (inModule) {\n // If regeneratorRuntime is defined globally and we're in a module,\n // make the exports object identical to regeneratorRuntime.\n module.exports = runtime;\n }\n // Don't bother evaluating the rest of this file if the runtime was\n // already defined globally.\n return;\n }\n\n // Define the runtime globally (as expected by generated code) as either\n // module.exports (if we're in a module) or a new, empty object.\n runtime = global.regeneratorRuntime = inModule ? module.exports : {};\n\n function wrap(innerFn, outerFn, self, tryLocsList) {\n // If outerFn provided, then outerFn.prototype instanceof Generator.\n var generator = Object.create((outerFn || Generator).prototype);\n var context = new Context(tryLocsList || []);\n\n // The ._invoke method unifies the implementations of the .next,\n // .throw, and .return methods.\n generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n return generator;\n }\n runtime.wrap = wrap;\n\n // Try/catch helper to minimize deoptimizations. Returns a completion\n // record like context.tryEntries[i].completion. This interface could\n // have been (and was previously) designed to take a closure to be\n // invoked without arguments, but in all the cases we care about we\n // already have an existing method we want to call, so there's no need\n // to create a new function object. We can even get away with assuming\n // the method takes exactly one argument, since that happens to be true\n // in every case, so we don't have to touch the arguments object. The\n // only additional allocation required is the completion record, which\n // has a stable shape and so hopefully should be cheap to allocate.\n function tryCatch(fn, obj, arg) {\n try {\n return { type: \"normal\", arg: fn.call(obj, arg) };\n } catch (err) {\n return { type: \"throw\", arg: err };\n }\n }\n\n var GenStateSuspendedStart = \"suspendedStart\";\n var GenStateSuspendedYield = \"suspendedYield\";\n var GenStateExecuting = \"executing\";\n var GenStateCompleted = \"completed\";\n\n // Returning this object from the innerFn has the same effect as\n // breaking out of the dispatch switch statement.\n var ContinueSentinel = {};\n\n // Dummy constructor functions that we use as the .constructor and\n // .constructor.prototype properties for functions that return Generator\n // objects. For full spec compliance, you may wish to configure your\n // minifier not to mangle the names of these two functions.\n function Generator() {}\n function GeneratorFunction() {}\n function GeneratorFunctionPrototype() {}\n\n var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype;\n GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n GeneratorFunctionPrototype.constructor = GeneratorFunction;\n GeneratorFunction.displayName = \"GeneratorFunction\";\n\n // Helper for defining the .next, .throw, and .return methods of the\n // Iterator interface in terms of a single ._invoke method.\n function defineIteratorMethods(prototype) {\n [\"next\", \"throw\", \"return\"].forEach(function(method) {\n prototype[method] = function(arg) {\n return this._invoke(method, arg);\n };\n });\n }\n\n runtime.isGeneratorFunction = function(genFun) {\n var ctor = typeof genFun === \"function\" && genFun.constructor;\n return ctor\n ? ctor === GeneratorFunction ||\n // For the native GeneratorFunction constructor, the best we can\n // do is to check its .name property.\n (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n : false;\n };\n\n runtime.mark = function(genFun) {\n if (Object.setPrototypeOf) {\n Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n } else {\n genFun.__proto__ = GeneratorFunctionPrototype;\n }\n genFun.prototype = Object.create(Gp);\n return genFun;\n };\n\n // Within the body of any async function, `await x` is transformed to\n // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n // `value instanceof AwaitArgument` to determine if the yielded value is\n // meant to be awaited. Some may consider the name of this method too\n // cutesy, but they are curmudgeons.\n runtime.awrap = function(arg) {\n return new AwaitArgument(arg);\n };\n\n function AwaitArgument(arg) {\n this.arg = arg;\n }\n\n function AsyncIterator(generator) {\n // This invoke function is written in a style that assumes some\n // calling function (or Promise) will handle exceptions.\n function invoke(method, arg) {\n var result = generator[method](arg);\n var value = result.value;\n return value instanceof AwaitArgument\n ? Promise.resolve(value.arg).then(invokeNext, invokeThrow)\n : Promise.resolve(value).then(function(unwrapped) {\n // When a yielded Promise is resolved, its final value becomes\n // the .value of the Promise<{value,done}> result for the\n // current iteration. If the Promise is rejected, however, the\n // result for this iteration will be rejected with the same\n // reason. Note that rejections of yielded Promises are not\n // thrown back into the generator function, as is the case\n // when an awaited Promise is rejected. This difference in\n // behavior between yield and await is important, because it\n // allows the consumer to decide what to do with the yielded\n // rejection (swallow it and continue, manually .throw it back\n // into the generator, abandon iteration, whatever). With\n // await, by contrast, there is no opportunity to examine the\n // rejection reason outside the generator function, so the\n // only option is to throw it from the await expression, and\n // let the generator function handle the exception.\n result.value = unwrapped;\n return result;\n });\n }\n\n if (typeof process === \"object\" && process.domain) {\n invoke = process.domain.bind(invoke);\n }\n\n var invokeNext = invoke.bind(generator, \"next\");\n var invokeThrow = invoke.bind(generator, \"throw\");\n var invokeReturn = invoke.bind(generator, \"return\");\n var previousPromise;\n\n function enqueue(method, arg) {\n function callInvokeWithMethodAndArg() {\n return invoke(method, arg);\n }\n\n return previousPromise =\n // If enqueue has been called before, then we want to wait until\n // all previous Promises have been resolved before calling invoke,\n // so that results are always delivered in the correct order. If\n // enqueue has not been called before, then it is important to\n // call invoke immediately, without waiting on a callback to fire,\n // so that the async generator function has the opportunity to do\n // any necessary setup in a predictable way. This predictability\n // is why the Promise constructor synchronously invokes its\n // executor callback, and why async functions synchronously\n // execute code before the first await. Since we implement simple\n // async functions in terms of async generators, it is especially\n // important to get this right, even though it requires care.\n previousPromise ? previousPromise.then(\n callInvokeWithMethodAndArg,\n // Avoid propagating failures to Promises returned by later\n // invocations of the iterator.\n callInvokeWithMethodAndArg\n ) : new Promise(function (resolve) {\n resolve(callInvokeWithMethodAndArg());\n });\n }\n\n // Define the unified helper method that is used to implement .next,\n // .throw, and .return (see defineIteratorMethods).\n this._invoke = enqueue;\n }\n\n defineIteratorMethods(AsyncIterator.prototype);\n\n // Note that simple async functions are implemented on top of\n // AsyncIterator objects; they just return a Promise for the value of\n // the final result produced by the iterator.\n runtime.async = function(innerFn, outerFn, self, tryLocsList) {\n var iter = new AsyncIterator(\n wrap(innerFn, outerFn, self, tryLocsList)\n );\n\n return runtime.isGeneratorFunction(outerFn)\n ? iter // If outerFn is a generator, return the full iterator.\n : iter.next().then(function(result) {\n return result.done ? result.value : iter.next();\n });\n };\n\n function makeInvokeMethod(innerFn, self, context) {\n var state = GenStateSuspendedStart;\n\n return function invoke(method, arg) {\n if (state === GenStateExecuting) {\n throw new Error(\"Generator is already running\");\n }\n\n if (state === GenStateCompleted) {\n if (method === \"throw\") {\n throw arg;\n }\n\n // Be forgiving, per 25.3.3.3.3 of the spec:\n // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n return doneResult();\n }\n\n while (true) {\n var delegate = context.delegate;\n if (delegate) {\n if (method === \"return\" ||\n (method === \"throw\" && delegate.iterator[method] === undefined)) {\n // A return or throw (when the delegate iterator has no throw\n // method) always terminates the yield* loop.\n context.delegate = null;\n\n // If the delegate iterator has a return method, give it a\n // chance to clean up.\n var returnMethod = delegate.iterator[\"return\"];\n if (returnMethod) {\n var record = tryCatch(returnMethod, delegate.iterator, arg);\n if (record.type === \"throw\") {\n // If the return method threw an exception, let that\n // exception prevail over the original return or throw.\n method = \"throw\";\n arg = record.arg;\n continue;\n }\n }\n\n if (method === \"return\") {\n // Continue with the outer return, now that the delegate\n // iterator has been terminated.\n continue;\n }\n }\n\n var record = tryCatch(\n delegate.iterator[method],\n delegate.iterator,\n arg\n );\n\n if (record.type === \"throw\") {\n context.delegate = null;\n\n // Like returning generator.throw(uncaught), but without the\n // overhead of an extra function call.\n method = \"throw\";\n arg = record.arg;\n continue;\n }\n\n // Delegate generator ran and handled its own exceptions so\n // regardless of what the method was, we continue as if it is\n // \"next\" with an undefined arg.\n method = \"next\";\n arg = undefined;\n\n var info = record.arg;\n if (info.done) {\n context[delegate.resultName] = info.value;\n context.next = delegate.nextLoc;\n } else {\n state = GenStateSuspendedYield;\n return info;\n }\n\n context.delegate = null;\n }\n\n if (method === \"next\") {\n context._sent = arg;\n\n if (state === GenStateSuspendedYield) {\n context.sent = arg;\n } else {\n context.sent = undefined;\n }\n } else if (method === \"throw\") {\n if (state === GenStateSuspendedStart) {\n state = GenStateCompleted;\n throw arg;\n }\n\n if (context.dispatchException(arg)) {\n // If the dispatched exception was caught by a catch block,\n // then let that catch block handle the exception normally.\n method = \"next\";\n arg = undefined;\n }\n\n } else if (method === \"return\") {\n context.abrupt(\"return\", arg);\n }\n\n state = GenStateExecuting;\n\n var record = tryCatch(innerFn, self, context);\n if (record.type === \"normal\") {\n // If an exception is thrown from innerFn, we leave state ===\n // GenStateExecuting and loop back for another invocation.\n state = context.done\n ? GenStateCompleted\n : GenStateSuspendedYield;\n\n var info = {\n value: record.arg,\n done: context.done\n };\n\n if (record.arg === ContinueSentinel) {\n if (context.delegate && method === \"next\") {\n // Deliberately forget the last sent value so that we don't\n // accidentally pass it on to the delegate.\n arg = undefined;\n }\n } else {\n return info;\n }\n\n } else if (record.type === \"throw\") {\n state = GenStateCompleted;\n // Dispatch the exception by looping back around to the\n // context.dispatchException(arg) call above.\n method = \"throw\";\n arg = record.arg;\n }\n }\n };\n }\n\n // Define Generator.prototype.{next,throw,return} in terms of the\n // unified ._invoke helper method.\n defineIteratorMethods(Gp);\n\n Gp[iteratorSymbol] = function() {\n return this;\n };\n\n Gp.toString = function() {\n return \"[object Generator]\";\n };\n\n function pushTryEntry(locs) {\n var entry = { tryLoc: locs[0] };\n\n if (1 in locs) {\n entry.catchLoc = locs[1];\n }\n\n if (2 in locs) {\n entry.finallyLoc = locs[2];\n entry.afterLoc = locs[3];\n }\n\n this.tryEntries.push(entry);\n }\n\n function resetTryEntry(entry) {\n var record = entry.completion || {};\n record.type = \"normal\";\n delete record.arg;\n entry.completion = record;\n }\n\n function Context(tryLocsList) {\n // The root entry object (effectively a try statement without a catch\n // or a finally block) gives us a place to store values thrown from\n // locations where there is no enclosing try statement.\n this.tryEntries = [{ tryLoc: \"root\" }];\n tryLocsList.forEach(pushTryEntry, this);\n this.reset(true);\n }\n\n runtime.keys = function(object) {\n var keys = [];\n for (var key in object) {\n keys.push(key);\n }\n keys.reverse();\n\n // Rather than returning an object with a next method, we keep\n // things simple and return the next function itself.\n return function next() {\n while (keys.length) {\n var key = keys.pop();\n if (key in object) {\n next.value = key;\n next.done = false;\n return next;\n }\n }\n\n // To avoid creating an additional object, we just hang the .value\n // and .done properties off the next function object itself. This\n // also ensures that the minifier will not anonymize the function.\n next.done = true;\n return next;\n };\n };\n\n function values(iterable) {\n if (iterable) {\n var iteratorMethod = iterable[iteratorSymbol];\n if (iteratorMethod) {\n return iteratorMethod.call(iterable);\n }\n\n if (typeof iterable.next === \"function\") {\n return iterable;\n }\n\n if (!isNaN(iterable.length)) {\n var i = -1, next = function next() {\n while (++i < iterable.length) {\n if (hasOwn.call(iterable, i)) {\n next.value = iterable[i];\n next.done = false;\n return next;\n }\n }\n\n next.value = undefined;\n next.done = true;\n\n return next;\n };\n\n return next.next = next;\n }\n }\n\n // Return an iterator with no values.\n return { next: doneResult };\n }\n runtime.values = values;\n\n function doneResult() {\n return { value: undefined, done: true };\n }\n\n Context.prototype = {\n constructor: Context,\n\n reset: function(skipTempReset) {\n this.prev = 0;\n this.next = 0;\n this.sent = undefined;\n this.done = false;\n this.delegate = null;\n\n this.tryEntries.forEach(resetTryEntry);\n\n if (!skipTempReset) {\n for (var name in this) {\n // Not sure about the optimal order of these conditions:\n if (name.charAt(0) === \"t\" &&\n hasOwn.call(this, name) &&\n !isNaN(+name.slice(1))) {\n this[name] = undefined;\n }\n }\n }\n },\n\n stop: function() {\n this.done = true;\n\n var rootEntry = this.tryEntries[0];\n var rootRecord = rootEntry.completion;\n if (rootRecord.type === \"throw\") {\n throw rootRecord.arg;\n }\n\n return this.rval;\n },\n\n dispatchException: function(exception) {\n if (this.done) {\n throw exception;\n }\n\n var context = this;\n function handle(loc, caught) {\n record.type = \"throw\";\n record.arg = exception;\n context.next = loc;\n return !!caught;\n }\n\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n var record = entry.completion;\n\n if (entry.tryLoc === \"root\") {\n // Exception thrown outside of any try block that could handle\n // it, so set the completion value of the entire function to\n // throw the exception.\n return handle(\"end\");\n }\n\n if (entry.tryLoc <= this.prev) {\n var hasCatch = hasOwn.call(entry, \"catchLoc\");\n var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n if (hasCatch && hasFinally) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n } else if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else if (hasCatch) {\n if (this.prev < entry.catchLoc) {\n return handle(entry.catchLoc, true);\n }\n\n } else if (hasFinally) {\n if (this.prev < entry.finallyLoc) {\n return handle(entry.finallyLoc);\n }\n\n } else {\n throw new Error(\"try statement without catch or finally\");\n }\n }\n }\n },\n\n abrupt: function(type, arg) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc <= this.prev &&\n hasOwn.call(entry, \"finallyLoc\") &&\n this.prev < entry.finallyLoc) {\n var finallyEntry = entry;\n break;\n }\n }\n\n if (finallyEntry &&\n (type === \"break\" ||\n type === \"continue\") &&\n finallyEntry.tryLoc <= arg &&\n arg <= finallyEntry.finallyLoc) {\n // Ignore the finally entry if control is not jumping to a\n // location outside the try/catch block.\n finallyEntry = null;\n }\n\n var record = finallyEntry ? finallyEntry.completion : {};\n record.type = type;\n record.arg = arg;\n\n if (finallyEntry) {\n this.next = finallyEntry.finallyLoc;\n } else {\n this.complete(record);\n }\n\n return ContinueSentinel;\n },\n\n complete: function(record, afterLoc) {\n if (record.type === \"throw\") {\n throw record.arg;\n }\n\n if (record.type === \"break\" ||\n record.type === \"continue\") {\n this.next = record.arg;\n } else if (record.type === \"return\") {\n this.rval = record.arg;\n this.next = \"end\";\n } else if (record.type === \"normal\" && afterLoc) {\n this.next = afterLoc;\n }\n },\n\n finish: function(finallyLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.finallyLoc === finallyLoc) {\n this.complete(entry.completion, entry.afterLoc);\n resetTryEntry(entry);\n return ContinueSentinel;\n }\n }\n },\n\n \"catch\": function(tryLoc) {\n for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n var entry = this.tryEntries[i];\n if (entry.tryLoc === tryLoc) {\n var record = entry.completion;\n if (record.type === \"throw\") {\n var thrown = record.arg;\n resetTryEntry(entry);\n }\n return thrown;\n }\n }\n\n // The context.catch method must only be called with a location\n // argument that corresponds to a known catch block.\n throw new Error(\"illegal catch attempt\");\n },\n\n delegateYield: function(iterable, resultName, nextLoc) {\n this.delegate = {\n iterator: values(iterable),\n resultName: resultName,\n nextLoc: nextLoc\n };\n\n return ContinueSentinel;\n }\n };\n})(\n // Among the various tricks for obtaining a reference to the global\n // object, this seems to be the most reliable technique that does not\n // use indirect eval (which violates Content Security Policy).\n typeof global === \"object\" ? global :\n typeof window === \"object\" ? window :\n typeof self === \"object\" ? self : this\n);\n\n}).call(this,typeof global !== \"undefined\" ? global : typeof self !== \"undefined\" ? self : typeof window !== \"undefined\" ? window : {})\n},{}]},{},[1]);\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n* A base class for the WrappedException that can be used to identify\n* a WrappedException from ExceptionHandler without adding circular\n* dependency.\n*/\nvar BaseWrappedException = (function (_super) {\n __extends(BaseWrappedException, _super);\n function BaseWrappedException(message) {\n _super.call(this, message);\n }\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n return BaseWrappedException;\n}(Error));\nexports.BaseWrappedException = BaseWrappedException;\n//# sourceMappingURL=base_wrapped_exception.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Map = lang_1.global.Map;\nexports.Set = lang_1.global.Set;\nvar createMapFromPairs = (function() {\n try {\n if (new exports.Map([[1, 2]]).size === 1) {\n return function createMapFromPairs(pairs) {\n return new exports.Map(pairs);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromPairs(pairs) {\n var map = new exports.Map();\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n map.set(pair[0], pair[1]);\n }\n return map;\n };\n})();\nvar createMapFromMap = (function() {\n try {\n if (new exports.Map(new exports.Map())) {\n return function createMapFromMap(m) {\n return new exports.Map(m);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromMap(m) {\n var map = new exports.Map();\n m.forEach(function(v, k) {\n map.set(k, v);\n });\n return map;\n };\n})();\nvar _clearValues = (function() {\n if ((new exports.Map()).keys().next) {\n return function _clearValues(m) {\n var keyIterator = m.keys();\n var k;\n while (!((k = keyIterator.next()).done)) {\n m.set(k.value, null);\n }\n };\n } else {\n return function _clearValuesWithForeEach(m) {\n m.forEach(function(v, k) {\n m.set(k, null);\n });\n };\n }\n})();\nvar _arrayFromMap = (function() {\n try {\n if ((new exports.Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n } catch (e) {}\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = ListWrapper.createFixedSize(m.size),\n i = 0;\n m.forEach(function(v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function() {\n function MapWrapper() {}\n MapWrapper.clone = function(m) {\n return createMapFromMap(m);\n };\n MapWrapper.createFromStringMap = function(stringMap) {\n var result = new exports.Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.toStringMap = function(m) {\n var r = {};\n m.forEach(function(v, k) {\n return r[k] = v;\n });\n return r;\n };\n MapWrapper.createFromPairs = function(pairs) {\n return createMapFromPairs(pairs);\n };\n MapWrapper.clearValues = function(m) {\n _clearValues(m);\n };\n MapWrapper.iterable = function(m) {\n return m;\n };\n MapWrapper.keys = function(m) {\n return _arrayFromMap(m, false);\n };\n MapWrapper.values = function(m) {\n return _arrayFromMap(m, true);\n };\n return MapWrapper;\n}());\nexports.MapWrapper = MapWrapper;\nvar StringMapWrapper = (function() {\n function StringMapWrapper() {}\n StringMapWrapper.create = function() {\n return {};\n };\n StringMapWrapper.contains = function(map, key) {\n return map.hasOwnProperty(key);\n };\n StringMapWrapper.get = function(map, key) {\n return map.hasOwnProperty(key) ? map[key] : undefined;\n };\n StringMapWrapper.set = function(map, key, value) {\n map[key] = value;\n };\n StringMapWrapper.keys = function(map) {\n return Object.keys(map);\n };\n StringMapWrapper.values = function(map) {\n return Object.keys(map).reduce(function(r, a) {\n r.push(map[a]);\n return r;\n }, []);\n };\n StringMapWrapper.isEmpty = function(map) {\n for (var prop in map) {\n return false;\n }\n return true;\n };\n StringMapWrapper.delete = function(map, key) {\n delete map[key];\n };\n StringMapWrapper.forEach = function(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n };\n StringMapWrapper.merge = function(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n };\n StringMapWrapper.equals = function(m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nexports.StringMapWrapper = StringMapWrapper;\nvar ListWrapper = (function() {\n function ListWrapper() {}\n ListWrapper.createFixedSize = function(size) {\n return new Array(size);\n };\n ListWrapper.createGrowableSize = function(size) {\n return new Array(size);\n };\n ListWrapper.clone = function(array) {\n return array.slice(0);\n };\n ListWrapper.forEachWithIndex = function(array, fn) {\n for (var i = 0; i < array.length; i++) {\n fn(array[i], i);\n }\n };\n ListWrapper.first = function(array) {\n if (!array)\n return null;\n return array[0];\n };\n ListWrapper.last = function(array) {\n if (!array || array.length == 0)\n return null;\n return array[array.length - 1];\n };\n ListWrapper.indexOf = function(array, value, startIndex) {\n if (startIndex === void 0) {\n startIndex = 0;\n }\n return array.indexOf(value, startIndex);\n };\n ListWrapper.contains = function(list, el) {\n return list.indexOf(el) !== -1;\n };\n ListWrapper.reversed = function(array) {\n var a = ListWrapper.clone(array);\n return a.reverse();\n };\n ListWrapper.concat = function(a, b) {\n return a.concat(b);\n };\n ListWrapper.insert = function(list, index, value) {\n list.splice(index, 0, value);\n };\n ListWrapper.removeAt = function(list, index) {\n var res = list[index];\n list.splice(index, 1);\n return res;\n };\n ListWrapper.removeAll = function(list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.clear = function(list) {\n list.length = 0;\n };\n ListWrapper.isEmpty = function(list) {\n return list.length == 0;\n };\n ListWrapper.fill = function(list, value, start, end) {\n if (start === void 0) {\n start = 0;\n }\n if (end === void 0) {\n end = null;\n }\n list.fill(value, start, end === null ? list.length : end);\n };\n ListWrapper.equals = function(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.slice = function(l, from, to) {\n if (from === void 0) {\n from = 0;\n }\n if (to === void 0) {\n to = null;\n }\n return l.slice(from, to === null ? undefined : to);\n };\n ListWrapper.splice = function(l, from, length) {\n return l.splice(from, length);\n };\n ListWrapper.sort = function(l, compareFn) {\n if (lang_1.isPresent(compareFn)) {\n l.sort(compareFn);\n } else {\n l.sort();\n }\n };\n ListWrapper.toString = function(l) {\n return l.toString();\n };\n ListWrapper.toJSON = function(l) {\n return JSON.stringify(l);\n };\n ListWrapper.maximum = function(list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (lang_1.isBlank(candidate)) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function(list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n ListWrapper.addAll = function(list, source) {\n for (var i = 0; i < source.length; i++) {\n list.push(source[i]);\n }\n };\n return ListWrapper;\n}());\nexports.ListWrapper = ListWrapper;\nfunction _flattenArray(source, target) {\n if (lang_1.isPresent(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (lang_1.isArray(item)) {\n _flattenArray(item, target);\n } else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!lang_1.isJsObject(obj))\n return false;\n return lang_1.isArray(obj) || (!(obj instanceof exports.Map) && lang_1.getSymbolIterator() in obj);\n}\nexports.isListLikeIterable = isListLikeIterable;\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[lang_1.getSymbolIterator()]();\n var iterator2 = b[lang_1.getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nexports.areIterablesEqual = areIterablesEqual;\nfunction iterateListLike(obj, fn) {\n if (lang_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n } else {\n var iterator = obj[lang_1.getSymbolIterator()]();\n var item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nexports.iterateListLike = iterateListLike;\nvar createSetFromList = (function() {\n var test = new exports.Set([1, 2, 3]);\n if (test.size === 3) {\n return function createSetFromList(lst) {\n return new exports.Set(lst);\n };\n } else {\n return function createSetAndPopulateFromList(lst) {\n var res = new exports.Set(lst);\n if (res.size !== lst.length) {\n for (var i = 0; i < lst.length; i++) {\n res.add(lst[i]);\n }\n }\n return res;\n };\n }\n})();\nvar SetWrapper = (function() {\n function SetWrapper() {}\n SetWrapper.createFromList = function(lst) {\n return createSetFromList(lst);\n };\n SetWrapper.has = function(s, key) {\n return s.has(key);\n };\n SetWrapper.delete = function(m, k) {\n m.delete(k);\n };\n return SetWrapper;\n}());\nexports.SetWrapper = SetWrapper;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar collection_1 = require('./collection');\nvar _ArrayLogger = (function() {\n function _ArrayLogger() {\n this.res = [];\n }\n _ArrayLogger.prototype.log = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logError = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroup = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroupEnd = function() {};\n ;\n return _ArrayLogger;\n}());\nvar ExceptionHandler = (function() {\n function ExceptionHandler(_logger, _rethrowException) {\n if (_rethrowException === void 0) {\n _rethrowException = true;\n }\n this._logger = _logger;\n this._rethrowException = _rethrowException;\n }\n ExceptionHandler.exceptionToString = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var l = new _ArrayLogger();\n var e = new ExceptionHandler(l, false);\n e.call(exception, stackTrace, reason);\n return l.res.join(\"\\n\");\n };\n ExceptionHandler.prototype.call = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var originalException = this._findOriginalException(exception);\n var originalStack = this._findOriginalStack(exception);\n var context = this._findContext(exception);\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\n this._logger.logError(\"STACKTRACE:\");\n this._logger.logError(this._longStackTrace(stackTrace));\n }\n if (lang_1.isPresent(reason)) {\n this._logger.logError(\"REASON: \" + reason);\n }\n if (lang_1.isPresent(originalException)) {\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\n }\n if (lang_1.isPresent(originalStack)) {\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\n this._logger.logError(this._longStackTrace(originalStack));\n }\n if (lang_1.isPresent(context)) {\n this._logger.logError(\"ERROR CONTEXT:\");\n this._logger.logError(context);\n }\n this._logger.logGroupEnd();\n if (this._rethrowException)\n throw exception;\n };\n ExceptionHandler.prototype._extractMessage = function(exception) {\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage : exception.toString();\n };\n ExceptionHandler.prototype._longStackTrace = function(stackTrace) {\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") : stackTrace.toString();\n };\n ExceptionHandler.prototype._findContext = function(exception) {\n try {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n return lang_1.isPresent(exception.context) ? exception.context : this._findContext(exception.originalException);\n } catch (e) {\n return null;\n }\n };\n ExceptionHandler.prototype._findOriginalException = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception.originalException;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n }\n return e;\n };\n ExceptionHandler.prototype._findOriginalStack = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception;\n var stack = exception.originalStack;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n stack = e.originalStack;\n }\n }\n return stack;\n };\n return ExceptionHandler;\n}());\nexports.ExceptionHandler = ExceptionHandler;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar exception_handler_1 = require('./exception_handler');\nvar exception_handler_2 = require('./exception_handler');\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\nvar BaseException = (function(_super) {\n __extends(BaseException, _super);\n function BaseException(message) {\n if (message === void 0) {\n message = \"--\";\n }\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n BaseException.prototype.toString = function() {\n return this.message;\n };\n return BaseException;\n}(Error));\nexports.BaseException = BaseException;\nvar WrappedException = (function(_super) {\n __extends(WrappedException, _super);\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\n _super.call(this, _wrapperMessage);\n this._wrapperMessage = _wrapperMessage;\n this._originalException = _originalException;\n this._originalStack = _originalStack;\n this._context = _context;\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\n }\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\n get: function() {\n return this._wrapperMessage;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\n get: function() {\n return this._wrapperStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\n get: function() {\n return this._originalException;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\n get: function() {\n return this._originalStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"context\", {\n get: function() {\n return this._context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"message\", {\n get: function() {\n return exception_handler_1.ExceptionHandler.exceptionToString(this);\n },\n enumerable: true,\n configurable: true\n });\n WrappedException.prototype.toString = function() {\n return this.message;\n };\n return WrappedException;\n}(base_wrapped_exception_1.BaseWrappedException));\nexports.WrappedException = WrappedException;\nfunction makeTypeError(message) {\n return new TypeError(message);\n}\nexports.makeTypeError = makeTypeError;\nfunction unimplemented() {\n throw new BaseException('unimplemented');\n}\nexports.unimplemented = unimplemented;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar compiler_1 = require('@angular/compiler');\nvar exceptions_1 = require('../facade/exceptions');\nvar lang_1 = require('../facade/lang');\nvar promise_1 = require('../facade/promise');\nvar CachedXHR = (function(_super) {\n __extends(CachedXHR, _super);\n function CachedXHR() {\n _super.call(this);\n this._cache = lang_1.global.$templateCache;\n if (this._cache == null) {\n throw new exceptions_1.BaseException('CachedXHR: Template cache was not found in $templateCache.');\n }\n }\n CachedXHR.prototype.get = function(url) {\n if (this._cache.hasOwnProperty(url)) {\n return promise_1.PromiseWrapper.resolve(this._cache[url]);\n } else {\n return promise_1.PromiseWrapper.reject('CachedXHR: Did not find cached template for ' + url, null);\n }\n };\n return CachedXHR;\n}(compiler_1.XHR));\nexports.CachedXHR = CachedXHR;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar compile_metadata_1 = require('./compile_metadata');\nvar exceptions_1 = require('./facade/exceptions');\nvar collection_1 = require('./facade/collection');\nvar o = require('./output/output_ast');\nvar util_1 = require('./util');\nvar _COMPONENT_FACTORY_IDENTIFIER = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ComponentFactory',\n runtime: core_1.ComponentFactory,\n moduleUrl: util_1.assetUrl('core', 'linker/component_factory')\n});\nvar SourceModule = (function() {\n function SourceModule(moduleUrl, source) {\n this.moduleUrl = moduleUrl;\n this.source = source;\n }\n return SourceModule;\n}());\nexports.SourceModule = SourceModule;\nvar StyleSheetSourceWithImports = (function() {\n function StyleSheetSourceWithImports(source, importedUrls) {\n this.source = source;\n this.importedUrls = importedUrls;\n }\n return StyleSheetSourceWithImports;\n}());\nexports.StyleSheetSourceWithImports = StyleSheetSourceWithImports;\nvar NormalizedComponentWithViewDirectives = (function() {\n function NormalizedComponentWithViewDirectives(component, directives, pipes) {\n this.component = component;\n this.directives = directives;\n this.pipes = pipes;\n }\n return NormalizedComponentWithViewDirectives;\n}());\nexports.NormalizedComponentWithViewDirectives = NormalizedComponentWithViewDirectives;\nvar OfflineCompiler = (function() {\n function OfflineCompiler(_directiveNormalizer, _templateParser, _styleCompiler, _viewCompiler, _outputEmitter, _xhr) {\n this._directiveNormalizer = _directiveNormalizer;\n this._templateParser = _templateParser;\n this._styleCompiler = _styleCompiler;\n this._viewCompiler = _viewCompiler;\n this._outputEmitter = _outputEmitter;\n this._xhr = _xhr;\n }\n OfflineCompiler.prototype.normalizeDirectiveMetadata = function(directive) {\n return this._directiveNormalizer.normalizeDirective(directive);\n };\n OfflineCompiler.prototype.compileTemplates = function(components) {\n var _this = this;\n if (components.length === 0) {\n throw new exceptions_1.BaseException('No components given');\n }\n var statements = [];\n var exportedVars = [];\n var moduleUrl = _templateModuleUrl(components[0].component);\n components.forEach(function(componentWithDirs) {\n var compMeta = componentWithDirs.component;\n _assertComponent(compMeta);\n var compViewFactoryVar = _this._compileComponent(compMeta, componentWithDirs.directives, componentWithDirs.pipes, statements);\n exportedVars.push(compViewFactoryVar);\n var hostMeta = compile_metadata_1.createHostComponentMeta(compMeta.type, compMeta.selector);\n var hostViewFactoryVar = _this._compileComponent(hostMeta, [compMeta], [], statements);\n var compFactoryVar = compMeta.type.name + \"NgFactory\";\n statements.push(o.variable(compFactoryVar).set(o.importExpr(_COMPONENT_FACTORY_IDENTIFIER, [o.importType(compMeta.type)]).instantiate([o.literal(compMeta.selector), o.variable(hostViewFactoryVar), o.importExpr(compMeta.type)], o.importType(_COMPONENT_FACTORY_IDENTIFIER, [o.importType(compMeta.type)], [o.TypeModifier.Const]))).toDeclStmt(null, [o.StmtModifier.Final]));\n exportedVars.push(compFactoryVar);\n });\n return this._codegenSourceModule(moduleUrl, statements, exportedVars);\n };\n OfflineCompiler.prototype.loadAndCompileStylesheet = function(stylesheetUrl, shim, suffix) {\n var _this = this;\n return this._xhr.get(stylesheetUrl).then(function(cssText) {\n var compileResult = _this._styleCompiler.compileStylesheet(stylesheetUrl, cssText, shim);\n var importedUrls = [];\n compileResult.dependencies.forEach(function(dep) {\n importedUrls.push(dep.moduleUrl);\n dep.valuePlaceholder.moduleUrl = _stylesModuleUrl(dep.moduleUrl, dep.isShimmed, suffix);\n });\n return new StyleSheetSourceWithImports(_this._codgenStyles(stylesheetUrl, shim, suffix, compileResult), importedUrls);\n });\n };\n OfflineCompiler.prototype._compileComponent = function(compMeta, directives, pipes, targetStatements) {\n var styleResult = this._styleCompiler.compileComponent(compMeta);\n var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, compMeta.type.name);\n var viewResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, o.variable(styleResult.stylesVar), pipes);\n collection_1.ListWrapper.addAll(targetStatements, _resolveStyleStatements(compMeta.type.moduleUrl, styleResult));\n collection_1.ListWrapper.addAll(targetStatements, _resolveViewStatements(viewResult));\n return viewResult.viewFactoryVar;\n };\n OfflineCompiler.prototype._codgenStyles = function(inputUrl, shim, suffix, stylesCompileResult) {\n return this._codegenSourceModule(_stylesModuleUrl(inputUrl, shim, suffix), stylesCompileResult.statements, [stylesCompileResult.stylesVar]);\n };\n OfflineCompiler.prototype._codegenSourceModule = function(moduleUrl, statements, exportedVars) {\n return new SourceModule(moduleUrl, this._outputEmitter.emitStatements(moduleUrl, statements, exportedVars));\n };\n return OfflineCompiler;\n}());\nexports.OfflineCompiler = OfflineCompiler;\nfunction _resolveViewStatements(compileResult) {\n compileResult.dependencies.forEach(function(dep) {\n dep.factoryPlaceholder.moduleUrl = _templateModuleUrl(dep.comp);\n });\n return compileResult.statements;\n}\nfunction _resolveStyleStatements(containingModuleUrl, compileResult) {\n var containingSuffix = _splitSuffix(containingModuleUrl)[1];\n compileResult.dependencies.forEach(function(dep) {\n dep.valuePlaceholder.moduleUrl = _stylesModuleUrl(dep.moduleUrl, dep.isShimmed, containingSuffix);\n });\n return compileResult.statements;\n}\nfunction _templateModuleUrl(comp) {\n var urlWithSuffix = _splitSuffix(comp.type.moduleUrl);\n return urlWithSuffix[0] + \".ngfactory\" + urlWithSuffix[1];\n}\nfunction _stylesModuleUrl(stylesheetUrl, shim, suffix) {\n return shim ? stylesheetUrl + \".shim\" + suffix : \"\" + stylesheetUrl + suffix;\n}\nfunction _assertComponent(meta) {\n if (!meta.isComponent) {\n throw new exceptions_1.BaseException(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n }\n}\nfunction _splitSuffix(path) {\n var lastDot = path.lastIndexOf('.');\n if (lastDot !== -1) {\n return [path.substring(0, lastDot), path.substring(lastDot)];\n } else {\n return [path, ''];\n }\n}\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('./facade/lang');\nvar collection_1 = require('./facade/collection');\nvar template_ast_1 = require('./template_ast');\nvar compile_metadata_1 = require('./compile_metadata');\nvar identifiers_1 = require('./identifiers');\nvar parse_util_1 = require('./parse_util');\nvar ProviderError = (function(_super) {\n __extends(ProviderError, _super);\n function ProviderError(message, span) {\n _super.call(this, span, message);\n }\n return ProviderError;\n}(parse_util_1.ParseError));\nexports.ProviderError = ProviderError;\nvar ProviderViewContext = (function() {\n function ProviderViewContext(component, sourceSpan) {\n var _this = this;\n this.component = component;\n this.sourceSpan = sourceSpan;\n this.errors = [];\n this.viewQueries = _getViewQueries(component);\n this.viewProviders = new compile_metadata_1.CompileTokenMap();\n _normalizeProviders(component.viewProviders, sourceSpan, this.errors).forEach(function(provider) {\n if (lang_1.isBlank(_this.viewProviders.get(provider.token))) {\n _this.viewProviders.add(provider.token, true);\n }\n });\n }\n return ProviderViewContext;\n}());\nexports.ProviderViewContext = ProviderViewContext;\nvar ProviderElementContext = (function() {\n function ProviderElementContext(_viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, _sourceSpan) {\n var _this = this;\n this._viewContext = _viewContext;\n this._parent = _parent;\n this._isViewRoot = _isViewRoot;\n this._directiveAsts = _directiveAsts;\n this._sourceSpan = _sourceSpan;\n this._transformedProviders = new compile_metadata_1.CompileTokenMap();\n this._seenProviders = new compile_metadata_1.CompileTokenMap();\n this._hasViewContainer = false;\n this._attrs = {};\n attrs.forEach(function(attrAst) {\n return _this._attrs[attrAst.name] = attrAst.value;\n });\n var directivesMeta = _directiveAsts.map(function(directiveAst) {\n return directiveAst.directive;\n });\n this._allProviders = _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, _viewContext.errors);\n this._contentQueries = _getContentQueries(directivesMeta);\n var queriedTokens = new compile_metadata_1.CompileTokenMap();\n this._allProviders.values().forEach(function(provider) {\n _this._addQueryReadsTo(provider.token, queriedTokens);\n });\n refs.forEach(function(refAst) {\n _this._addQueryReadsTo(new compile_metadata_1.CompileTokenMetadata({value: refAst.name}), queriedTokens);\n });\n if (lang_1.isPresent(queriedTokens.get(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef)))) {\n this._hasViewContainer = true;\n }\n this._allProviders.values().forEach(function(provider) {\n var eager = provider.eager || lang_1.isPresent(queriedTokens.get(provider.token));\n if (eager) {\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, true);\n }\n });\n }\n ProviderElementContext.prototype.afterElement = function() {\n var _this = this;\n this._allProviders.values().forEach(function(provider) {\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, false);\n });\n };\n Object.defineProperty(ProviderElementContext.prototype, \"transformProviders\", {\n get: function() {\n return this._transformedProviders.values();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ProviderElementContext.prototype, \"transformedDirectiveAsts\", {\n get: function() {\n var sortedProviderTypes = this._transformedProviders.values().map(function(provider) {\n return provider.token.identifier;\n });\n var sortedDirectives = collection_1.ListWrapper.clone(this._directiveAsts);\n collection_1.ListWrapper.sort(sortedDirectives, function(dir1, dir2) {\n return sortedProviderTypes.indexOf(dir1.directive.type) - sortedProviderTypes.indexOf(dir2.directive.type);\n });\n return sortedDirectives;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ProviderElementContext.prototype, \"transformedHasViewContainer\", {\n get: function() {\n return this._hasViewContainer;\n },\n enumerable: true,\n configurable: true\n });\n ProviderElementContext.prototype._addQueryReadsTo = function(token, queryReadTokens) {\n this._getQueriesFor(token).forEach(function(query) {\n var queryReadToken = lang_1.isPresent(query.read) ? query.read : token;\n if (lang_1.isBlank(queryReadTokens.get(queryReadToken))) {\n queryReadTokens.add(queryReadToken, true);\n }\n });\n };\n ProviderElementContext.prototype._getQueriesFor = function(token) {\n var result = [];\n var currentEl = this;\n var distance = 0;\n var queries;\n while (currentEl !== null) {\n queries = currentEl._contentQueries.get(token);\n if (lang_1.isPresent(queries)) {\n collection_1.ListWrapper.addAll(result, queries.filter(function(query) {\n return query.descendants || distance <= 1;\n }));\n }\n if (currentEl._directiveAsts.length > 0) {\n distance++;\n }\n currentEl = currentEl._parent;\n }\n queries = this._viewContext.viewQueries.get(token);\n if (lang_1.isPresent(queries)) {\n collection_1.ListWrapper.addAll(result, queries);\n }\n return result;\n };\n ProviderElementContext.prototype._getOrCreateLocalProvider = function(requestingProviderType, token, eager) {\n var _this = this;\n var resolvedProvider = this._allProviders.get(token);\n if (lang_1.isBlank(resolvedProvider) || ((requestingProviderType === template_ast_1.ProviderAstType.Directive || requestingProviderType === template_ast_1.ProviderAstType.PublicService) && resolvedProvider.providerType === template_ast_1.ProviderAstType.PrivateService) || ((requestingProviderType === template_ast_1.ProviderAstType.PrivateService || requestingProviderType === template_ast_1.ProviderAstType.PublicService) && resolvedProvider.providerType === template_ast_1.ProviderAstType.Builtin)) {\n return null;\n }\n var transformedProviderAst = this._transformedProviders.get(token);\n if (lang_1.isPresent(transformedProviderAst)) {\n return transformedProviderAst;\n }\n if (lang_1.isPresent(this._seenProviders.get(token))) {\n this._viewContext.errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, this._sourceSpan));\n return null;\n }\n this._seenProviders.add(token, true);\n var transformedProviders = resolvedProvider.providers.map(function(provider) {\n var transformedUseValue = provider.useValue;\n var transformedUseExisting = provider.useExisting;\n var transformedDeps;\n if (lang_1.isPresent(provider.useExisting)) {\n var existingDiDep = _this._getDependency(resolvedProvider.providerType, new compile_metadata_1.CompileDiDependencyMetadata({token: provider.useExisting}), eager);\n if (lang_1.isPresent(existingDiDep.token)) {\n transformedUseExisting = existingDiDep.token;\n } else {\n transformedUseExisting = null;\n transformedUseValue = existingDiDep.value;\n }\n } else if (lang_1.isPresent(provider.useFactory)) {\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useFactory.diDeps;\n transformedDeps = deps.map(function(dep) {\n return _this._getDependency(resolvedProvider.providerType, dep, eager);\n });\n } else if (lang_1.isPresent(provider.useClass)) {\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useClass.diDeps;\n transformedDeps = deps.map(function(dep) {\n return _this._getDependency(resolvedProvider.providerType, dep, eager);\n });\n }\n return _transformProvider(provider, {\n useExisting: transformedUseExisting,\n useValue: transformedUseValue,\n deps: transformedDeps\n });\n });\n transformedProviderAst = _transformProviderAst(resolvedProvider, {\n eager: eager,\n providers: transformedProviders\n });\n this._transformedProviders.add(token, transformedProviderAst);\n return transformedProviderAst;\n };\n ProviderElementContext.prototype._getLocalDependency = function(requestingProviderType, dep, eager) {\n if (eager === void 0) {\n eager = null;\n }\n if (dep.isAttribute) {\n var attrValue = this._attrs[dep.token.value];\n return new compile_metadata_1.CompileDiDependencyMetadata({\n isValue: true,\n value: lang_1.normalizeBlank(attrValue)\n });\n }\n if (lang_1.isPresent(dep.query) || lang_1.isPresent(dep.viewQuery)) {\n return dep;\n }\n if (lang_1.isPresent(dep.token)) {\n if ((requestingProviderType === template_ast_1.ProviderAstType.Directive || requestingProviderType === template_ast_1.ProviderAstType.Component)) {\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.Renderer)) || dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ElementRef)) || dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef)) || dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef))) {\n return dep;\n }\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef))) {\n this._hasViewContainer = true;\n }\n }\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.Injector))) {\n return dep;\n }\n if (lang_1.isPresent(this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager))) {\n return dep;\n }\n }\n return null;\n };\n ProviderElementContext.prototype._getDependency = function(requestingProviderType, dep, eager) {\n if (eager === void 0) {\n eager = null;\n }\n var currElement = this;\n var currEager = eager;\n var result = null;\n if (!dep.isSkipSelf) {\n result = this._getLocalDependency(requestingProviderType, dep, eager);\n }\n if (dep.isSelf) {\n if (lang_1.isBlank(result) && dep.isOptional) {\n result = new compile_metadata_1.CompileDiDependencyMetadata({\n isValue: true,\n value: null\n });\n }\n } else {\n while (lang_1.isBlank(result) && lang_1.isPresent(currElement._parent)) {\n var prevElement = currElement;\n currElement = currElement._parent;\n if (prevElement._isViewRoot) {\n currEager = false;\n }\n result = currElement._getLocalDependency(template_ast_1.ProviderAstType.PublicService, dep, currEager);\n }\n if (lang_1.isBlank(result)) {\n if (!dep.isHost || this._viewContext.component.type.isHost || identifiers_1.identifierToken(this._viewContext.component.type).equalsTo(dep.token) || lang_1.isPresent(this._viewContext.viewProviders.get(dep.token))) {\n result = dep;\n } else {\n result = dep.isOptional ? result = new compile_metadata_1.CompileDiDependencyMetadata({\n isValue: true,\n value: null\n }) : null;\n }\n }\n }\n if (lang_1.isBlank(result)) {\n this._viewContext.errors.push(new ProviderError(\"No provider for \" + dep.token.name, this._sourceSpan));\n }\n return result;\n };\n return ProviderElementContext;\n}());\nexports.ProviderElementContext = ProviderElementContext;\nfunction _transformProvider(provider, _a) {\n var useExisting = _a.useExisting,\n useValue = _a.useValue,\n deps = _a.deps;\n return new compile_metadata_1.CompileProviderMetadata({\n token: provider.token,\n useClass: provider.useClass,\n useExisting: useExisting,\n useFactory: provider.useFactory,\n useValue: useValue,\n deps: deps,\n multi: provider.multi\n });\n}\nfunction _transformProviderAst(provider, _a) {\n var eager = _a.eager,\n providers = _a.providers;\n return new template_ast_1.ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.sourceSpan);\n}\nfunction _normalizeProviders(providers, sourceSpan, targetErrors, targetProviders) {\n if (targetProviders === void 0) {\n targetProviders = null;\n }\n if (lang_1.isBlank(targetProviders)) {\n targetProviders = [];\n }\n if (lang_1.isPresent(providers)) {\n providers.forEach(function(provider) {\n if (lang_1.isArray(provider)) {\n _normalizeProviders(provider, sourceSpan, targetErrors, targetProviders);\n } else {\n var normalizeProvider;\n if (provider instanceof compile_metadata_1.CompileProviderMetadata) {\n normalizeProvider = provider;\n } else if (provider instanceof compile_metadata_1.CompileTypeMetadata) {\n normalizeProvider = new compile_metadata_1.CompileProviderMetadata({\n token: new compile_metadata_1.CompileTokenMetadata({identifier: provider}),\n useClass: provider\n });\n } else {\n targetErrors.push(new ProviderError(\"Unknown provider type \" + provider, sourceSpan));\n }\n if (lang_1.isPresent(normalizeProvider)) {\n targetProviders.push(normalizeProvider);\n }\n }\n });\n }\n return targetProviders;\n}\nfunction _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\n var providersByToken = new compile_metadata_1.CompileTokenMap();\n directives.forEach(function(directive) {\n var dirProvider = new compile_metadata_1.CompileProviderMetadata({\n token: new compile_metadata_1.CompileTokenMetadata({identifier: directive.type}),\n useClass: directive.type\n });\n _resolveProviders([dirProvider], directive.isComponent ? template_ast_1.ProviderAstType.Component : template_ast_1.ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken);\n });\n var directivesWithComponentFirst = directives.filter(function(dir) {\n return dir.isComponent;\n }).concat(directives.filter(function(dir) {\n return !dir.isComponent;\n }));\n directivesWithComponentFirst.forEach(function(directive) {\n _resolveProviders(_normalizeProviders(directive.providers, sourceSpan, targetErrors), template_ast_1.ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken);\n _resolveProviders(_normalizeProviders(directive.viewProviders, sourceSpan, targetErrors), template_ast_1.ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken);\n });\n return providersByToken;\n}\nfunction _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken) {\n providers.forEach(function(provider) {\n var resolvedProvider = targetProvidersByToken.get(provider.token);\n if (lang_1.isPresent(resolvedProvider) && resolvedProvider.multiProvider !== provider.multi) {\n targetErrors.push(new ProviderError(\"Mixing multi and non multi provider is not possible for token \" + resolvedProvider.token.name, sourceSpan));\n }\n if (lang_1.isBlank(resolvedProvider)) {\n resolvedProvider = new template_ast_1.ProviderAst(provider.token, provider.multi, eager, [provider], providerType, sourceSpan);\n targetProvidersByToken.add(provider.token, resolvedProvider);\n } else {\n if (!provider.multi) {\n collection_1.ListWrapper.clear(resolvedProvider.providers);\n }\n resolvedProvider.providers.push(provider);\n }\n });\n}\nfunction _getViewQueries(component) {\n var viewQueries = new compile_metadata_1.CompileTokenMap();\n if (lang_1.isPresent(component.viewQueries)) {\n component.viewQueries.forEach(function(query) {\n return _addQueryToTokenMap(viewQueries, query);\n });\n }\n component.type.diDeps.forEach(function(dep) {\n if (lang_1.isPresent(dep.viewQuery)) {\n _addQueryToTokenMap(viewQueries, dep.viewQuery);\n }\n });\n return viewQueries;\n}\nfunction _getContentQueries(directives) {\n var contentQueries = new compile_metadata_1.CompileTokenMap();\n directives.forEach(function(directive) {\n if (lang_1.isPresent(directive.queries)) {\n directive.queries.forEach(function(query) {\n return _addQueryToTokenMap(contentQueries, query);\n });\n }\n directive.type.diDeps.forEach(function(dep) {\n if (lang_1.isPresent(dep.query)) {\n _addQueryToTokenMap(contentQueries, dep.query);\n }\n });\n });\n return contentQueries;\n}\nfunction _addQueryToTokenMap(map, query) {\n query.selectors.forEach(function(token) {\n var entry = map.get(token);\n if (lang_1.isBlank(entry)) {\n entry = [];\n map.add(token, entry);\n }\n entry.push(query);\n });\n}\n","/* */ \n(function(process) {\n \"use strict\";\n var __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var core_1 = require('@angular/core');\n var core_private_1 = require('../core_private');\n var collection_1 = require('./facade/collection');\n var lang_1 = require('./facade/lang');\n var exceptions_1 = require('./facade/exceptions');\n var ast_1 = require('./expression_parser/ast');\n var parser_1 = require('./expression_parser/parser');\n var html_parser_1 = require('./html_parser');\n var html_tags_1 = require('./html_tags');\n var parse_util_1 = require('./parse_util');\n var template_ast_1 = require('./template_ast');\n var selector_1 = require('./selector');\n var element_schema_registry_1 = require('./schema/element_schema_registry');\n var template_preparser_1 = require('./template_preparser');\n var style_url_resolver_1 = require('./style_url_resolver');\n var html_ast_1 = require('./html_ast');\n var util_1 = require('./util');\n var identifiers_1 = require('./identifiers');\n var provider_parser_1 = require('./provider_parser');\n var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(var-)|(let-)|(ref-|#)|(on-)|(bindon-))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/g;\n var TEMPLATE_ELEMENT = 'template';\n var TEMPLATE_ATTR = 'template';\n var TEMPLATE_ATTR_PREFIX = '*';\n var CLASS_ATTR = 'class';\n var PROPERTY_PARTS_SEPARATOR = '.';\n var ATTRIBUTE_PREFIX = 'attr';\n var CLASS_PREFIX = 'class';\n var STYLE_PREFIX = 'style';\n var TEXT_CSS_SELECTOR = selector_1.CssSelector.parse('*')[0];\n exports.TEMPLATE_TRANSFORMS = new core_1.OpaqueToken('TemplateTransforms');\n var TemplateParseError = (function(_super) {\n __extends(TemplateParseError, _super);\n function TemplateParseError(message, span, level) {\n _super.call(this, span, message, level);\n }\n return TemplateParseError;\n }(parse_util_1.ParseError));\n exports.TemplateParseError = TemplateParseError;\n var TemplateParseResult = (function() {\n function TemplateParseResult(templateAst, errors) {\n this.templateAst = templateAst;\n this.errors = errors;\n }\n return TemplateParseResult;\n }());\n exports.TemplateParseResult = TemplateParseResult;\n var TemplateParser = (function() {\n function TemplateParser(_exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\n this._exprParser = _exprParser;\n this._schemaRegistry = _schemaRegistry;\n this._htmlParser = _htmlParser;\n this._console = _console;\n this.transforms = transforms;\n }\n TemplateParser.prototype.parse = function(component, template, directives, pipes, templateUrl) {\n var result = this.tryParse(component, template, directives, pipes, templateUrl);\n var warnings = result.errors.filter(function(error) {\n return error.level === parse_util_1.ParseErrorLevel.WARNING;\n });\n var errors = result.errors.filter(function(error) {\n return error.level === parse_util_1.ParseErrorLevel.FATAL;\n });\n if (warnings.length > 0) {\n this._console.warn(\"Template parse warnings:\\n\" + warnings.join('\\n'));\n }\n if (errors.length > 0) {\n var errorString = errors.join('\\n');\n throw new exceptions_1.BaseException(\"Template parse errors:\\n\" + errorString);\n }\n return result.templateAst;\n };\n TemplateParser.prototype.tryParse = function(component, template, directives, pipes, templateUrl) {\n var htmlAstWithErrors = this._htmlParser.parse(template, templateUrl);\n var errors = htmlAstWithErrors.errors;\n var result;\n if (htmlAstWithErrors.rootNodes.length > 0) {\n var uniqDirectives = removeDuplicates(directives);\n var uniqPipes = removeDuplicates(pipes);\n var providerViewContext = new provider_parser_1.ProviderViewContext(component, htmlAstWithErrors.rootNodes[0].sourceSpan);\n var parseVisitor = new TemplateParseVisitor(providerViewContext, uniqDirectives, uniqPipes, this._exprParser, this._schemaRegistry);\n result = html_ast_1.htmlVisitAll(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\n errors = errors.concat(parseVisitor.errors).concat(providerViewContext.errors);\n } else {\n result = [];\n }\n if (errors.length > 0) {\n return new TemplateParseResult(result, errors);\n }\n if (lang_1.isPresent(this.transforms)) {\n this.transforms.forEach(function(transform) {\n result = template_ast_1.templateVisitAll(transform, result);\n });\n }\n return new TemplateParseResult(result, errors);\n };\n TemplateParser.decorators = [{type: core_1.Injectable}];\n TemplateParser.ctorParameters = [{type: parser_1.Parser}, {type: element_schema_registry_1.ElementSchemaRegistry}, {type: html_parser_1.HtmlParser}, {type: core_private_1.Console}, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {\n type: core_1.Inject,\n args: [exports.TEMPLATE_TRANSFORMS]\n }]\n }];\n return TemplateParser;\n }());\n exports.TemplateParser = TemplateParser;\n var TemplateParseVisitor = (function() {\n function TemplateParseVisitor(providerViewContext, directives, pipes, _exprParser, _schemaRegistry) {\n var _this = this;\n this.providerViewContext = providerViewContext;\n this._exprParser = _exprParser;\n this._schemaRegistry = _schemaRegistry;\n this.errors = [];\n this.directivesIndex = new Map();\n this.ngContentCount = 0;\n this.selectorMatcher = new selector_1.SelectorMatcher();\n collection_1.ListWrapper.forEachWithIndex(directives, function(directive, index) {\n var selector = selector_1.CssSelector.parse(directive.selector);\n _this.selectorMatcher.addSelectables(selector, directive);\n _this.directivesIndex.set(directive, index);\n });\n this.pipesByName = new Map();\n pipes.forEach(function(pipe) {\n return _this.pipesByName.set(pipe.name, pipe);\n });\n }\n TemplateParseVisitor.prototype._reportError = function(message, sourceSpan, level) {\n if (level === void 0) {\n level = parse_util_1.ParseErrorLevel.FATAL;\n }\n this.errors.push(new TemplateParseError(message, sourceSpan, level));\n };\n TemplateParseVisitor.prototype._parseInterpolation = function(value, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = this._exprParser.parseInterpolation(value, sourceInfo);\n this._checkPipes(ast, sourceSpan);\n if (lang_1.isPresent(ast) && ast.ast.expressions.length > core_private_1.MAX_INTERPOLATION_VALUES) {\n throw new exceptions_1.BaseException(\"Only support at most \" + core_private_1.MAX_INTERPOLATION_VALUES + \" interpolation values!\");\n }\n return ast;\n } catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n TemplateParseVisitor.prototype._parseAction = function(value, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = this._exprParser.parseAction(value, sourceInfo);\n this._checkPipes(ast, sourceSpan);\n return ast;\n } catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n TemplateParseVisitor.prototype._parseBinding = function(value, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = this._exprParser.parseBinding(value, sourceInfo);\n this._checkPipes(ast, sourceSpan);\n return ast;\n } catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n TemplateParseVisitor.prototype._parseTemplateBindings = function(value, sourceSpan) {\n var _this = this;\n var sourceInfo = sourceSpan.start.toString();\n try {\n var bindingsResult = this._exprParser.parseTemplateBindings(value, sourceInfo);\n bindingsResult.templateBindings.forEach(function(binding) {\n if (lang_1.isPresent(binding.expression)) {\n _this._checkPipes(binding.expression, sourceSpan);\n }\n });\n bindingsResult.warnings.forEach(function(warning) {\n _this._reportError(warning, sourceSpan, parse_util_1.ParseErrorLevel.WARNING);\n });\n return bindingsResult.templateBindings;\n } catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return [];\n }\n };\n TemplateParseVisitor.prototype._checkPipes = function(ast, sourceSpan) {\n var _this = this;\n if (lang_1.isPresent(ast)) {\n var collector = new PipeCollector();\n ast.visit(collector);\n collector.pipes.forEach(function(pipeName) {\n if (!_this.pipesByName.has(pipeName)) {\n _this._reportError(\"The pipe '\" + pipeName + \"' could not be found\", sourceSpan);\n }\n });\n }\n };\n TemplateParseVisitor.prototype.visitExpansion = function(ast, context) {\n return null;\n };\n TemplateParseVisitor.prototype.visitExpansionCase = function(ast, context) {\n return null;\n };\n TemplateParseVisitor.prototype.visitText = function(ast, parent) {\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n var expr = this._parseInterpolation(ast.value, ast.sourceSpan);\n if (lang_1.isPresent(expr)) {\n return new template_ast_1.BoundTextAst(expr, ngContentIndex, ast.sourceSpan);\n } else {\n return new template_ast_1.TextAst(ast.value, ngContentIndex, ast.sourceSpan);\n }\n };\n TemplateParseVisitor.prototype.visitAttr = function(ast, contex) {\n return new template_ast_1.AttrAst(ast.name, ast.value, ast.sourceSpan);\n };\n TemplateParseVisitor.prototype.visitComment = function(ast, context) {\n return null;\n };\n TemplateParseVisitor.prototype.visitElement = function(element, parent) {\n var _this = this;\n var nodeName = element.name;\n var preparsedElement = template_preparser_1.preparseElement(element);\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.SCRIPT || preparsedElement.type === template_preparser_1.PreparsedElementType.STYLE) {\n return null;\n }\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.STYLESHEET && style_url_resolver_1.isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n return null;\n }\n var matchableAttrs = [];\n var elementOrDirectiveProps = [];\n var elementOrDirectiveRefs = [];\n var elementVars = [];\n var events = [];\n var templateElementOrDirectiveProps = [];\n var templateMatchableAttrs = [];\n var templateElementVars = [];\n var hasInlineTemplates = false;\n var attrs = [];\n var lcElName = html_tags_1.splitNsName(nodeName.toLowerCase())[1];\n var isTemplateElement = lcElName == TEMPLATE_ELEMENT;\n element.attrs.forEach(function(attr) {\n var hasBinding = _this._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\n var hasTemplateBinding = _this._parseInlineTemplateBinding(attr, templateMatchableAttrs, templateElementOrDirectiveProps, templateElementVars);\n if (!hasBinding && !hasTemplateBinding) {\n attrs.push(_this.visitAttr(attr, null));\n matchableAttrs.push([attr.name, attr.value]);\n }\n if (hasTemplateBinding) {\n hasInlineTemplates = true;\n }\n });\n var elementCssSelector = createElementCssSelector(nodeName, matchableAttrs);\n var directiveMetas = this._parseDirectives(this.selectorMatcher, elementCssSelector);\n var references = [];\n var directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references);\n var elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, directiveAsts);\n var isViewRoot = parent.isTemplateElement || hasInlineTemplates;\n var providerContext = new provider_parser_1.ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, element.sourceSpan);\n var children = html_ast_1.htmlVisitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\n providerContext.afterElement();\n var projectionSelector = lang_1.isPresent(preparsedElement.projectAs) ? selector_1.CssSelector.parse(preparsedElement.projectAs)[0] : elementCssSelector;\n var ngContentIndex = parent.findNgContentIndex(projectionSelector);\n var parsedElement;\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.NG_CONTENT) {\n if (lang_1.isPresent(element.children) && element.children.length > 0) {\n this._reportError(\"<ng-content> element cannot have content. <ng-content> must be immediately followed by </ng-content>\", element.sourceSpan);\n }\n parsedElement = new template_ast_1.NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n } else if (isTemplateElement) {\n this._assertAllEventsPublishedByDirectives(directiveAsts, events);\n this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\n parsedElement = new template_ast_1.EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n } else {\n this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\n var ngContentIndex_1 = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\n parsedElement = new template_ast_1.ElementAst(nodeName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex_1, element.sourceSpan);\n }\n if (hasInlineTemplates) {\n var templateCssSelector = createElementCssSelector(TEMPLATE_ELEMENT, templateMatchableAttrs);\n var templateDirectiveMetas = this._parseDirectives(this.selectorMatcher, templateCssSelector);\n var templateDirectiveAsts = this._createDirectiveAsts(true, element.name, templateDirectiveMetas, templateElementOrDirectiveProps, [], element.sourceSpan, []);\n var templateElementProps = this._createElementPropertyAsts(element.name, templateElementOrDirectiveProps, templateDirectiveAsts);\n this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\n var templateProviderContext = new provider_parser_1.ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], element.sourceSpan);\n templateProviderContext.afterElement();\n parsedElement = new template_ast_1.EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, [parsedElement], ngContentIndex, element.sourceSpan);\n }\n return parsedElement;\n };\n TemplateParseVisitor.prototype._parseInlineTemplateBinding = function(attr, targetMatchableAttrs, targetProps, targetVars) {\n var templateBindingsSource = null;\n if (attr.name == TEMPLATE_ATTR) {\n templateBindingsSource = attr.value;\n } else if (attr.name.startsWith(TEMPLATE_ATTR_PREFIX)) {\n var key = attr.name.substring(TEMPLATE_ATTR_PREFIX.length);\n templateBindingsSource = (attr.value.length == 0) ? key : key + ' ' + attr.value;\n }\n if (lang_1.isPresent(templateBindingsSource)) {\n var bindings = this._parseTemplateBindings(templateBindingsSource, attr.sourceSpan);\n for (var i = 0; i < bindings.length; i++) {\n var binding = bindings[i];\n if (binding.keyIsVar) {\n targetVars.push(new template_ast_1.VariableAst(binding.key, binding.name, attr.sourceSpan));\n } else if (lang_1.isPresent(binding.expression)) {\n this._parsePropertyAst(binding.key, binding.expression, attr.sourceSpan, targetMatchableAttrs, targetProps);\n } else {\n targetMatchableAttrs.push([binding.key, '']);\n this._parseLiteralAttr(binding.key, null, attr.sourceSpan, targetProps);\n }\n }\n return true;\n }\n return false;\n };\n TemplateParseVisitor.prototype._parseAttr = function(isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\n var attrName = this._normalizeAttributeName(attr.name);\n var attrValue = attr.value;\n var bindParts = lang_1.RegExpWrapper.firstMatch(BIND_NAME_REGEXP, attrName);\n var hasBinding = false;\n if (lang_1.isPresent(bindParts)) {\n hasBinding = true;\n if (lang_1.isPresent(bindParts[1])) {\n this._parseProperty(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\n } else if (lang_1.isPresent(bindParts[2])) {\n var identifier = bindParts[7];\n if (isTemplateElement) {\n this._reportError(\"\\\"var-\\\" on <template> elements is deprecated. Use \\\"let-\\\" instead!\", attr.sourceSpan, parse_util_1.ParseErrorLevel.WARNING);\n this._parseVariable(identifier, attrValue, attr.sourceSpan, targetVars);\n } else {\n this._reportError(\"\\\"var-\\\" on non <template> elements is deprecated. Use \\\"ref-\\\" instead!\", attr.sourceSpan, parse_util_1.ParseErrorLevel.WARNING);\n this._parseReference(identifier, attrValue, attr.sourceSpan, targetRefs);\n }\n } else if (lang_1.isPresent(bindParts[3])) {\n if (isTemplateElement) {\n var identifier = bindParts[7];\n this._parseVariable(identifier, attrValue, attr.sourceSpan, targetVars);\n } else {\n this._reportError(\"\\\"let-\\\" is only supported on template elements.\", attr.sourceSpan);\n }\n } else if (lang_1.isPresent(bindParts[4])) {\n var identifier = bindParts[7];\n this._parseReference(identifier, attrValue, attr.sourceSpan, targetRefs);\n } else if (lang_1.isPresent(bindParts[5])) {\n this._parseEvent(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\n } else if (lang_1.isPresent(bindParts[6])) {\n this._parseProperty(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\n this._parseAssignmentEvent(bindParts[7], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\n } else if (lang_1.isPresent(bindParts[8])) {\n this._parseProperty(bindParts[8], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\n this._parseAssignmentEvent(bindParts[8], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\n } else if (lang_1.isPresent(bindParts[9])) {\n this._parseProperty(bindParts[9], attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\n } else if (lang_1.isPresent(bindParts[10])) {\n this._parseEvent(bindParts[10], attrValue, attr.sourceSpan, targetMatchableAttrs, targetEvents);\n }\n } else {\n hasBinding = this._parsePropertyInterpolation(attrName, attrValue, attr.sourceSpan, targetMatchableAttrs, targetProps);\n }\n if (!hasBinding) {\n this._parseLiteralAttr(attrName, attrValue, attr.sourceSpan, targetProps);\n }\n return hasBinding;\n };\n TemplateParseVisitor.prototype._normalizeAttributeName = function(attrName) {\n return attrName.toLowerCase().startsWith('data-') ? attrName.substring(5) : attrName;\n };\n TemplateParseVisitor.prototype._parseVariable = function(identifier, value, sourceSpan, targetVars) {\n if (identifier.indexOf('-') > -1) {\n this._reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\n }\n targetVars.push(new template_ast_1.VariableAst(identifier, value, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseReference = function(identifier, value, sourceSpan, targetRefs) {\n if (identifier.indexOf('-') > -1) {\n this._reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\n }\n targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseProperty = function(name, expression, sourceSpan, targetMatchableAttrs, targetProps) {\n this._parsePropertyAst(name, this._parseBinding(expression, sourceSpan), sourceSpan, targetMatchableAttrs, targetProps);\n };\n TemplateParseVisitor.prototype._parsePropertyInterpolation = function(name, value, sourceSpan, targetMatchableAttrs, targetProps) {\n var expr = this._parseInterpolation(value, sourceSpan);\n if (lang_1.isPresent(expr)) {\n this._parsePropertyAst(name, expr, sourceSpan, targetMatchableAttrs, targetProps);\n return true;\n }\n return false;\n };\n TemplateParseVisitor.prototype._parsePropertyAst = function(name, ast, sourceSpan, targetMatchableAttrs, targetProps) {\n targetMatchableAttrs.push([name, ast.source]);\n targetProps.push(new BoundElementOrDirectiveProperty(name, ast, false, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseAssignmentEvent = function(name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n this._parseEvent(name + \"Change\", expression + \"=$event\", sourceSpan, targetMatchableAttrs, targetEvents);\n };\n TemplateParseVisitor.prototype._parseEvent = function(name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n var parts = util_1.splitAtColon(name, [null, name]);\n var target = parts[0];\n var eventName = parts[1];\n var ast = this._parseAction(expression, sourceSpan);\n targetMatchableAttrs.push([name, ast.source]);\n targetEvents.push(new template_ast_1.BoundEventAst(eventName, target, ast, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseLiteralAttr = function(name, value, sourceSpan, targetProps) {\n targetProps.push(new BoundElementOrDirectiveProperty(name, this._exprParser.wrapLiteralPrimitive(value, ''), true, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseDirectives = function(selectorMatcher, elementCssSelector) {\n var _this = this;\n var directives = collection_1.ListWrapper.createFixedSize(this.directivesIndex.size);\n selectorMatcher.match(elementCssSelector, function(selector, directive) {\n directives[_this.directivesIndex.get(directive)] = directive;\n });\n return directives.filter(function(dir) {\n return lang_1.isPresent(dir);\n });\n };\n TemplateParseVisitor.prototype._createDirectiveAsts = function(isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, sourceSpan, targetReferences) {\n var _this = this;\n var matchedReferences = new Set();\n var component = null;\n var directiveAsts = directives.map(function(directive) {\n if (directive.isComponent) {\n component = directive;\n }\n var hostProperties = [];\n var hostEvents = [];\n var directiveProperties = [];\n _this._createDirectiveHostPropertyAsts(elementName, directive.hostProperties, sourceSpan, hostProperties);\n _this._createDirectiveHostEventAsts(directive.hostListeners, sourceSpan, hostEvents);\n _this._createDirectivePropertyAsts(directive.inputs, props, directiveProperties);\n elementOrDirectiveRefs.forEach(function(elOrDirRef) {\n if ((elOrDirRef.value.length === 0 && directive.isComponent) || (directive.exportAs == elOrDirRef.value)) {\n targetReferences.push(new template_ast_1.ReferenceAst(elOrDirRef.name, identifiers_1.identifierToken(directive.type), elOrDirRef.sourceSpan));\n matchedReferences.add(elOrDirRef.name);\n }\n });\n return new template_ast_1.DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, sourceSpan);\n });\n elementOrDirectiveRefs.forEach(function(elOrDirRef) {\n if (elOrDirRef.value.length > 0) {\n if (!collection_1.SetWrapper.has(matchedReferences, elOrDirRef.name)) {\n _this._reportError(\"There is no directive with \\\"exportAs\\\" set to \\\"\" + elOrDirRef.value + \"\\\"\", elOrDirRef.sourceSpan);\n }\n ;\n } else if (lang_1.isBlank(component)) {\n var refToken = null;\n if (isTemplateElement) {\n refToken = identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef);\n }\n targetReferences.push(new template_ast_1.ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.sourceSpan));\n }\n });\n return directiveAsts;\n };\n TemplateParseVisitor.prototype._createDirectiveHostPropertyAsts = function(elementName, hostProps, sourceSpan, targetPropertyAsts) {\n var _this = this;\n if (lang_1.isPresent(hostProps)) {\n collection_1.StringMapWrapper.forEach(hostProps, function(expression, propName) {\n var exprAst = _this._parseBinding(expression, sourceSpan);\n targetPropertyAsts.push(_this._createElementPropertyAst(elementName, propName, exprAst, sourceSpan));\n });\n }\n };\n TemplateParseVisitor.prototype._createDirectiveHostEventAsts = function(hostListeners, sourceSpan, targetEventAsts) {\n var _this = this;\n if (lang_1.isPresent(hostListeners)) {\n collection_1.StringMapWrapper.forEach(hostListeners, function(expression, propName) {\n _this._parseEvent(propName, expression, sourceSpan, [], targetEventAsts);\n });\n }\n };\n TemplateParseVisitor.prototype._createDirectivePropertyAsts = function(directiveProperties, boundProps, targetBoundDirectiveProps) {\n if (lang_1.isPresent(directiveProperties)) {\n var boundPropsByName = new Map();\n boundProps.forEach(function(boundProp) {\n var prevValue = boundPropsByName.get(boundProp.name);\n if (lang_1.isBlank(prevValue) || prevValue.isLiteral) {\n boundPropsByName.set(boundProp.name, boundProp);\n }\n });\n collection_1.StringMapWrapper.forEach(directiveProperties, function(elProp, dirProp) {\n var boundProp = boundPropsByName.get(elProp);\n if (lang_1.isPresent(boundProp)) {\n targetBoundDirectiveProps.push(new template_ast_1.BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\n }\n });\n }\n };\n TemplateParseVisitor.prototype._createElementPropertyAsts = function(elementName, props, directives) {\n var _this = this;\n var boundElementProps = [];\n var boundDirectivePropsIndex = new Map();\n directives.forEach(function(directive) {\n directive.inputs.forEach(function(prop) {\n boundDirectivePropsIndex.set(prop.templateName, prop);\n });\n });\n props.forEach(function(prop) {\n if (!prop.isLiteral && lang_1.isBlank(boundDirectivePropsIndex.get(prop.name))) {\n boundElementProps.push(_this._createElementPropertyAst(elementName, prop.name, prop.expression, prop.sourceSpan));\n }\n });\n return boundElementProps;\n };\n TemplateParseVisitor.prototype._createElementPropertyAst = function(elementName, name, ast, sourceSpan) {\n var unit = null;\n var bindingType;\n var boundPropertyName;\n var parts = name.split(PROPERTY_PARTS_SEPARATOR);\n var securityContext;\n if (parts.length === 1) {\n boundPropertyName = this._schemaRegistry.getMappedPropName(parts[0]);\n securityContext = this._schemaRegistry.securityContext(elementName, boundPropertyName);\n bindingType = template_ast_1.PropertyBindingType.Property;\n if (!this._schemaRegistry.hasProperty(elementName, boundPropertyName)) {\n this._reportError(\"Can't bind to '\" + boundPropertyName + \"' since it isn't a known native property\", sourceSpan);\n }\n } else {\n if (parts[0] == ATTRIBUTE_PREFIX) {\n boundPropertyName = parts[1];\n if (boundPropertyName.toLowerCase().startsWith('on')) {\n this._reportError((\"Binding to event attribute '\" + boundPropertyName + \"' is disallowed \") + (\"for security reasons, please use (\" + boundPropertyName.slice(2) + \")=...\"), sourceSpan);\n }\n securityContext = this._schemaRegistry.securityContext(elementName, this._schemaRegistry.getMappedPropName(boundPropertyName));\n var nsSeparatorIdx = boundPropertyName.indexOf(':');\n if (nsSeparatorIdx > -1) {\n var ns = boundPropertyName.substring(0, nsSeparatorIdx);\n var name_1 = boundPropertyName.substring(nsSeparatorIdx + 1);\n boundPropertyName = html_tags_1.mergeNsAndName(ns, name_1);\n }\n bindingType = template_ast_1.PropertyBindingType.Attribute;\n } else if (parts[0] == CLASS_PREFIX) {\n boundPropertyName = parts[1];\n bindingType = template_ast_1.PropertyBindingType.Class;\n securityContext = core_private_1.SecurityContext.NONE;\n } else if (parts[0] == STYLE_PREFIX) {\n unit = parts.length > 2 ? parts[2] : null;\n boundPropertyName = parts[1];\n bindingType = template_ast_1.PropertyBindingType.Style;\n securityContext = core_private_1.SecurityContext.STYLE;\n } else {\n this._reportError(\"Invalid property name '\" + name + \"'\", sourceSpan);\n bindingType = null;\n securityContext = null;\n }\n }\n return new template_ast_1.BoundElementPropertyAst(boundPropertyName, bindingType, securityContext, ast, unit, sourceSpan);\n };\n TemplateParseVisitor.prototype._findComponentDirectiveNames = function(directives) {\n var componentTypeNames = [];\n directives.forEach(function(directive) {\n var typeName = directive.directive.type.name;\n if (directive.directive.isComponent) {\n componentTypeNames.push(typeName);\n }\n });\n return componentTypeNames;\n };\n TemplateParseVisitor.prototype._assertOnlyOneComponent = function(directives, sourceSpan) {\n var componentTypeNames = this._findComponentDirectiveNames(directives);\n if (componentTypeNames.length > 1) {\n this._reportError(\"More than one component: \" + componentTypeNames.join(','), sourceSpan);\n }\n };\n TemplateParseVisitor.prototype._assertNoComponentsNorElementBindingsOnTemplate = function(directives, elementProps, sourceSpan) {\n var _this = this;\n var componentTypeNames = this._findComponentDirectiveNames(directives);\n if (componentTypeNames.length > 0) {\n this._reportError(\"Components on an embedded template: \" + componentTypeNames.join(','), sourceSpan);\n }\n elementProps.forEach(function(prop) {\n _this._reportError(\"Property binding \" + prop.name + \" not used by any directive on an embedded template\", sourceSpan);\n });\n };\n TemplateParseVisitor.prototype._assertAllEventsPublishedByDirectives = function(directives, events) {\n var _this = this;\n var allDirectiveEvents = new Set();\n directives.forEach(function(directive) {\n collection_1.StringMapWrapper.forEach(directive.directive.outputs, function(eventName, _) {\n allDirectiveEvents.add(eventName);\n });\n });\n events.forEach(function(event) {\n if (lang_1.isPresent(event.target) || !collection_1.SetWrapper.has(allDirectiveEvents, event.name)) {\n _this._reportError(\"Event binding \" + event.fullName + \" not emitted by any directive on an embedded template\", event.sourceSpan);\n }\n });\n };\n return TemplateParseVisitor;\n }());\n var NonBindableVisitor = (function() {\n function NonBindableVisitor() {}\n NonBindableVisitor.prototype.visitElement = function(ast, parent) {\n var preparsedElement = template_preparser_1.preparseElement(ast);\n if (preparsedElement.type === template_preparser_1.PreparsedElementType.SCRIPT || preparsedElement.type === template_preparser_1.PreparsedElementType.STYLE || preparsedElement.type === template_preparser_1.PreparsedElementType.STYLESHEET) {\n return null;\n }\n var attrNameAndValues = ast.attrs.map(function(attrAst) {\n return [attrAst.name, attrAst.value];\n });\n var selector = createElementCssSelector(ast.name, attrNameAndValues);\n var ngContentIndex = parent.findNgContentIndex(selector);\n var children = html_ast_1.htmlVisitAll(this, ast.children, EMPTY_ELEMENT_CONTEXT);\n return new template_ast_1.ElementAst(ast.name, html_ast_1.htmlVisitAll(this, ast.attrs), [], [], [], [], [], false, children, ngContentIndex, ast.sourceSpan);\n };\n NonBindableVisitor.prototype.visitComment = function(ast, context) {\n return null;\n };\n NonBindableVisitor.prototype.visitAttr = function(ast, context) {\n return new template_ast_1.AttrAst(ast.name, ast.value, ast.sourceSpan);\n };\n NonBindableVisitor.prototype.visitText = function(ast, parent) {\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n return new template_ast_1.TextAst(ast.value, ngContentIndex, ast.sourceSpan);\n };\n NonBindableVisitor.prototype.visitExpansion = function(ast, context) {\n return ast;\n };\n NonBindableVisitor.prototype.visitExpansionCase = function(ast, context) {\n return ast;\n };\n return NonBindableVisitor;\n }());\n var BoundElementOrDirectiveProperty = (function() {\n function BoundElementOrDirectiveProperty(name, expression, isLiteral, sourceSpan) {\n this.name = name;\n this.expression = expression;\n this.isLiteral = isLiteral;\n this.sourceSpan = sourceSpan;\n }\n return BoundElementOrDirectiveProperty;\n }());\n var ElementOrDirectiveRef = (function() {\n function ElementOrDirectiveRef(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n return ElementOrDirectiveRef;\n }());\n function splitClasses(classAttrValue) {\n return lang_1.StringWrapper.split(classAttrValue.trim(), /\\s+/g);\n }\n exports.splitClasses = splitClasses;\n var ElementContext = (function() {\n function ElementContext(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\n this.isTemplateElement = isTemplateElement;\n this._ngContentIndexMatcher = _ngContentIndexMatcher;\n this._wildcardNgContentIndex = _wildcardNgContentIndex;\n this.providerContext = providerContext;\n }\n ElementContext.create = function(isTemplateElement, directives, providerContext) {\n var matcher = new selector_1.SelectorMatcher();\n var wildcardNgContentIndex = null;\n var component = directives.find(function(directive) {\n return directive.directive.isComponent;\n });\n if (lang_1.isPresent(component)) {\n var ngContentSelectors = component.directive.template.ngContentSelectors;\n for (var i = 0; i < ngContentSelectors.length; i++) {\n var selector = ngContentSelectors[i];\n if (lang_1.StringWrapper.equals(selector, '*')) {\n wildcardNgContentIndex = i;\n } else {\n matcher.addSelectables(selector_1.CssSelector.parse(ngContentSelectors[i]), i);\n }\n }\n }\n return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\n };\n ElementContext.prototype.findNgContentIndex = function(selector) {\n var ngContentIndices = [];\n this._ngContentIndexMatcher.match(selector, function(selector, ngContentIndex) {\n ngContentIndices.push(ngContentIndex);\n });\n collection_1.ListWrapper.sort(ngContentIndices);\n if (lang_1.isPresent(this._wildcardNgContentIndex)) {\n ngContentIndices.push(this._wildcardNgContentIndex);\n }\n return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\n };\n return ElementContext;\n }());\n function createElementCssSelector(elementName, matchableAttrs) {\n var cssSelector = new selector_1.CssSelector();\n var elNameNoNs = html_tags_1.splitNsName(elementName)[1];\n cssSelector.setElement(elNameNoNs);\n for (var i = 0; i < matchableAttrs.length; i++) {\n var attrName = matchableAttrs[i][0];\n var attrNameNoNs = html_tags_1.splitNsName(attrName)[1];\n var attrValue = matchableAttrs[i][1];\n cssSelector.addAttribute(attrNameNoNs, attrValue);\n if (attrName.toLowerCase() == CLASS_ATTR) {\n var classes = splitClasses(attrValue);\n classes.forEach(function(className) {\n return cssSelector.addClassName(className);\n });\n }\n }\n return cssSelector;\n }\n var EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new selector_1.SelectorMatcher(), null, null);\n var NON_BINDABLE_VISITOR = new NonBindableVisitor();\n var PipeCollector = (function(_super) {\n __extends(PipeCollector, _super);\n function PipeCollector() {\n _super.apply(this, arguments);\n this.pipes = new Set();\n }\n PipeCollector.prototype.visitPipe = function(ast, context) {\n this.pipes.add(ast.name);\n ast.exp.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n return PipeCollector;\n }(ast_1.RecursiveAstVisitor));\n exports.PipeCollector = PipeCollector;\n function removeDuplicates(items) {\n var res = [];\n items.forEach(function(item) {\n var hasMatch = res.filter(function(r) {\n return r.type.name == item.type.name && r.type.moduleUrl == item.type.moduleUrl && r.type.runtime == item.type.runtime;\n }).length > 0;\n if (!hasMatch) {\n res.push(item);\n }\n });\n return res;\n }\n})(require('process'));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar o = require('./output_ast');\nvar abstract_emitter_1 = require('./abstract_emitter');\nvar AbstractJsEmitterVisitor = (function(_super) {\n __extends(AbstractJsEmitterVisitor, _super);\n function AbstractJsEmitterVisitor() {\n _super.call(this, false);\n }\n AbstractJsEmitterVisitor.prototype.visitDeclareClassStmt = function(stmt, ctx) {\n var _this = this;\n ctx.pushClass(stmt);\n this._visitClassConstructor(stmt, ctx);\n if (lang_1.isPresent(stmt.parent)) {\n ctx.print(stmt.name + \".prototype = Object.create(\");\n stmt.parent.visitExpression(this, ctx);\n ctx.println(\".prototype);\");\n }\n stmt.getters.forEach(function(getter) {\n return _this._visitClassGetter(stmt, getter, ctx);\n });\n stmt.methods.forEach(function(method) {\n return _this._visitClassMethod(stmt, method, ctx);\n });\n ctx.popClass();\n return null;\n };\n AbstractJsEmitterVisitor.prototype._visitClassConstructor = function(stmt, ctx) {\n ctx.print(\"function \" + stmt.name + \"(\");\n if (lang_1.isPresent(stmt.constructorMethod)) {\n this._visitParams(stmt.constructorMethod.params, ctx);\n }\n ctx.println(\") {\");\n ctx.incIndent();\n if (lang_1.isPresent(stmt.constructorMethod)) {\n if (stmt.constructorMethod.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\n }\n }\n ctx.decIndent();\n ctx.println(\"}\");\n };\n AbstractJsEmitterVisitor.prototype._visitClassGetter = function(stmt, getter, ctx) {\n ctx.println(\"Object.defineProperty(\" + stmt.name + \".prototype, '\" + getter.name + \"', { get: function() {\");\n ctx.incIndent();\n if (getter.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(getter.body, ctx);\n }\n ctx.decIndent();\n ctx.println(\"}});\");\n };\n AbstractJsEmitterVisitor.prototype._visitClassMethod = function(stmt, method, ctx) {\n ctx.print(stmt.name + \".prototype.\" + method.name + \" = function(\");\n this._visitParams(method.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n if (method.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(method.body, ctx);\n }\n ctx.decIndent();\n ctx.println(\"};\");\n };\n AbstractJsEmitterVisitor.prototype.visitReadVarExpr = function(ast, ctx) {\n if (ast.builtin === o.BuiltinVar.This) {\n ctx.print('self');\n } else if (ast.builtin === o.BuiltinVar.Super) {\n throw new exceptions_1.BaseException(\"'super' needs to be handled at a parent ast node, not at the variable level!\");\n } else {\n _super.prototype.visitReadVarExpr.call(this, ast, ctx);\n }\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitDeclareVarStmt = function(stmt, ctx) {\n ctx.print(\"var \" + stmt.name + \" = \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitCastExpr = function(ast, ctx) {\n ast.value.visitExpression(this, ctx);\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitInvokeFunctionExpr = function(expr, ctx) {\n var fnExpr = expr.fn;\n if (fnExpr instanceof o.ReadVarExpr && fnExpr.builtin === o.BuiltinVar.Super) {\n ctx.currentClass.parent.visitExpression(this, ctx);\n ctx.print(\".call(this\");\n if (expr.args.length > 0) {\n ctx.print(\", \");\n this.visitAllExpressions(expr.args, ctx, ',');\n }\n ctx.print(\")\");\n } else {\n _super.prototype.visitInvokeFunctionExpr.call(this, expr, ctx);\n }\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitFunctionExpr = function(ast, ctx) {\n ctx.print(\"function(\");\n this._visitParams(ast.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(ast.statements, ctx);\n ctx.decIndent();\n ctx.print(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitDeclareFunctionStmt = function(stmt, ctx) {\n ctx.print(\"function \" + stmt.name + \"(\");\n this._visitParams(stmt.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.statements, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitTryCatchStmt = function(stmt, ctx) {\n ctx.println(\"try {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.bodyStmts, ctx);\n ctx.decIndent();\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \") {\");\n ctx.incIndent();\n var catchStmts = [abstract_emitter_1.CATCH_STACK_VAR.set(abstract_emitter_1.CATCH_ERROR_VAR.prop('stack')).toDeclStmt(null, [o.StmtModifier.Final])].concat(stmt.catchStmts);\n this.visitAllStatements(catchStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype._visitParams = function(params, ctx) {\n this.visitAllObjects(function(param) {\n return ctx.print(param.name);\n }, params, ctx, ',');\n };\n AbstractJsEmitterVisitor.prototype.getBuiltinMethodName = function(method) {\n var name;\n switch (method) {\n case o.BuiltinMethod.ConcatArray:\n name = 'concat';\n break;\n case o.BuiltinMethod.SubscribeObservable:\n name = 'subscribe';\n break;\n case o.BuiltinMethod.bind:\n name = 'bind';\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\n }\n return name;\n };\n return AbstractJsEmitterVisitor;\n}(abstract_emitter_1.AbstractEmitterVisitor));\nexports.AbstractJsEmitterVisitor = AbstractJsEmitterVisitor;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar abstract_emitter_1 = require('./abstract_emitter');\nvar abstract_js_emitter_1 = require('./abstract_js_emitter');\nvar util_1 = require('../util');\nfunction jitStatements(sourceUrl, statements, resultVar) {\n var converter = new JitEmitterVisitor();\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([resultVar]);\n converter.visitAllStatements(statements, ctx);\n return lang_1.evalExpression(sourceUrl, resultVar, ctx.toSource(), converter.getArgs());\n}\nexports.jitStatements = jitStatements;\nvar JitEmitterVisitor = (function(_super) {\n __extends(JitEmitterVisitor, _super);\n function JitEmitterVisitor() {\n _super.apply(this, arguments);\n this._evalArgNames = [];\n this._evalArgValues = [];\n }\n JitEmitterVisitor.prototype.getArgs = function() {\n var result = {};\n for (var i = 0; i < this._evalArgNames.length; i++) {\n result[this._evalArgNames[i]] = this._evalArgValues[i];\n }\n return result;\n };\n JitEmitterVisitor.prototype.visitExternalExpr = function(ast, ctx) {\n var value = ast.value.runtime;\n var id = this._evalArgValues.indexOf(value);\n if (id === -1) {\n id = this._evalArgValues.length;\n this._evalArgValues.push(value);\n var name = lang_1.isPresent(ast.value.name) ? util_1.sanitizeIdentifier(ast.value.name) : 'val';\n this._evalArgNames.push(util_1.sanitizeIdentifier(\"jit_\" + name + id));\n }\n ctx.print(this._evalArgNames[id]);\n return null;\n };\n return JitEmitterVisitor;\n}(abstract_js_emitter_1.AbstractJsEmitterVisitor));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar o = require('./output_ast');\nvar abstract_emitter_1 = require('./abstract_emitter');\nvar _debugModuleUrl = 'asset://debug/lib';\nfunction debugOutputAstAsDart(ast) {\n var converter = new _DartEmitterVisitor(_debugModuleUrl);\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([]);\n var asts;\n if (lang_1.isArray(ast)) {\n asts = ast;\n } else {\n asts = [ast];\n }\n asts.forEach(function(ast) {\n if (ast instanceof o.Statement) {\n ast.visitStatement(converter, ctx);\n } else if (ast instanceof o.Expression) {\n ast.visitExpression(converter, ctx);\n } else if (ast instanceof o.Type) {\n ast.visitType(converter, ctx);\n } else {\n throw new exceptions_1.BaseException(\"Don't know how to print debug info for \" + ast);\n }\n });\n return ctx.toSource();\n}\nexports.debugOutputAstAsDart = debugOutputAstAsDart;\nvar DartEmitter = (function() {\n function DartEmitter(_importGenerator) {\n this._importGenerator = _importGenerator;\n }\n DartEmitter.prototype.emitStatements = function(moduleUrl, stmts, exportedVars) {\n var _this = this;\n var srcParts = [];\n var converter = new _DartEmitterVisitor(moduleUrl);\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot(exportedVars);\n converter.visitAllStatements(stmts, ctx);\n converter.importsWithPrefixes.forEach(function(prefix, importedModuleUrl) {\n srcParts.push(\"import '\" + _this._importGenerator.getImportPath(moduleUrl, importedModuleUrl) + \"' as \" + prefix + \";\");\n });\n srcParts.push(ctx.toSource());\n return srcParts.join('\\n');\n };\n return DartEmitter;\n}());\nexports.DartEmitter = DartEmitter;\nvar _DartEmitterVisitor = (function(_super) {\n __extends(_DartEmitterVisitor, _super);\n function _DartEmitterVisitor(_moduleUrl) {\n _super.call(this, true);\n this._moduleUrl = _moduleUrl;\n this.importsWithPrefixes = new Map();\n }\n _DartEmitterVisitor.prototype.visitExternalExpr = function(ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _DartEmitterVisitor.prototype.visitDeclareVarStmt = function(stmt, ctx) {\n if (stmt.hasModifier(o.StmtModifier.Final)) {\n if (isConstType(stmt.type)) {\n ctx.print(\"const \");\n } else {\n ctx.print(\"final \");\n }\n } else if (lang_1.isBlank(stmt.type)) {\n ctx.print(\"var \");\n }\n if (lang_1.isPresent(stmt.type)) {\n stmt.type.visitType(this, ctx);\n ctx.print(\" \");\n }\n ctx.print(stmt.name + \" = \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitCastExpr = function(ast, ctx) {\n ctx.print(\"(\");\n ast.value.visitExpression(this, ctx);\n ctx.print(\" as \");\n ast.type.visitType(this, ctx);\n ctx.print(\")\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitDeclareClassStmt = function(stmt, ctx) {\n var _this = this;\n ctx.pushClass(stmt);\n ctx.print(\"class \" + stmt.name);\n if (lang_1.isPresent(stmt.parent)) {\n ctx.print(\" extends \");\n stmt.parent.visitExpression(this, ctx);\n }\n ctx.println(\" {\");\n ctx.incIndent();\n stmt.fields.forEach(function(field) {\n return _this._visitClassField(field, ctx);\n });\n if (lang_1.isPresent(stmt.constructorMethod)) {\n this._visitClassConstructor(stmt, ctx);\n }\n stmt.getters.forEach(function(getter) {\n return _this._visitClassGetter(getter, ctx);\n });\n stmt.methods.forEach(function(method) {\n return _this._visitClassMethod(method, ctx);\n });\n ctx.decIndent();\n ctx.println(\"}\");\n ctx.popClass();\n return null;\n };\n _DartEmitterVisitor.prototype._visitClassField = function(field, ctx) {\n if (field.hasModifier(o.StmtModifier.Final)) {\n ctx.print(\"final \");\n } else if (lang_1.isBlank(field.type)) {\n ctx.print(\"var \");\n }\n if (lang_1.isPresent(field.type)) {\n field.type.visitType(this, ctx);\n ctx.print(\" \");\n }\n ctx.println(field.name + \";\");\n };\n _DartEmitterVisitor.prototype._visitClassGetter = function(getter, ctx) {\n if (lang_1.isPresent(getter.type)) {\n getter.type.visitType(this, ctx);\n ctx.print(\" \");\n }\n ctx.println(\"get \" + getter.name + \" {\");\n ctx.incIndent();\n this.visitAllStatements(getter.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _DartEmitterVisitor.prototype._visitClassConstructor = function(stmt, ctx) {\n ctx.print(stmt.name + \"(\");\n this._visitParams(stmt.constructorMethod.params, ctx);\n ctx.print(\")\");\n var ctorStmts = stmt.constructorMethod.body;\n var superCtorExpr = ctorStmts.length > 0 ? getSuperConstructorCallExpr(ctorStmts[0]) : null;\n if (lang_1.isPresent(superCtorExpr)) {\n ctx.print(\": \");\n superCtorExpr.visitExpression(this, ctx);\n ctorStmts = ctorStmts.slice(1);\n }\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(ctorStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _DartEmitterVisitor.prototype._visitClassMethod = function(method, ctx) {\n if (lang_1.isPresent(method.type)) {\n method.type.visitType(this, ctx);\n } else {\n ctx.print(\"void\");\n }\n ctx.print(\" \" + method.name + \"(\");\n this._visitParams(method.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(method.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _DartEmitterVisitor.prototype.visitFunctionExpr = function(ast, ctx) {\n ctx.print(\"(\");\n this._visitParams(ast.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(ast.statements, ctx);\n ctx.decIndent();\n ctx.print(\"}\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitDeclareFunctionStmt = function(stmt, ctx) {\n if (lang_1.isPresent(stmt.type)) {\n stmt.type.visitType(this, ctx);\n } else {\n ctx.print(\"void\");\n }\n ctx.print(\" \" + stmt.name + \"(\");\n this._visitParams(stmt.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.statements, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _DartEmitterVisitor.prototype.getBuiltinMethodName = function(method) {\n var name;\n switch (method) {\n case o.BuiltinMethod.ConcatArray:\n name = '.addAll';\n break;\n case o.BuiltinMethod.SubscribeObservable:\n name = 'listen';\n break;\n case o.BuiltinMethod.bind:\n name = null;\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\n }\n return name;\n };\n _DartEmitterVisitor.prototype.visitTryCatchStmt = function(stmt, ctx) {\n ctx.println(\"try {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.bodyStmts, ctx);\n ctx.decIndent();\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \", \" + abstract_emitter_1.CATCH_STACK_VAR.name + \") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.catchStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitBinaryOperatorExpr = function(ast, ctx) {\n switch (ast.operator) {\n case o.BinaryOperator.Identical:\n ctx.print(\"identical(\");\n ast.lhs.visitExpression(this, ctx);\n ctx.print(\", \");\n ast.rhs.visitExpression(this, ctx);\n ctx.print(\")\");\n break;\n case o.BinaryOperator.NotIdentical:\n ctx.print(\"!identical(\");\n ast.lhs.visitExpression(this, ctx);\n ctx.print(\", \");\n ast.rhs.visitExpression(this, ctx);\n ctx.print(\")\");\n break;\n default:\n _super.prototype.visitBinaryOperatorExpr.call(this, ast, ctx);\n }\n return null;\n };\n _DartEmitterVisitor.prototype.visitLiteralArrayExpr = function(ast, ctx) {\n if (isConstType(ast.type)) {\n ctx.print(\"const \");\n }\n return _super.prototype.visitLiteralArrayExpr.call(this, ast, ctx);\n };\n _DartEmitterVisitor.prototype.visitLiteralMapExpr = function(ast, ctx) {\n if (isConstType(ast.type)) {\n ctx.print(\"const \");\n }\n if (lang_1.isPresent(ast.valueType)) {\n ctx.print(\"<String, \");\n ast.valueType.visitType(this, ctx);\n ctx.print(\">\");\n }\n return _super.prototype.visitLiteralMapExpr.call(this, ast, ctx);\n };\n _DartEmitterVisitor.prototype.visitInstantiateExpr = function(ast, ctx) {\n ctx.print(isConstType(ast.type) ? \"const\" : \"new\");\n ctx.print(' ');\n ast.classExpr.visitExpression(this, ctx);\n ctx.print(\"(\");\n this.visitAllExpressions(ast.args, ctx, \",\");\n ctx.print(\")\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitBuiltintType = function(type, ctx) {\n var typeStr;\n switch (type.name) {\n case o.BuiltinTypeName.Bool:\n typeStr = 'bool';\n break;\n case o.BuiltinTypeName.Dynamic:\n typeStr = 'dynamic';\n break;\n case o.BuiltinTypeName.Function:\n typeStr = 'Function';\n break;\n case o.BuiltinTypeName.Number:\n typeStr = 'num';\n break;\n case o.BuiltinTypeName.Int:\n typeStr = 'int';\n break;\n case o.BuiltinTypeName.String:\n typeStr = 'String';\n break;\n default:\n throw new exceptions_1.BaseException(\"Unsupported builtin type \" + type.name);\n }\n ctx.print(typeStr);\n return null;\n };\n _DartEmitterVisitor.prototype.visitExternalType = function(ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _DartEmitterVisitor.prototype.visitArrayType = function(type, ctx) {\n ctx.print(\"List<\");\n if (lang_1.isPresent(type.of)) {\n type.of.visitType(this, ctx);\n } else {\n ctx.print(\"dynamic\");\n }\n ctx.print(\">\");\n return null;\n };\n _DartEmitterVisitor.prototype.visitMapType = function(type, ctx) {\n ctx.print(\"Map<String, \");\n if (lang_1.isPresent(type.valueType)) {\n type.valueType.visitType(this, ctx);\n } else {\n ctx.print(\"dynamic\");\n }\n ctx.print(\">\");\n return null;\n };\n _DartEmitterVisitor.prototype._visitParams = function(params, ctx) {\n var _this = this;\n this.visitAllObjects(function(param) {\n if (lang_1.isPresent(param.type)) {\n param.type.visitType(_this, ctx);\n ctx.print(' ');\n }\n ctx.print(param.name);\n }, params, ctx, ',');\n };\n _DartEmitterVisitor.prototype._visitIdentifier = function(value, typeParams, ctx) {\n var _this = this;\n if (lang_1.isBlank(value.name)) {\n throw new exceptions_1.BaseException(\"Internal error: unknown identifier \" + value);\n }\n if (lang_1.isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\n var prefix = this.importsWithPrefixes.get(value.moduleUrl);\n if (lang_1.isBlank(prefix)) {\n prefix = \"import\" + this.importsWithPrefixes.size;\n this.importsWithPrefixes.set(value.moduleUrl, prefix);\n }\n ctx.print(prefix + \".\");\n }\n ctx.print(value.name);\n if (lang_1.isPresent(typeParams) && typeParams.length > 0) {\n ctx.print(\"<\");\n this.visitAllObjects(function(type) {\n return type.visitType(_this, ctx);\n }, typeParams, ctx, ',');\n ctx.print(\">\");\n }\n };\n return _DartEmitterVisitor;\n}(abstract_emitter_1.AbstractEmitterVisitor));\nfunction getSuperConstructorCallExpr(stmt) {\n if (stmt instanceof o.ExpressionStatement) {\n var expr = stmt.expr;\n if (expr instanceof o.InvokeFunctionExpr) {\n var fn = expr.fn;\n if (fn instanceof o.ReadVarExpr) {\n if (fn.builtin === o.BuiltinVar.Super) {\n return expr;\n }\n }\n }\n }\n return null;\n}\nfunction isConstType(type) {\n return lang_1.isPresent(type) && type.hasModifier(o.TypeModifier.Const);\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar o = require('./output_ast');\nvar _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\nexports.CATCH_ERROR_VAR = o.variable('error');\nexports.CATCH_STACK_VAR = o.variable('stack');\nvar OutputEmitter = (function() {\n function OutputEmitter() {}\n return OutputEmitter;\n}());\nexports.OutputEmitter = OutputEmitter;\nvar _EmittedLine = (function() {\n function _EmittedLine(indent) {\n this.indent = indent;\n this.parts = [];\n }\n return _EmittedLine;\n}());\nvar EmitterVisitorContext = (function() {\n function EmitterVisitorContext(_exportedVars, _indent) {\n this._exportedVars = _exportedVars;\n this._indent = _indent;\n this._classes = [];\n this._lines = [new _EmittedLine(_indent)];\n }\n EmitterVisitorContext.createRoot = function(exportedVars) {\n return new EmitterVisitorContext(exportedVars, 0);\n };\n Object.defineProperty(EmitterVisitorContext.prototype, \"_currentLine\", {\n get: function() {\n return this._lines[this._lines.length - 1];\n },\n enumerable: true,\n configurable: true\n });\n EmitterVisitorContext.prototype.isExportedVar = function(varName) {\n return this._exportedVars.indexOf(varName) !== -1;\n };\n EmitterVisitorContext.prototype.println = function(lastPart) {\n if (lastPart === void 0) {\n lastPart = '';\n }\n this.print(lastPart, true);\n };\n EmitterVisitorContext.prototype.lineIsEmpty = function() {\n return this._currentLine.parts.length === 0;\n };\n EmitterVisitorContext.prototype.print = function(part, newLine) {\n if (newLine === void 0) {\n newLine = false;\n }\n if (part.length > 0) {\n this._currentLine.parts.push(part);\n }\n if (newLine) {\n this._lines.push(new _EmittedLine(this._indent));\n }\n };\n EmitterVisitorContext.prototype.removeEmptyLastLine = function() {\n if (this.lineIsEmpty()) {\n this._lines.pop();\n }\n };\n EmitterVisitorContext.prototype.incIndent = function() {\n this._indent++;\n this._currentLine.indent = this._indent;\n };\n EmitterVisitorContext.prototype.decIndent = function() {\n this._indent--;\n this._currentLine.indent = this._indent;\n };\n EmitterVisitorContext.prototype.pushClass = function(clazz) {\n this._classes.push(clazz);\n };\n EmitterVisitorContext.prototype.popClass = function() {\n return this._classes.pop();\n };\n Object.defineProperty(EmitterVisitorContext.prototype, \"currentClass\", {\n get: function() {\n return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\n },\n enumerable: true,\n configurable: true\n });\n EmitterVisitorContext.prototype.toSource = function() {\n var lines = this._lines;\n if (lines[lines.length - 1].parts.length === 0) {\n lines = lines.slice(0, lines.length - 1);\n }\n return lines.map(function(line) {\n if (line.parts.length > 0) {\n return _createIndent(line.indent) + line.parts.join('');\n } else {\n return '';\n }\n }).join('\\n');\n };\n return EmitterVisitorContext;\n}());\nexports.EmitterVisitorContext = EmitterVisitorContext;\nvar AbstractEmitterVisitor = (function() {\n function AbstractEmitterVisitor(_escapeDollarInStrings) {\n this._escapeDollarInStrings = _escapeDollarInStrings;\n }\n AbstractEmitterVisitor.prototype.visitExpressionStmt = function(stmt, ctx) {\n stmt.expr.visitExpression(this, ctx);\n ctx.println(';');\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReturnStmt = function(stmt, ctx) {\n ctx.print(\"return \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(';');\n return null;\n };\n AbstractEmitterVisitor.prototype.visitIfStmt = function(stmt, ctx) {\n ctx.print(\"if (\");\n stmt.condition.visitExpression(this, ctx);\n ctx.print(\") {\");\n var hasElseCase = lang_1.isPresent(stmt.falseCase) && stmt.falseCase.length > 0;\n if (stmt.trueCase.length <= 1 && !hasElseCase) {\n ctx.print(\" \");\n this.visitAllStatements(stmt.trueCase, ctx);\n ctx.removeEmptyLastLine();\n ctx.print(\" \");\n } else {\n ctx.println();\n ctx.incIndent();\n this.visitAllStatements(stmt.trueCase, ctx);\n ctx.decIndent();\n if (hasElseCase) {\n ctx.println(\"} else {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.falseCase, ctx);\n ctx.decIndent();\n }\n }\n ctx.println(\"}\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitThrowStmt = function(stmt, ctx) {\n ctx.print(\"throw \");\n stmt.error.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitCommentStmt = function(stmt, ctx) {\n var lines = stmt.comment.split('\\n');\n lines.forEach(function(line) {\n ctx.println(\"// \" + line);\n });\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWriteVarExpr = function(expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n ctx.print(expr.name + \" = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWriteKeyExpr = function(expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n expr.receiver.visitExpression(this, ctx);\n ctx.print(\"[\");\n expr.index.visitExpression(this, ctx);\n ctx.print(\"] = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWritePropExpr = function(expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n expr.receiver.visitExpression(this, ctx);\n ctx.print(\".\" + expr.name + \" = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInvokeMethodExpr = function(expr, ctx) {\n expr.receiver.visitExpression(this, ctx);\n var name = expr.name;\n if (lang_1.isPresent(expr.builtin)) {\n name = this.getBuiltinMethodName(expr.builtin);\n if (lang_1.isBlank(name)) {\n return null;\n }\n }\n ctx.print(\".\" + name + \"(\");\n this.visitAllExpressions(expr.args, ctx, \",\");\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInvokeFunctionExpr = function(expr, ctx) {\n expr.fn.visitExpression(this, ctx);\n ctx.print(\"(\");\n this.visitAllExpressions(expr.args, ctx, ',');\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadVarExpr = function(ast, ctx) {\n var varName = ast.name;\n if (lang_1.isPresent(ast.builtin)) {\n switch (ast.builtin) {\n case o.BuiltinVar.Super:\n varName = 'super';\n break;\n case o.BuiltinVar.This:\n varName = 'this';\n break;\n case o.BuiltinVar.CatchError:\n varName = exports.CATCH_ERROR_VAR.name;\n break;\n case o.BuiltinVar.CatchStack:\n varName = exports.CATCH_STACK_VAR.name;\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin variable \" + ast.builtin);\n }\n }\n ctx.print(varName);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInstantiateExpr = function(ast, ctx) {\n ctx.print(\"new \");\n ast.classExpr.visitExpression(this, ctx);\n ctx.print(\"(\");\n this.visitAllExpressions(ast.args, ctx, ',');\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralExpr = function(ast, ctx) {\n var value = ast.value;\n if (lang_1.isString(value)) {\n ctx.print(escapeSingleQuoteString(value, this._escapeDollarInStrings));\n } else if (lang_1.isBlank(value)) {\n ctx.print('null');\n } else {\n ctx.print(\"\" + value);\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitConditionalExpr = function(ast, ctx) {\n ctx.print(\"(\");\n ast.condition.visitExpression(this, ctx);\n ctx.print('? ');\n ast.trueCase.visitExpression(this, ctx);\n ctx.print(': ');\n ast.falseCase.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitNotExpr = function(ast, ctx) {\n ctx.print('!');\n ast.condition.visitExpression(this, ctx);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitBinaryOperatorExpr = function(ast, ctx) {\n var opStr;\n switch (ast.operator) {\n case o.BinaryOperator.Equals:\n opStr = '==';\n break;\n case o.BinaryOperator.Identical:\n opStr = '===';\n break;\n case o.BinaryOperator.NotEquals:\n opStr = '!=';\n break;\n case o.BinaryOperator.NotIdentical:\n opStr = '!==';\n break;\n case o.BinaryOperator.And:\n opStr = '&&';\n break;\n case o.BinaryOperator.Or:\n opStr = '||';\n break;\n case o.BinaryOperator.Plus:\n opStr = '+';\n break;\n case o.BinaryOperator.Minus:\n opStr = '-';\n break;\n case o.BinaryOperator.Divide:\n opStr = '/';\n break;\n case o.BinaryOperator.Multiply:\n opStr = '*';\n break;\n case o.BinaryOperator.Modulo:\n opStr = '%';\n break;\n case o.BinaryOperator.Lower:\n opStr = '<';\n break;\n case o.BinaryOperator.LowerEquals:\n opStr = '<=';\n break;\n case o.BinaryOperator.Bigger:\n opStr = '>';\n break;\n case o.BinaryOperator.BiggerEquals:\n opStr = '>=';\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown operator \" + ast.operator);\n }\n ctx.print(\"(\");\n ast.lhs.visitExpression(this, ctx);\n ctx.print(\" \" + opStr + \" \");\n ast.rhs.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadPropExpr = function(ast, ctx) {\n ast.receiver.visitExpression(this, ctx);\n ctx.print(\".\");\n ctx.print(ast.name);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadKeyExpr = function(ast, ctx) {\n ast.receiver.visitExpression(this, ctx);\n ctx.print(\"[\");\n ast.index.visitExpression(this, ctx);\n ctx.print(\"]\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralArrayExpr = function(ast, ctx) {\n var useNewLine = ast.entries.length > 1;\n ctx.print(\"[\", useNewLine);\n ctx.incIndent();\n this.visitAllExpressions(ast.entries, ctx, ',', useNewLine);\n ctx.decIndent();\n ctx.print(\"]\", useNewLine);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralMapExpr = function(ast, ctx) {\n var _this = this;\n var useNewLine = ast.entries.length > 1;\n ctx.print(\"{\", useNewLine);\n ctx.incIndent();\n this.visitAllObjects(function(entry) {\n ctx.print(escapeSingleQuoteString(entry[0], _this._escapeDollarInStrings) + \": \");\n entry[1].visitExpression(_this, ctx);\n }, ast.entries, ctx, ',', useNewLine);\n ctx.decIndent();\n ctx.print(\"}\", useNewLine);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitAllExpressions = function(expressions, ctx, separator, newLine) {\n var _this = this;\n if (newLine === void 0) {\n newLine = false;\n }\n this.visitAllObjects(function(expr) {\n return expr.visitExpression(_this, ctx);\n }, expressions, ctx, separator, newLine);\n };\n AbstractEmitterVisitor.prototype.visitAllObjects = function(handler, expressions, ctx, separator, newLine) {\n if (newLine === void 0) {\n newLine = false;\n }\n for (var i = 0; i < expressions.length; i++) {\n if (i > 0) {\n ctx.print(separator, newLine);\n }\n handler(expressions[i]);\n }\n if (newLine) {\n ctx.println();\n }\n };\n AbstractEmitterVisitor.prototype.visitAllStatements = function(statements, ctx) {\n var _this = this;\n statements.forEach(function(stmt) {\n return stmt.visitStatement(_this, ctx);\n });\n };\n return AbstractEmitterVisitor;\n}());\nexports.AbstractEmitterVisitor = AbstractEmitterVisitor;\nfunction escapeSingleQuoteString(input, escapeDollar) {\n if (lang_1.isBlank(input)) {\n return null;\n }\n var body = lang_1.StringWrapper.replaceAllMapped(input, _SINGLE_QUOTE_ESCAPE_STRING_RE, function(match) {\n if (match[0] == '$') {\n return escapeDollar ? '\\\\$' : '$';\n } else if (match[0] == '\\n') {\n return '\\\\n';\n } else if (match[0] == '\\r') {\n return '\\\\r';\n } else {\n return \"\\\\\" + match[0];\n }\n });\n return \"'\" + body + \"'\";\n}\nexports.escapeSingleQuoteString = escapeSingleQuoteString;\nfunction _createIndent(count) {\n var res = '';\n for (var i = 0; i < count; i++) {\n res += ' ';\n }\n return res;\n}\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar o = require('./output_ast');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar abstract_emitter_1 = require('./abstract_emitter');\nvar _debugModuleUrl = 'asset://debug/lib';\nfunction debugOutputAstAsTypeScript(ast) {\n var converter = new _TsEmitterVisitor(_debugModuleUrl);\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot([]);\n var asts;\n if (lang_1.isArray(ast)) {\n asts = ast;\n } else {\n asts = [ast];\n }\n asts.forEach(function(ast) {\n if (ast instanceof o.Statement) {\n ast.visitStatement(converter, ctx);\n } else if (ast instanceof o.Expression) {\n ast.visitExpression(converter, ctx);\n } else if (ast instanceof o.Type) {\n ast.visitType(converter, ctx);\n } else {\n throw new exceptions_1.BaseException(\"Don't know how to print debug info for \" + ast);\n }\n });\n return ctx.toSource();\n}\nexports.debugOutputAstAsTypeScript = debugOutputAstAsTypeScript;\nvar TypeScriptEmitter = (function() {\n function TypeScriptEmitter(_importGenerator) {\n this._importGenerator = _importGenerator;\n }\n TypeScriptEmitter.prototype.emitStatements = function(moduleUrl, stmts, exportedVars) {\n var _this = this;\n var converter = new _TsEmitterVisitor(moduleUrl);\n var ctx = abstract_emitter_1.EmitterVisitorContext.createRoot(exportedVars);\n converter.visitAllStatements(stmts, ctx);\n var srcParts = [];\n converter.importsWithPrefixes.forEach(function(prefix, importedModuleUrl) {\n srcParts.push(\"imp\" + (\"ort * as \" + prefix + \" from '\" + _this._importGenerator.getImportPath(moduleUrl, importedModuleUrl) + \"';\"));\n });\n srcParts.push(ctx.toSource());\n return srcParts.join('\\n');\n };\n return TypeScriptEmitter;\n}());\nexports.TypeScriptEmitter = TypeScriptEmitter;\nvar _TsEmitterVisitor = (function(_super) {\n __extends(_TsEmitterVisitor, _super);\n function _TsEmitterVisitor(_moduleUrl) {\n _super.call(this, false);\n this._moduleUrl = _moduleUrl;\n this.importsWithPrefixes = new Map();\n }\n _TsEmitterVisitor.prototype.visitExternalExpr = function(ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareVarStmt = function(stmt, ctx) {\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n if (stmt.hasModifier(o.StmtModifier.Final)) {\n ctx.print(\"const\");\n } else {\n ctx.print(\"var\");\n }\n ctx.print(\" \" + stmt.name);\n if (lang_1.isPresent(stmt.type)) {\n ctx.print(\":\");\n stmt.type.visitType(this, ctx);\n }\n ctx.print(\" = \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitCastExpr = function(ast, ctx) {\n ctx.print(\"(<\");\n ast.type.visitType(this, ctx);\n ctx.print(\">\");\n ast.value.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareClassStmt = function(stmt, ctx) {\n var _this = this;\n ctx.pushClass(stmt);\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n ctx.print(\"class \" + stmt.name);\n if (lang_1.isPresent(stmt.parent)) {\n ctx.print(\" extends \");\n stmt.parent.visitExpression(this, ctx);\n }\n ctx.println(\" {\");\n ctx.incIndent();\n stmt.fields.forEach(function(field) {\n return _this._visitClassField(field, ctx);\n });\n if (lang_1.isPresent(stmt.constructorMethod)) {\n this._visitClassConstructor(stmt, ctx);\n }\n stmt.getters.forEach(function(getter) {\n return _this._visitClassGetter(getter, ctx);\n });\n stmt.methods.forEach(function(method) {\n return _this._visitClassMethod(method, ctx);\n });\n ctx.decIndent();\n ctx.println(\"}\");\n ctx.popClass();\n return null;\n };\n _TsEmitterVisitor.prototype._visitClassField = function(field, ctx) {\n if (field.hasModifier(o.StmtModifier.Private)) {\n ctx.print(\"private \");\n }\n ctx.print(field.name);\n if (lang_1.isPresent(field.type)) {\n ctx.print(\":\");\n field.type.visitType(this, ctx);\n } else {\n ctx.print(\": any\");\n }\n ctx.println(\";\");\n };\n _TsEmitterVisitor.prototype._visitClassGetter = function(getter, ctx) {\n if (getter.hasModifier(o.StmtModifier.Private)) {\n ctx.print(\"private \");\n }\n ctx.print(\"get \" + getter.name + \"()\");\n if (lang_1.isPresent(getter.type)) {\n ctx.print(\":\");\n getter.type.visitType(this, ctx);\n }\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(getter.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype._visitClassConstructor = function(stmt, ctx) {\n ctx.print(\"constructor(\");\n this._visitParams(stmt.constructorMethod.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype._visitClassMethod = function(method, ctx) {\n if (method.hasModifier(o.StmtModifier.Private)) {\n ctx.print(\"private \");\n }\n ctx.print(method.name + \"(\");\n this._visitParams(method.params, ctx);\n ctx.print(\"):\");\n if (lang_1.isPresent(method.type)) {\n method.type.visitType(this, ctx);\n } else {\n ctx.print(\"void\");\n }\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(method.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype.visitFunctionExpr = function(ast, ctx) {\n ctx.print(\"(\");\n this._visitParams(ast.params, ctx);\n ctx.print(\"):\");\n if (lang_1.isPresent(ast.type)) {\n ast.type.visitType(this, ctx);\n } else {\n ctx.print(\"void\");\n }\n ctx.println(\" => {\");\n ctx.incIndent();\n this.visitAllStatements(ast.statements, ctx);\n ctx.decIndent();\n ctx.print(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareFunctionStmt = function(stmt, ctx) {\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n ctx.print(\"function \" + stmt.name + \"(\");\n this._visitParams(stmt.params, ctx);\n ctx.print(\"):\");\n if (lang_1.isPresent(stmt.type)) {\n stmt.type.visitType(this, ctx);\n } else {\n ctx.print(\"void\");\n }\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.statements, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitTryCatchStmt = function(stmt, ctx) {\n ctx.println(\"try {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.bodyStmts, ctx);\n ctx.decIndent();\n ctx.println(\"} catch (\" + abstract_emitter_1.CATCH_ERROR_VAR.name + \") {\");\n ctx.incIndent();\n var catchStmts = [abstract_emitter_1.CATCH_STACK_VAR.set(abstract_emitter_1.CATCH_ERROR_VAR.prop('stack')).toDeclStmt(null, [o.StmtModifier.Final])].concat(stmt.catchStmts);\n this.visitAllStatements(catchStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitBuiltintType = function(type, ctx) {\n var typeStr;\n switch (type.name) {\n case o.BuiltinTypeName.Bool:\n typeStr = 'boolean';\n break;\n case o.BuiltinTypeName.Dynamic:\n typeStr = 'any';\n break;\n case o.BuiltinTypeName.Function:\n typeStr = 'Function';\n break;\n case o.BuiltinTypeName.Number:\n typeStr = 'number';\n break;\n case o.BuiltinTypeName.Int:\n typeStr = 'number';\n break;\n case o.BuiltinTypeName.String:\n typeStr = 'string';\n break;\n default:\n throw new exceptions_1.BaseException(\"Unsupported builtin type \" + type.name);\n }\n ctx.print(typeStr);\n return null;\n };\n _TsEmitterVisitor.prototype.visitExternalType = function(ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _TsEmitterVisitor.prototype.visitArrayType = function(type, ctx) {\n if (lang_1.isPresent(type.of)) {\n type.of.visitType(this, ctx);\n } else {\n ctx.print(\"any\");\n }\n ctx.print(\"[]\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitMapType = function(type, ctx) {\n ctx.print(\"{[key: string]:\");\n if (lang_1.isPresent(type.valueType)) {\n type.valueType.visitType(this, ctx);\n } else {\n ctx.print(\"any\");\n }\n ctx.print(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.getBuiltinMethodName = function(method) {\n var name;\n switch (method) {\n case o.BuiltinMethod.ConcatArray:\n name = 'concat';\n break;\n case o.BuiltinMethod.SubscribeObservable:\n name = 'subscribe';\n break;\n case o.BuiltinMethod.bind:\n name = 'bind';\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin method: \" + method);\n }\n return name;\n };\n _TsEmitterVisitor.prototype._visitParams = function(params, ctx) {\n var _this = this;\n this.visitAllObjects(function(param) {\n ctx.print(param.name);\n if (lang_1.isPresent(param.type)) {\n ctx.print(\":\");\n param.type.visitType(_this, ctx);\n }\n }, params, ctx, ',');\n };\n _TsEmitterVisitor.prototype._visitIdentifier = function(value, typeParams, ctx) {\n var _this = this;\n if (lang_1.isBlank(value.name)) {\n throw new exceptions_1.BaseException(\"Internal error: unknown identifier \" + value);\n }\n if (lang_1.isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\n var prefix = this.importsWithPrefixes.get(value.moduleUrl);\n if (lang_1.isBlank(prefix)) {\n prefix = \"import\" + this.importsWithPrefixes.size;\n this.importsWithPrefixes.set(value.moduleUrl, prefix);\n }\n ctx.print(prefix + \".\");\n }\n ctx.print(value.name);\n if (lang_1.isPresent(typeParams) && typeParams.length > 0) {\n ctx.print(\"<\");\n this.visitAllObjects(function(type) {\n return type.visitType(_this, ctx);\n }, typeParams, ctx, ',');\n ctx.print(\">\");\n }\n };\n return _TsEmitterVisitor;\n}(abstract_emitter_1.AbstractEmitterVisitor));\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar async_1 = require('../facade/async');\nvar exceptions_1 = require('../facade/exceptions');\nvar collection_1 = require('../facade/collection');\nvar o = require('./output_ast');\nvar dart_emitter_1 = require('./dart_emitter');\nvar ts_emitter_1 = require('./ts_emitter');\nfunction interpretStatements(statements, resultVar, instanceFactory) {\n var stmtsWithReturn = statements.concat([new o.ReturnStatement(o.variable(resultVar))]);\n var ctx = new _ExecutionContext(null, null, null, null, new Map(), new Map(), new Map(), new Map(), instanceFactory);\n var visitor = new StatementInterpreter();\n var result = visitor.visitAllStatements(stmtsWithReturn, ctx);\n return lang_1.isPresent(result) ? result.value : null;\n}\nexports.interpretStatements = interpretStatements;\nvar DynamicInstance = (function() {\n function DynamicInstance() {}\n Object.defineProperty(DynamicInstance.prototype, \"props\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DynamicInstance.prototype, \"getters\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DynamicInstance.prototype, \"methods\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DynamicInstance.prototype, \"clazz\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return DynamicInstance;\n}());\nexports.DynamicInstance = DynamicInstance;\nfunction isDynamicInstance(instance) {\n if (lang_1.IS_DART) {\n return instance instanceof DynamicInstance;\n } else {\n return lang_1.isPresent(instance) && lang_1.isPresent(instance.props) && lang_1.isPresent(instance.getters) && lang_1.isPresent(instance.methods);\n }\n}\nfunction _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\n var childCtx = ctx.createChildWihtLocalVars();\n for (var i = 0; i < varNames.length; i++) {\n childCtx.vars.set(varNames[i], varValues[i]);\n }\n var result = visitor.visitAllStatements(statements, childCtx);\n return lang_1.isPresent(result) ? result.value : null;\n}\nvar _ExecutionContext = (function() {\n function _ExecutionContext(parent, superClass, superInstance, className, vars, props, getters, methods, instanceFactory) {\n this.parent = parent;\n this.superClass = superClass;\n this.superInstance = superInstance;\n this.className = className;\n this.vars = vars;\n this.props = props;\n this.getters = getters;\n this.methods = methods;\n this.instanceFactory = instanceFactory;\n }\n _ExecutionContext.prototype.createChildWihtLocalVars = function() {\n return new _ExecutionContext(this, this.superClass, this.superInstance, this.className, new Map(), this.props, this.getters, this.methods, this.instanceFactory);\n };\n return _ExecutionContext;\n}());\nvar ReturnValue = (function() {\n function ReturnValue(value) {\n this.value = value;\n }\n return ReturnValue;\n}());\nvar _DynamicClass = (function() {\n function _DynamicClass(_classStmt, _ctx, _visitor) {\n this._classStmt = _classStmt;\n this._ctx = _ctx;\n this._visitor = _visitor;\n }\n _DynamicClass.prototype.instantiate = function(args) {\n var _this = this;\n var props = new Map();\n var getters = new Map();\n var methods = new Map();\n var superClass = this._classStmt.parent.visitExpression(this._visitor, this._ctx);\n var instanceCtx = new _ExecutionContext(this._ctx, superClass, null, this._classStmt.name, this._ctx.vars, props, getters, methods, this._ctx.instanceFactory);\n this._classStmt.fields.forEach(function(field) {\n props.set(field.name, null);\n });\n this._classStmt.getters.forEach(function(getter) {\n getters.set(getter.name, function() {\n return _executeFunctionStatements([], [], getter.body, instanceCtx, _this._visitor);\n });\n });\n this._classStmt.methods.forEach(function(method) {\n var paramNames = method.params.map(function(param) {\n return param.name;\n });\n methods.set(method.name, _declareFn(paramNames, method.body, instanceCtx, _this._visitor));\n });\n var ctorParamNames = this._classStmt.constructorMethod.params.map(function(param) {\n return param.name;\n });\n _executeFunctionStatements(ctorParamNames, args, this._classStmt.constructorMethod.body, instanceCtx, this._visitor);\n return instanceCtx.superInstance;\n };\n _DynamicClass.prototype.debugAst = function() {\n return this._visitor.debugAst(this._classStmt);\n };\n return _DynamicClass;\n}());\nvar StatementInterpreter = (function() {\n function StatementInterpreter() {}\n StatementInterpreter.prototype.debugAst = function(ast) {\n return lang_1.IS_DART ? dart_emitter_1.debugOutputAstAsDart(ast) : ts_emitter_1.debugOutputAstAsTypeScript(ast);\n };\n StatementInterpreter.prototype.visitDeclareVarStmt = function(stmt, ctx) {\n ctx.vars.set(stmt.name, stmt.value.visitExpression(this, ctx));\n return null;\n };\n StatementInterpreter.prototype.visitWriteVarExpr = function(expr, ctx) {\n var value = expr.value.visitExpression(this, ctx);\n var currCtx = ctx;\n while (currCtx != null) {\n if (currCtx.vars.has(expr.name)) {\n currCtx.vars.set(expr.name, value);\n return value;\n }\n currCtx = currCtx.parent;\n }\n throw new exceptions_1.BaseException(\"Not declared variable \" + expr.name);\n };\n StatementInterpreter.prototype.visitReadVarExpr = function(ast, ctx) {\n var varName = ast.name;\n if (lang_1.isPresent(ast.builtin)) {\n switch (ast.builtin) {\n case o.BuiltinVar.Super:\n case o.BuiltinVar.This:\n return ctx.superInstance;\n case o.BuiltinVar.CatchError:\n varName = CATCH_ERROR_VAR;\n break;\n case o.BuiltinVar.CatchStack:\n varName = CATCH_STACK_VAR;\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin variable \" + ast.builtin);\n }\n }\n var currCtx = ctx;\n while (currCtx != null) {\n if (currCtx.vars.has(varName)) {\n return currCtx.vars.get(varName);\n }\n currCtx = currCtx.parent;\n }\n throw new exceptions_1.BaseException(\"Not declared variable \" + varName);\n };\n StatementInterpreter.prototype.visitWriteKeyExpr = function(expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var index = expr.index.visitExpression(this, ctx);\n var value = expr.value.visitExpression(this, ctx);\n receiver[index] = value;\n return value;\n };\n StatementInterpreter.prototype.visitWritePropExpr = function(expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var value = expr.value.visitExpression(this, ctx);\n if (isDynamicInstance(receiver)) {\n var di = receiver;\n if (di.props.has(expr.name)) {\n di.props.set(expr.name, value);\n } else {\n core_1.reflector.setter(expr.name)(receiver, value);\n }\n } else {\n core_1.reflector.setter(expr.name)(receiver, value);\n }\n return value;\n };\n StatementInterpreter.prototype.visitInvokeMethodExpr = function(expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var args = this.visitAllExpressions(expr.args, ctx);\n var result;\n if (lang_1.isPresent(expr.builtin)) {\n switch (expr.builtin) {\n case o.BuiltinMethod.ConcatArray:\n result = collection_1.ListWrapper.concat(receiver, args[0]);\n break;\n case o.BuiltinMethod.SubscribeObservable:\n result = async_1.ObservableWrapper.subscribe(receiver, args[0]);\n break;\n case o.BuiltinMethod.bind:\n if (lang_1.IS_DART) {\n result = receiver;\n } else {\n result = receiver.bind(args[0]);\n }\n break;\n default:\n throw new exceptions_1.BaseException(\"Unknown builtin method \" + expr.builtin);\n }\n } else if (isDynamicInstance(receiver)) {\n var di = receiver;\n if (di.methods.has(expr.name)) {\n result = lang_1.FunctionWrapper.apply(di.methods.get(expr.name), args);\n } else {\n result = core_1.reflector.method(expr.name)(receiver, args);\n }\n } else {\n result = core_1.reflector.method(expr.name)(receiver, args);\n }\n return result;\n };\n StatementInterpreter.prototype.visitInvokeFunctionExpr = function(stmt, ctx) {\n var args = this.visitAllExpressions(stmt.args, ctx);\n var fnExpr = stmt.fn;\n if (fnExpr instanceof o.ReadVarExpr && fnExpr.builtin === o.BuiltinVar.Super) {\n ctx.superInstance = ctx.instanceFactory.createInstance(ctx.superClass, ctx.className, args, ctx.props, ctx.getters, ctx.methods);\n ctx.parent.superInstance = ctx.superInstance;\n return null;\n } else {\n var fn = stmt.fn.visitExpression(this, ctx);\n return lang_1.FunctionWrapper.apply(fn, args);\n }\n };\n StatementInterpreter.prototype.visitReturnStmt = function(stmt, ctx) {\n return new ReturnValue(stmt.value.visitExpression(this, ctx));\n };\n StatementInterpreter.prototype.visitDeclareClassStmt = function(stmt, ctx) {\n var clazz = new _DynamicClass(stmt, ctx, this);\n ctx.vars.set(stmt.name, clazz);\n return null;\n };\n StatementInterpreter.prototype.visitExpressionStmt = function(stmt, ctx) {\n return stmt.expr.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitIfStmt = function(stmt, ctx) {\n var condition = stmt.condition.visitExpression(this, ctx);\n if (condition) {\n return this.visitAllStatements(stmt.trueCase, ctx);\n } else if (lang_1.isPresent(stmt.falseCase)) {\n return this.visitAllStatements(stmt.falseCase, ctx);\n }\n return null;\n };\n StatementInterpreter.prototype.visitTryCatchStmt = function(stmt, ctx) {\n try {\n return this.visitAllStatements(stmt.bodyStmts, ctx);\n } catch (e) {\n var childCtx = ctx.createChildWihtLocalVars();\n childCtx.vars.set(CATCH_ERROR_VAR, e);\n childCtx.vars.set(CATCH_STACK_VAR, e.stack);\n return this.visitAllStatements(stmt.catchStmts, childCtx);\n }\n };\n StatementInterpreter.prototype.visitThrowStmt = function(stmt, ctx) {\n throw stmt.error.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitCommentStmt = function(stmt, context) {\n return null;\n };\n StatementInterpreter.prototype.visitInstantiateExpr = function(ast, ctx) {\n var args = this.visitAllExpressions(ast.args, ctx);\n var clazz = ast.classExpr.visitExpression(this, ctx);\n if (clazz instanceof _DynamicClass) {\n return clazz.instantiate(args);\n } else {\n return lang_1.FunctionWrapper.apply(core_1.reflector.factory(clazz), args);\n }\n };\n StatementInterpreter.prototype.visitLiteralExpr = function(ast, ctx) {\n return ast.value;\n };\n StatementInterpreter.prototype.visitExternalExpr = function(ast, ctx) {\n return ast.value.runtime;\n };\n StatementInterpreter.prototype.visitConditionalExpr = function(ast, ctx) {\n if (ast.condition.visitExpression(this, ctx)) {\n return ast.trueCase.visitExpression(this, ctx);\n } else if (lang_1.isPresent(ast.falseCase)) {\n return ast.falseCase.visitExpression(this, ctx);\n }\n return null;\n };\n StatementInterpreter.prototype.visitNotExpr = function(ast, ctx) {\n return !ast.condition.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitCastExpr = function(ast, ctx) {\n return ast.value.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitFunctionExpr = function(ast, ctx) {\n var paramNames = ast.params.map(function(param) {\n return param.name;\n });\n return _declareFn(paramNames, ast.statements, ctx, this);\n };\n StatementInterpreter.prototype.visitDeclareFunctionStmt = function(stmt, ctx) {\n var paramNames = stmt.params.map(function(param) {\n return param.name;\n });\n ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\n return null;\n };\n StatementInterpreter.prototype.visitBinaryOperatorExpr = function(ast, ctx) {\n var _this = this;\n var lhs = function() {\n return ast.lhs.visitExpression(_this, ctx);\n };\n var rhs = function() {\n return ast.rhs.visitExpression(_this, ctx);\n };\n switch (ast.operator) {\n case o.BinaryOperator.Equals:\n return lhs() == rhs();\n case o.BinaryOperator.Identical:\n return lhs() === rhs();\n case o.BinaryOperator.NotEquals:\n return lhs() != rhs();\n case o.BinaryOperator.NotIdentical:\n return lhs() !== rhs();\n case o.BinaryOperator.And:\n return lhs() && rhs();\n case o.BinaryOperator.Or:\n return lhs() || rhs();\n case o.BinaryOperator.Plus:\n return lhs() + rhs();\n case o.BinaryOperator.Minus:\n return lhs() - rhs();\n case o.BinaryOperator.Divide:\n return lhs() / rhs();\n case o.BinaryOperator.Multiply:\n return lhs() * rhs();\n case o.BinaryOperator.Modulo:\n return lhs() % rhs();\n case o.BinaryOperator.Lower:\n return lhs() < rhs();\n case o.BinaryOperator.LowerEquals:\n return lhs() <= rhs();\n case o.BinaryOperator.Bigger:\n return lhs() > rhs();\n case o.BinaryOperator.BiggerEquals:\n return lhs() >= rhs();\n default:\n throw new exceptions_1.BaseException(\"Unknown operator \" + ast.operator);\n }\n };\n StatementInterpreter.prototype.visitReadPropExpr = function(ast, ctx) {\n var result;\n var receiver = ast.receiver.visitExpression(this, ctx);\n if (isDynamicInstance(receiver)) {\n var di = receiver;\n if (di.props.has(ast.name)) {\n result = di.props.get(ast.name);\n } else if (di.getters.has(ast.name)) {\n result = di.getters.get(ast.name)();\n } else if (di.methods.has(ast.name)) {\n result = di.methods.get(ast.name);\n } else {\n result = core_1.reflector.getter(ast.name)(receiver);\n }\n } else {\n result = core_1.reflector.getter(ast.name)(receiver);\n }\n return result;\n };\n StatementInterpreter.prototype.visitReadKeyExpr = function(ast, ctx) {\n var receiver = ast.receiver.visitExpression(this, ctx);\n var prop = ast.index.visitExpression(this, ctx);\n return receiver[prop];\n };\n StatementInterpreter.prototype.visitLiteralArrayExpr = function(ast, ctx) {\n return this.visitAllExpressions(ast.entries, ctx);\n };\n StatementInterpreter.prototype.visitLiteralMapExpr = function(ast, ctx) {\n var _this = this;\n var result = {};\n ast.entries.forEach(function(entry) {\n return result[entry[0]] = entry[1].visitExpression(_this, ctx);\n });\n return result;\n };\n StatementInterpreter.prototype.visitAllExpressions = function(expressions, ctx) {\n var _this = this;\n return expressions.map(function(expr) {\n return expr.visitExpression(_this, ctx);\n });\n };\n StatementInterpreter.prototype.visitAllStatements = function(statements, ctx) {\n for (var i = 0; i < statements.length; i++) {\n var stmt = statements[i];\n var val = stmt.visitStatement(this, ctx);\n if (val instanceof ReturnValue) {\n return val;\n }\n }\n return null;\n };\n return StatementInterpreter;\n}());\nfunction _declareFn(varNames, statements, ctx, visitor) {\n switch (varNames.length) {\n case 0:\n return function() {\n return _executeFunctionStatements(varNames, [], statements, ctx, visitor);\n };\n case 1:\n return function(d0) {\n return _executeFunctionStatements(varNames, [d0], statements, ctx, visitor);\n };\n case 2:\n return function(d0, d1) {\n return _executeFunctionStatements(varNames, [d0, d1], statements, ctx, visitor);\n };\n case 3:\n return function(d0, d1, d2) {\n return _executeFunctionStatements(varNames, [d0, d1, d2], statements, ctx, visitor);\n };\n case 4:\n return function(d0, d1, d2, d3) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3], statements, ctx, visitor);\n };\n case 5:\n return function(d0, d1, d2, d3, d4) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4], statements, ctx, visitor);\n };\n case 6:\n return function(d0, d1, d2, d3, d4, d5) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5], statements, ctx, visitor);\n };\n case 7:\n return function(d0, d1, d2, d3, d4, d5, d6) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6], statements, ctx, visitor);\n };\n case 8:\n return function(d0, d1, d2, d3, d4, d5, d6, d7) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7], statements, ctx, visitor);\n };\n case 9:\n return function(d0, d1, d2, d3, d4, d5, d6, d7, d8) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7, d8], statements, ctx, visitor);\n };\n case 10:\n return function(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9) {\n return _executeFunctionStatements(varNames, [d0, d1, d2, d3, d4, d5, d6, d7, d8, d9], statements, ctx, visitor);\n };\n default:\n throw new exceptions_1.BaseException('Declaring functions with more than 10 arguments is not supported right now');\n }\n}\nvar CATCH_ERROR_VAR = 'error';\nvar CATCH_STACK_VAR = 'stack';\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_private_1 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar InterpretiveAppViewInstanceFactory = (function() {\n function InterpretiveAppViewInstanceFactory() {}\n InterpretiveAppViewInstanceFactory.prototype.createInstance = function(superClass, clazz, args, props, getters, methods) {\n if (superClass === core_private_1.AppView) {\n args = args.concat([null]);\n return new _InterpretiveAppView(args, props, getters, methods);\n } else if (superClass === core_private_1.DebugAppView) {\n return new _InterpretiveAppView(args, props, getters, methods);\n }\n throw new exceptions_1.BaseException(\"Can't instantiate class \" + superClass + \" in interpretative mode\");\n };\n return InterpretiveAppViewInstanceFactory;\n}());\nexports.InterpretiveAppViewInstanceFactory = InterpretiveAppViewInstanceFactory;\nvar _InterpretiveAppView = (function(_super) {\n __extends(_InterpretiveAppView, _super);\n function _InterpretiveAppView(args, props, getters, methods) {\n _super.call(this, args[0], args[1], args[2], args[3], args[4], args[5], args[6], args[7]);\n this.props = props;\n this.getters = getters;\n this.methods = methods;\n }\n _InterpretiveAppView.prototype.createInternal = function(rootSelector) {\n var m = this.methods.get('createInternal');\n if (lang_1.isPresent(m)) {\n return m(rootSelector);\n } else {\n return _super.prototype.createInternal.call(this, rootSelector);\n }\n };\n _InterpretiveAppView.prototype.injectorGetInternal = function(token, nodeIndex, notFoundResult) {\n var m = this.methods.get('injectorGetInternal');\n if (lang_1.isPresent(m)) {\n return m(token, nodeIndex, notFoundResult);\n } else {\n return _super.prototype.injectorGet.call(this, token, nodeIndex, notFoundResult);\n }\n };\n _InterpretiveAppView.prototype.destroyInternal = function() {\n var m = this.methods.get('destroyInternal');\n if (lang_1.isPresent(m)) {\n return m();\n } else {\n return _super.prototype.destroyInternal.call(this);\n }\n };\n _InterpretiveAppView.prototype.dirtyParentQueriesInternal = function() {\n var m = this.methods.get('dirtyParentQueriesInternal');\n if (lang_1.isPresent(m)) {\n return m();\n } else {\n return _super.prototype.dirtyParentQueriesInternal.call(this);\n }\n };\n _InterpretiveAppView.prototype.detectChangesInternal = function(throwOnChange) {\n var m = this.methods.get('detectChangesInternal');\n if (lang_1.isPresent(m)) {\n return m(throwOnChange);\n } else {\n return _super.prototype.detectChangesInternal.call(this, throwOnChange);\n }\n };\n return _InterpretiveAppView;\n}(core_private_1.DebugAppView));\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar collection_1 = require('./facade/collection');\nvar async_1 = require('./facade/async');\nvar compile_metadata_1 = require('./compile_metadata');\nvar style_compiler_1 = require('./style_compiler');\nvar view_compiler_1 = require('./view_compiler/view_compiler');\nvar template_parser_1 = require('./template_parser');\nvar directive_normalizer_1 = require('./directive_normalizer');\nvar metadata_resolver_1 = require('./metadata_resolver');\nvar config_1 = require('./config');\nvar ir = require('./output/output_ast');\nvar output_jit_1 = require('./output/output_jit');\nvar output_interpreter_1 = require('./output/output_interpreter');\nvar interpretive_view_1 = require('./output/interpretive_view');\nvar xhr_1 = require('./xhr');\nvar RuntimeCompiler = (function() {\n function RuntimeCompiler(_metadataResolver, _templateNormalizer, _templateParser, _styleCompiler, _viewCompiler, _xhr, _genConfig) {\n this._metadataResolver = _metadataResolver;\n this._templateNormalizer = _templateNormalizer;\n this._templateParser = _templateParser;\n this._styleCompiler = _styleCompiler;\n this._viewCompiler = _viewCompiler;\n this._xhr = _xhr;\n this._genConfig = _genConfig;\n this._styleCache = new Map();\n this._hostCacheKeys = new Map();\n this._compiledTemplateCache = new Map();\n this._compiledTemplateDone = new Map();\n }\n RuntimeCompiler.prototype.resolveComponent = function(componentType) {\n var compMeta = this._metadataResolver.getDirectiveMetadata(componentType);\n var hostCacheKey = this._hostCacheKeys.get(componentType);\n if (lang_1.isBlank(hostCacheKey)) {\n hostCacheKey = new Object();\n this._hostCacheKeys.set(componentType, hostCacheKey);\n assertComponent(compMeta);\n var hostMeta = compile_metadata_1.createHostComponentMeta(compMeta.type, compMeta.selector);\n this._loadAndCompileComponent(hostCacheKey, hostMeta, [compMeta], [], []);\n }\n return this._compiledTemplateDone.get(hostCacheKey).then(function(compiledTemplate) {\n return new core_1.ComponentFactory(compMeta.selector, compiledTemplate.viewFactory, componentType);\n });\n };\n RuntimeCompiler.prototype.clearCache = function() {\n this._styleCache.clear();\n this._compiledTemplateCache.clear();\n this._compiledTemplateDone.clear();\n this._hostCacheKeys.clear();\n };\n RuntimeCompiler.prototype._loadAndCompileComponent = function(cacheKey, compMeta, viewDirectives, pipes, compilingComponentsPath) {\n var _this = this;\n var compiledTemplate = this._compiledTemplateCache.get(cacheKey);\n var done = this._compiledTemplateDone.get(cacheKey);\n if (lang_1.isBlank(compiledTemplate)) {\n compiledTemplate = new CompiledTemplate();\n this._compiledTemplateCache.set(cacheKey, compiledTemplate);\n done = async_1.PromiseWrapper.all([this._compileComponentStyles(compMeta)].concat(viewDirectives.map(function(dirMeta) {\n return _this._templateNormalizer.normalizeDirective(dirMeta);\n }))).then(function(stylesAndNormalizedViewDirMetas) {\n var normalizedViewDirMetas = stylesAndNormalizedViewDirMetas.slice(1);\n var styles = stylesAndNormalizedViewDirMetas[0];\n var parsedTemplate = _this._templateParser.parse(compMeta, compMeta.template.template, normalizedViewDirMetas, pipes, compMeta.type.name);\n var childPromises = [];\n compiledTemplate.init(_this._compileComponent(compMeta, parsedTemplate, styles, pipes, compilingComponentsPath, childPromises));\n return async_1.PromiseWrapper.all(childPromises).then(function(_) {\n return compiledTemplate;\n });\n });\n this._compiledTemplateDone.set(cacheKey, done);\n }\n return compiledTemplate;\n };\n RuntimeCompiler.prototype._compileComponent = function(compMeta, parsedTemplate, styles, pipes, compilingComponentsPath, childPromises) {\n var _this = this;\n var compileResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, new ir.ExternalExpr(new compile_metadata_1.CompileIdentifierMetadata({runtime: styles})), pipes);\n compileResult.dependencies.forEach(function(dep) {\n var childCompilingComponentsPath = collection_1.ListWrapper.clone(compilingComponentsPath);\n var childCacheKey = dep.comp.type.runtime;\n var childViewDirectives = _this._metadataResolver.getViewDirectivesMetadata(dep.comp.type.runtime);\n var childViewPipes = _this._metadataResolver.getViewPipesMetadata(dep.comp.type.runtime);\n var childIsRecursive = collection_1.ListWrapper.contains(childCompilingComponentsPath, childCacheKey);\n childCompilingComponentsPath.push(childCacheKey);\n var childComp = _this._loadAndCompileComponent(dep.comp.type.runtime, dep.comp, childViewDirectives, childViewPipes, childCompilingComponentsPath);\n dep.factoryPlaceholder.runtime = childComp.proxyViewFactory;\n dep.factoryPlaceholder.name = \"viewFactory_\" + dep.comp.type.name;\n if (!childIsRecursive) {\n childPromises.push(_this._compiledTemplateDone.get(childCacheKey));\n }\n });\n var factory;\n if (lang_1.IS_DART || !this._genConfig.useJit) {\n factory = output_interpreter_1.interpretStatements(compileResult.statements, compileResult.viewFactoryVar, new interpretive_view_1.InterpretiveAppViewInstanceFactory());\n } else {\n factory = output_jit_1.jitStatements(compMeta.type.name + \".template.js\", compileResult.statements, compileResult.viewFactoryVar);\n }\n return factory;\n };\n RuntimeCompiler.prototype._compileComponentStyles = function(compMeta) {\n var compileResult = this._styleCompiler.compileComponent(compMeta);\n return this._resolveStylesCompileResult(compMeta.type.name, compileResult);\n };\n RuntimeCompiler.prototype._resolveStylesCompileResult = function(sourceUrl, result) {\n var _this = this;\n var promises = result.dependencies.map(function(dep) {\n return _this._loadStylesheetDep(dep);\n });\n return async_1.PromiseWrapper.all(promises).then(function(cssTexts) {\n var nestedCompileResultPromises = [];\n for (var i = 0; i < result.dependencies.length; i++) {\n var dep = result.dependencies[i];\n var cssText = cssTexts[i];\n var nestedCompileResult = _this._styleCompiler.compileStylesheet(dep.moduleUrl, cssText, dep.isShimmed);\n nestedCompileResultPromises.push(_this._resolveStylesCompileResult(dep.moduleUrl, nestedCompileResult));\n }\n return async_1.PromiseWrapper.all(nestedCompileResultPromises);\n }).then(function(nestedStylesArr) {\n for (var i = 0; i < result.dependencies.length; i++) {\n var dep = result.dependencies[i];\n dep.valuePlaceholder.runtime = nestedStylesArr[i];\n dep.valuePlaceholder.name = \"importedStyles\" + i;\n }\n if (lang_1.IS_DART || !_this._genConfig.useJit) {\n return output_interpreter_1.interpretStatements(result.statements, result.stylesVar, new interpretive_view_1.InterpretiveAppViewInstanceFactory());\n } else {\n return output_jit_1.jitStatements(sourceUrl + \".css.js\", result.statements, result.stylesVar);\n }\n });\n };\n RuntimeCompiler.prototype._loadStylesheetDep = function(dep) {\n var cacheKey = \"\" + dep.moduleUrl + (dep.isShimmed ? '.shim' : '');\n var cssTextPromise = this._styleCache.get(cacheKey);\n if (lang_1.isBlank(cssTextPromise)) {\n cssTextPromise = this._xhr.get(dep.moduleUrl);\n this._styleCache.set(cacheKey, cssTextPromise);\n }\n return cssTextPromise;\n };\n RuntimeCompiler.decorators = [{type: core_1.Injectable}];\n RuntimeCompiler.ctorParameters = [{type: metadata_resolver_1.CompileMetadataResolver}, {type: directive_normalizer_1.DirectiveNormalizer}, {type: template_parser_1.TemplateParser}, {type: style_compiler_1.StyleCompiler}, {type: view_compiler_1.ViewCompiler}, {type: xhr_1.XHR}, {type: config_1.CompilerConfig}];\n return RuntimeCompiler;\n}());\nexports.RuntimeCompiler = RuntimeCompiler;\nvar CompiledTemplate = (function() {\n function CompiledTemplate() {\n var _this = this;\n this.viewFactory = null;\n this.proxyViewFactory = function(viewUtils, childInjector, contextEl) {\n return _this.viewFactory(viewUtils, childInjector, contextEl);\n };\n }\n CompiledTemplate.prototype.init = function(viewFactory) {\n this.viewFactory = viewFactory;\n };\n return CompiledTemplate;\n}());\nfunction assertComponent(meta) {\n if (!meta.isComponent) {\n throw new exceptions_1.BaseException(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n }\n}\n","/* */ \n\"use strict\";\nvar PromiseCompleter = (function () {\n function PromiseCompleter() {\n var _this = this;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n return PromiseCompleter;\n}());\nexports.PromiseCompleter = PromiseCompleter;\nvar PromiseWrapper = (function () {\n function PromiseWrapper() {\n }\n PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj); };\n PromiseWrapper.reject = function (obj, _) { return Promise.reject(obj); };\n // Note: We can't rename this method into `catch`, as this is not a valid\n // method name in Dart.\n PromiseWrapper.catchError = function (promise, onError) {\n return promise.catch(onError);\n };\n PromiseWrapper.all = function (promises) {\n if (promises.length == 0)\n return Promise.resolve([]);\n return Promise.all(promises);\n };\n PromiseWrapper.then = function (promise, success, rejection) {\n return promise.then(success, rejection);\n };\n PromiseWrapper.wrap = function (computation) {\n return new Promise(function (res, rej) {\n try {\n res(computation());\n }\n catch (e) {\n rej(e);\n }\n });\n };\n PromiseWrapper.scheduleMicrotask = function (computation) {\n PromiseWrapper.then(PromiseWrapper.resolve(null), computation, function (_) { });\n };\n PromiseWrapper.isPromise = function (obj) { return obj instanceof Promise; };\n PromiseWrapper.completer = function () { return new PromiseCompleter(); };\n return PromiseWrapper;\n}());\nexports.PromiseWrapper = PromiseWrapper;\n//# sourceMappingURL=promise.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('./lang');\nvar promise_1 = require('./promise');\nexports.PromiseWrapper = promise_1.PromiseWrapper;\nexports.PromiseCompleter = promise_1.PromiseCompleter;\nvar Subject_1 = require('rxjs/Subject');\nvar PromiseObservable_1 = require('rxjs/observable/PromiseObservable');\nvar toPromise_1 = require('rxjs/operator/toPromise');\nvar Observable_1 = require('rxjs/Observable');\nexports.Observable = Observable_1.Observable;\nvar Subject_2 = require('rxjs/Subject');\nexports.Subject = Subject_2.Subject;\nvar TimerWrapper = (function() {\n function TimerWrapper() {}\n TimerWrapper.setTimeout = function(fn, millis) {\n return lang_1.global.setTimeout(fn, millis);\n };\n TimerWrapper.clearTimeout = function(id) {\n lang_1.global.clearTimeout(id);\n };\n TimerWrapper.setInterval = function(fn, millis) {\n return lang_1.global.setInterval(fn, millis);\n };\n TimerWrapper.clearInterval = function(id) {\n lang_1.global.clearInterval(id);\n };\n return TimerWrapper;\n}());\nexports.TimerWrapper = TimerWrapper;\nvar ObservableWrapper = (function() {\n function ObservableWrapper() {}\n ObservableWrapper.subscribe = function(emitter, onNext, onError, onComplete) {\n if (onComplete === void 0) {\n onComplete = function() {};\n }\n onError = (typeof onError === \"function\") && onError || lang_1.noop;\n onComplete = (typeof onComplete === \"function\") && onComplete || lang_1.noop;\n return emitter.subscribe({\n next: onNext,\n error: onError,\n complete: onComplete\n });\n };\n ObservableWrapper.isObservable = function(obs) {\n return !!obs.subscribe;\n };\n ObservableWrapper.hasSubscribers = function(obs) {\n return obs.observers.length > 0;\n };\n ObservableWrapper.dispose = function(subscription) {\n subscription.unsubscribe();\n };\n ObservableWrapper.callNext = function(emitter, value) {\n emitter.next(value);\n };\n ObservableWrapper.callEmit = function(emitter, value) {\n emitter.emit(value);\n };\n ObservableWrapper.callError = function(emitter, error) {\n emitter.error(error);\n };\n ObservableWrapper.callComplete = function(emitter) {\n emitter.complete();\n };\n ObservableWrapper.fromPromise = function(promise) {\n return PromiseObservable_1.PromiseObservable.create(promise);\n };\n ObservableWrapper.toPromise = function(obj) {\n return toPromise_1.toPromise.call(obj);\n };\n return ObservableWrapper;\n}());\nexports.ObservableWrapper = ObservableWrapper;\nvar EventEmitter = (function(_super) {\n __extends(EventEmitter, _super);\n function EventEmitter(isAsync) {\n if (isAsync === void 0) {\n isAsync = true;\n }\n _super.call(this);\n this._isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.next = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.subscribe = function(generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function(err) {\n return null;\n };\n var completeFn = function() {\n return null;\n };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext.next(value);\n });\n } : function(value) {\n generatorOrNext.next(value);\n };\n if (generatorOrNext.error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return generatorOrNext.error(err);\n });\n } : function(err) {\n generatorOrNext.error(err);\n };\n }\n if (generatorOrNext.complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return generatorOrNext.complete();\n });\n } : function() {\n generatorOrNext.complete();\n };\n }\n } else {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext(value);\n });\n } : function(value) {\n generatorOrNext(value);\n };\n if (error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return error(err);\n });\n } : function(err) {\n error(err);\n };\n }\n if (complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return complete();\n });\n } : function() {\n complete();\n };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n}(Subject_1.Subject));\nexports.EventEmitter = EventEmitter;\n","/* */ \n\"use strict\";\n// TODO: vsavkin rename it into TemplateLoader\n/**\n * An interface for retrieving documents by URL that the compiler uses\n * to load templates.\n */\nvar XHR = (function () {\n function XHR() {\n }\n XHR.prototype.get = function (url) { return null; };\n return XHR;\n}());\nexports.XHR = XHR;\n//# sourceMappingURL=xhr.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar HtmlTextAst = (function() {\n function HtmlTextAst(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n HtmlTextAst.prototype.visit = function(visitor, context) {\n return visitor.visitText(this, context);\n };\n return HtmlTextAst;\n}());\nexports.HtmlTextAst = HtmlTextAst;\nvar HtmlExpansionAst = (function() {\n function HtmlExpansionAst(switchValue, type, cases, sourceSpan, switchValueSourceSpan) {\n this.switchValue = switchValue;\n this.type = type;\n this.cases = cases;\n this.sourceSpan = sourceSpan;\n this.switchValueSourceSpan = switchValueSourceSpan;\n }\n HtmlExpansionAst.prototype.visit = function(visitor, context) {\n return visitor.visitExpansion(this, context);\n };\n return HtmlExpansionAst;\n}());\nexports.HtmlExpansionAst = HtmlExpansionAst;\nvar HtmlExpansionCaseAst = (function() {\n function HtmlExpansionCaseAst(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n this.value = value;\n this.expression = expression;\n this.sourceSpan = sourceSpan;\n this.valueSourceSpan = valueSourceSpan;\n this.expSourceSpan = expSourceSpan;\n }\n HtmlExpansionCaseAst.prototype.visit = function(visitor, context) {\n return visitor.visitExpansionCase(this, context);\n };\n return HtmlExpansionCaseAst;\n}());\nexports.HtmlExpansionCaseAst = HtmlExpansionCaseAst;\nvar HtmlAttrAst = (function() {\n function HtmlAttrAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n HtmlAttrAst.prototype.visit = function(visitor, context) {\n return visitor.visitAttr(this, context);\n };\n return HtmlAttrAst;\n}());\nexports.HtmlAttrAst = HtmlAttrAst;\nvar HtmlElementAst = (function() {\n function HtmlElementAst(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.children = children;\n this.sourceSpan = sourceSpan;\n this.startSourceSpan = startSourceSpan;\n this.endSourceSpan = endSourceSpan;\n }\n HtmlElementAst.prototype.visit = function(visitor, context) {\n return visitor.visitElement(this, context);\n };\n return HtmlElementAst;\n}());\nexports.HtmlElementAst = HtmlElementAst;\nvar HtmlCommentAst = (function() {\n function HtmlCommentAst(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n HtmlCommentAst.prototype.visit = function(visitor, context) {\n return visitor.visitComment(this, context);\n };\n return HtmlCommentAst;\n}());\nexports.HtmlCommentAst = HtmlCommentAst;\nfunction htmlVisitAll(visitor, asts, context) {\n if (context === void 0) {\n context = null;\n }\n var result = [];\n asts.forEach(function(ast) {\n var astResult = ast.visit(visitor, context);\n if (lang_1.isPresent(astResult)) {\n result.push(astResult);\n }\n });\n return result;\n}\nexports.htmlVisitAll = htmlVisitAll;\n","/* */ \n(function(process) {\n \"use strict\";\n var __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var lang_1 = require('./facade/lang');\n var collection_1 = require('./facade/collection');\n var parse_util_1 = require('./parse_util');\n var html_tags_1 = require('./html_tags');\n (function(HtmlTokenType) {\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\n HtmlTokenType[HtmlTokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\n HtmlTokenType[HtmlTokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\n HtmlTokenType[HtmlTokenType[\"TEXT\"] = 4] = \"TEXT\";\n HtmlTokenType[HtmlTokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\n HtmlTokenType[HtmlTokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\n HtmlTokenType[HtmlTokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\n HtmlTokenType[HtmlTokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\n HtmlTokenType[HtmlTokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\n HtmlTokenType[HtmlTokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\n HtmlTokenType[HtmlTokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\n HtmlTokenType[HtmlTokenType[\"ATTR_VALUE\"] = 12] = \"ATTR_VALUE\";\n HtmlTokenType[HtmlTokenType[\"DOC_TYPE\"] = 13] = \"DOC_TYPE\";\n HtmlTokenType[HtmlTokenType[\"EXPANSION_FORM_START\"] = 14] = \"EXPANSION_FORM_START\";\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_VALUE\"] = 15] = \"EXPANSION_CASE_VALUE\";\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_EXP_START\"] = 16] = \"EXPANSION_CASE_EXP_START\";\n HtmlTokenType[HtmlTokenType[\"EXPANSION_CASE_EXP_END\"] = 17] = \"EXPANSION_CASE_EXP_END\";\n HtmlTokenType[HtmlTokenType[\"EXPANSION_FORM_END\"] = 18] = \"EXPANSION_FORM_END\";\n HtmlTokenType[HtmlTokenType[\"EOF\"] = 19] = \"EOF\";\n })(exports.HtmlTokenType || (exports.HtmlTokenType = {}));\n var HtmlTokenType = exports.HtmlTokenType;\n var HtmlToken = (function() {\n function HtmlToken(type, parts, sourceSpan) {\n this.type = type;\n this.parts = parts;\n this.sourceSpan = sourceSpan;\n }\n return HtmlToken;\n }());\n exports.HtmlToken = HtmlToken;\n var HtmlTokenError = (function(_super) {\n __extends(HtmlTokenError, _super);\n function HtmlTokenError(errorMsg, tokenType, span) {\n _super.call(this, span, errorMsg);\n this.tokenType = tokenType;\n }\n return HtmlTokenError;\n }(parse_util_1.ParseError));\n exports.HtmlTokenError = HtmlTokenError;\n var HtmlTokenizeResult = (function() {\n function HtmlTokenizeResult(tokens, errors) {\n this.tokens = tokens;\n this.errors = errors;\n }\n return HtmlTokenizeResult;\n }());\n exports.HtmlTokenizeResult = HtmlTokenizeResult;\n function tokenizeHtml(sourceContent, sourceUrl, tokenizeExpansionForms) {\n if (tokenizeExpansionForms === void 0) {\n tokenizeExpansionForms = false;\n }\n return new _HtmlTokenizer(new parse_util_1.ParseSourceFile(sourceContent, sourceUrl), tokenizeExpansionForms).tokenize();\n }\n exports.tokenizeHtml = tokenizeHtml;\n var $EOF = 0;\n var $TAB = 9;\n var $LF = 10;\n var $FF = 12;\n var $CR = 13;\n var $SPACE = 32;\n var $BANG = 33;\n var $DQ = 34;\n var $HASH = 35;\n var $$ = 36;\n var $AMPERSAND = 38;\n var $SQ = 39;\n var $MINUS = 45;\n var $SLASH = 47;\n var $0 = 48;\n var $SEMICOLON = 59;\n var $9 = 57;\n var $COLON = 58;\n var $LT = 60;\n var $EQ = 61;\n var $GT = 62;\n var $QUESTION = 63;\n var $LBRACKET = 91;\n var $RBRACKET = 93;\n var $LBRACE = 123;\n var $RBRACE = 125;\n var $COMMA = 44;\n var $A = 65;\n var $F = 70;\n var $X = 88;\n var $Z = 90;\n var $a = 97;\n var $f = 102;\n var $z = 122;\n var $x = 120;\n var $NBSP = 160;\n var CR_OR_CRLF_REGEXP = /\\r\\n?/g;\n function unexpectedCharacterErrorMsg(charCode) {\n var char = charCode === $EOF ? 'EOF' : lang_1.StringWrapper.fromCharCode(charCode);\n return \"Unexpected character \\\"\" + char + \"\\\"\";\n }\n function unknownEntityErrorMsg(entitySrc) {\n return \"Unknown entity \\\"\" + entitySrc + \"\\\" - use the \\\"&#<decimal>;\\\" or \\\"&#x<hex>;\\\" syntax\";\n }\n var ControlFlowError = (function() {\n function ControlFlowError(error) {\n this.error = error;\n }\n return ControlFlowError;\n }());\n var _HtmlTokenizer = (function() {\n function _HtmlTokenizer(file, tokenizeExpansionForms) {\n this.file = file;\n this.tokenizeExpansionForms = tokenizeExpansionForms;\n this.peek = -1;\n this.nextPeek = -1;\n this.index = -1;\n this.line = 0;\n this.column = -1;\n this.expansionCaseStack = [];\n this.tokens = [];\n this.errors = [];\n this.input = file.content;\n this.length = file.content.length;\n this._advance();\n }\n _HtmlTokenizer.prototype._processCarriageReturns = function(content) {\n return lang_1.StringWrapper.replaceAll(content, CR_OR_CRLF_REGEXP, '\\n');\n };\n _HtmlTokenizer.prototype.tokenize = function() {\n while (this.peek !== $EOF) {\n var start = this._getLocation();\n try {\n if (this._attemptCharCode($LT)) {\n if (this._attemptCharCode($BANG)) {\n if (this._attemptCharCode($LBRACKET)) {\n this._consumeCdata(start);\n } else if (this._attemptCharCode($MINUS)) {\n this._consumeComment(start);\n } else {\n this._consumeDocType(start);\n }\n } else if (this._attemptCharCode($SLASH)) {\n this._consumeTagClose(start);\n } else {\n this._consumeTagOpen(start);\n }\n } else if (isSpecialFormStart(this.peek, this.nextPeek) && this.tokenizeExpansionForms) {\n this._consumeExpansionFormStart();\n } else if (this.peek === $EQ && this.tokenizeExpansionForms) {\n this._consumeExpansionCaseStart();\n } else if (this.peek === $RBRACE && this.isInExpansionCase() && this.tokenizeExpansionForms) {\n this._consumeExpansionCaseEnd();\n } else if (this.peek === $RBRACE && this.isInExpansionForm() && this.tokenizeExpansionForms) {\n this._consumeExpansionFormEnd();\n } else {\n this._consumeText();\n }\n } catch (e) {\n if (e instanceof ControlFlowError) {\n this.errors.push(e.error);\n } else {\n throw e;\n }\n }\n }\n this._beginToken(HtmlTokenType.EOF);\n this._endToken([]);\n return new HtmlTokenizeResult(mergeTextTokens(this.tokens), this.errors);\n };\n _HtmlTokenizer.prototype._getLocation = function() {\n return new parse_util_1.ParseLocation(this.file, this.index, this.line, this.column);\n };\n _HtmlTokenizer.prototype._getSpan = function(start, end) {\n if (lang_1.isBlank(start)) {\n start = this._getLocation();\n }\n if (lang_1.isBlank(end)) {\n end = this._getLocation();\n }\n return new parse_util_1.ParseSourceSpan(start, end);\n };\n _HtmlTokenizer.prototype._beginToken = function(type, start) {\n if (start === void 0) {\n start = null;\n }\n if (lang_1.isBlank(start)) {\n start = this._getLocation();\n }\n this.currentTokenStart = start;\n this.currentTokenType = type;\n };\n _HtmlTokenizer.prototype._endToken = function(parts, end) {\n if (end === void 0) {\n end = null;\n }\n if (lang_1.isBlank(end)) {\n end = this._getLocation();\n }\n var token = new HtmlToken(this.currentTokenType, parts, new parse_util_1.ParseSourceSpan(this.currentTokenStart, end));\n this.tokens.push(token);\n this.currentTokenStart = null;\n this.currentTokenType = null;\n return token;\n };\n _HtmlTokenizer.prototype._createError = function(msg, span) {\n var error = new HtmlTokenError(msg, this.currentTokenType, span);\n this.currentTokenStart = null;\n this.currentTokenType = null;\n return new ControlFlowError(error);\n };\n _HtmlTokenizer.prototype._advance = function() {\n if (this.index >= this.length) {\n throw this._createError(unexpectedCharacterErrorMsg($EOF), this._getSpan());\n }\n if (this.peek === $LF) {\n this.line++;\n this.column = 0;\n } else if (this.peek !== $LF && this.peek !== $CR) {\n this.column++;\n }\n this.index++;\n this.peek = this.index >= this.length ? $EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index);\n this.nextPeek = this.index + 1 >= this.length ? $EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index + 1);\n };\n _HtmlTokenizer.prototype._attemptCharCode = function(charCode) {\n if (this.peek === charCode) {\n this._advance();\n return true;\n }\n return false;\n };\n _HtmlTokenizer.prototype._attemptCharCodeCaseInsensitive = function(charCode) {\n if (compareCharCodeCaseInsensitive(this.peek, charCode)) {\n this._advance();\n return true;\n }\n return false;\n };\n _HtmlTokenizer.prototype._requireCharCode = function(charCode) {\n var location = this._getLocation();\n if (!this._attemptCharCode(charCode)) {\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(location, location));\n }\n };\n _HtmlTokenizer.prototype._attemptStr = function(chars) {\n for (var i = 0; i < chars.length; i++) {\n if (!this._attemptCharCode(lang_1.StringWrapper.charCodeAt(chars, i))) {\n return false;\n }\n }\n return true;\n };\n _HtmlTokenizer.prototype._attemptStrCaseInsensitive = function(chars) {\n for (var i = 0; i < chars.length; i++) {\n if (!this._attemptCharCodeCaseInsensitive(lang_1.StringWrapper.charCodeAt(chars, i))) {\n return false;\n }\n }\n return true;\n };\n _HtmlTokenizer.prototype._requireStr = function(chars) {\n var location = this._getLocation();\n if (!this._attemptStr(chars)) {\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(location));\n }\n };\n _HtmlTokenizer.prototype._attemptCharCodeUntilFn = function(predicate) {\n while (!predicate(this.peek)) {\n this._advance();\n }\n };\n _HtmlTokenizer.prototype._requireCharCodeUntilFn = function(predicate, len) {\n var start = this._getLocation();\n this._attemptCharCodeUntilFn(predicate);\n if (this.index - start.offset < len) {\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan(start, start));\n }\n };\n _HtmlTokenizer.prototype._attemptUntilChar = function(char) {\n while (this.peek !== char) {\n this._advance();\n }\n };\n _HtmlTokenizer.prototype._readChar = function(decodeEntities) {\n if (decodeEntities && this.peek === $AMPERSAND) {\n return this._decodeEntity();\n } else {\n var index = this.index;\n this._advance();\n return this.input[index];\n }\n };\n _HtmlTokenizer.prototype._decodeEntity = function() {\n var start = this._getLocation();\n this._advance();\n if (this._attemptCharCode($HASH)) {\n var isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\n var numberStart = this._getLocation().offset;\n this._attemptCharCodeUntilFn(isDigitEntityEnd);\n if (this.peek != $SEMICOLON) {\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan());\n }\n this._advance();\n var strNum = this.input.substring(numberStart, this.index - 1);\n try {\n var charCode = lang_1.NumberWrapper.parseInt(strNum, isHex ? 16 : 10);\n return lang_1.StringWrapper.fromCharCode(charCode);\n } catch (e) {\n var entity = this.input.substring(start.offset + 1, this.index - 1);\n throw this._createError(unknownEntityErrorMsg(entity), this._getSpan(start));\n }\n } else {\n var startPosition = this._savePosition();\n this._attemptCharCodeUntilFn(isNamedEntityEnd);\n if (this.peek != $SEMICOLON) {\n this._restorePosition(startPosition);\n return '&';\n }\n this._advance();\n var name_1 = this.input.substring(start.offset + 1, this.index - 1);\n var char = html_tags_1.NAMED_ENTITIES[name_1];\n if (lang_1.isBlank(char)) {\n throw this._createError(unknownEntityErrorMsg(name_1), this._getSpan(start));\n }\n return char;\n }\n };\n _HtmlTokenizer.prototype._consumeRawText = function(decodeEntities, firstCharOfEnd, attemptEndRest) {\n var tagCloseStart;\n var textStart = this._getLocation();\n this._beginToken(decodeEntities ? HtmlTokenType.ESCAPABLE_RAW_TEXT : HtmlTokenType.RAW_TEXT, textStart);\n var parts = [];\n while (true) {\n tagCloseStart = this._getLocation();\n if (this._attemptCharCode(firstCharOfEnd) && attemptEndRest()) {\n break;\n }\n if (this.index > tagCloseStart.offset) {\n parts.push(this.input.substring(tagCloseStart.offset, this.index));\n }\n while (this.peek !== firstCharOfEnd) {\n parts.push(this._readChar(decodeEntities));\n }\n }\n return this._endToken([this._processCarriageReturns(parts.join(''))], tagCloseStart);\n };\n _HtmlTokenizer.prototype._consumeComment = function(start) {\n var _this = this;\n this._beginToken(HtmlTokenType.COMMENT_START, start);\n this._requireCharCode($MINUS);\n this._endToken([]);\n var textToken = this._consumeRawText(false, $MINUS, function() {\n return _this._attemptStr('->');\n });\n this._beginToken(HtmlTokenType.COMMENT_END, textToken.sourceSpan.end);\n this._endToken([]);\n };\n _HtmlTokenizer.prototype._consumeCdata = function(start) {\n var _this = this;\n this._beginToken(HtmlTokenType.CDATA_START, start);\n this._requireStr('CDATA[');\n this._endToken([]);\n var textToken = this._consumeRawText(false, $RBRACKET, function() {\n return _this._attemptStr(']>');\n });\n this._beginToken(HtmlTokenType.CDATA_END, textToken.sourceSpan.end);\n this._endToken([]);\n };\n _HtmlTokenizer.prototype._consumeDocType = function(start) {\n this._beginToken(HtmlTokenType.DOC_TYPE, start);\n this._attemptUntilChar($GT);\n this._advance();\n this._endToken([this.input.substring(start.offset + 2, this.index - 1)]);\n };\n _HtmlTokenizer.prototype._consumePrefixAndName = function() {\n var nameOrPrefixStart = this.index;\n var prefix = null;\n while (this.peek !== $COLON && !isPrefixEnd(this.peek)) {\n this._advance();\n }\n var nameStart;\n if (this.peek === $COLON) {\n this._advance();\n prefix = this.input.substring(nameOrPrefixStart, this.index - 1);\n nameStart = this.index;\n } else {\n nameStart = nameOrPrefixStart;\n }\n this._requireCharCodeUntilFn(isNameEnd, this.index === nameStart ? 1 : 0);\n var name = this.input.substring(nameStart, this.index);\n return [prefix, name];\n };\n _HtmlTokenizer.prototype._consumeTagOpen = function(start) {\n var savedPos = this._savePosition();\n var lowercaseTagName;\n try {\n if (!isAsciiLetter(this.peek)) {\n throw this._createError(unexpectedCharacterErrorMsg(this.peek), this._getSpan());\n }\n var nameStart = this.index;\n this._consumeTagOpenStart(start);\n lowercaseTagName = this.input.substring(nameStart, this.index).toLowerCase();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n while (this.peek !== $SLASH && this.peek !== $GT) {\n this._consumeAttributeName();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n if (this._attemptCharCode($EQ)) {\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._consumeAttributeValue();\n }\n this._attemptCharCodeUntilFn(isNotWhitespace);\n }\n this._consumeTagOpenEnd();\n } catch (e) {\n if (e instanceof ControlFlowError) {\n this._restorePosition(savedPos);\n this._beginToken(HtmlTokenType.TEXT, start);\n this._endToken(['<']);\n return;\n }\n throw e;\n }\n var contentTokenType = html_tags_1.getHtmlTagDefinition(lowercaseTagName).contentType;\n if (contentTokenType === html_tags_1.HtmlTagContentType.RAW_TEXT) {\n this._consumeRawTextWithTagClose(lowercaseTagName, false);\n } else if (contentTokenType === html_tags_1.HtmlTagContentType.ESCAPABLE_RAW_TEXT) {\n this._consumeRawTextWithTagClose(lowercaseTagName, true);\n }\n };\n _HtmlTokenizer.prototype._consumeRawTextWithTagClose = function(lowercaseTagName, decodeEntities) {\n var _this = this;\n var textToken = this._consumeRawText(decodeEntities, $LT, function() {\n if (!_this._attemptCharCode($SLASH))\n return false;\n _this._attemptCharCodeUntilFn(isNotWhitespace);\n if (!_this._attemptStrCaseInsensitive(lowercaseTagName))\n return false;\n _this._attemptCharCodeUntilFn(isNotWhitespace);\n if (!_this._attemptCharCode($GT))\n return false;\n return true;\n });\n this._beginToken(HtmlTokenType.TAG_CLOSE, textToken.sourceSpan.end);\n this._endToken([null, lowercaseTagName]);\n };\n _HtmlTokenizer.prototype._consumeTagOpenStart = function(start) {\n this._beginToken(HtmlTokenType.TAG_OPEN_START, start);\n var parts = this._consumePrefixAndName();\n this._endToken(parts);\n };\n _HtmlTokenizer.prototype._consumeAttributeName = function() {\n this._beginToken(HtmlTokenType.ATTR_NAME);\n var prefixAndName = this._consumePrefixAndName();\n this._endToken(prefixAndName);\n };\n _HtmlTokenizer.prototype._consumeAttributeValue = function() {\n this._beginToken(HtmlTokenType.ATTR_VALUE);\n var value;\n if (this.peek === $SQ || this.peek === $DQ) {\n var quoteChar = this.peek;\n this._advance();\n var parts = [];\n while (this.peek !== quoteChar) {\n parts.push(this._readChar(true));\n }\n value = parts.join('');\n this._advance();\n } else {\n var valueStart = this.index;\n this._requireCharCodeUntilFn(isNameEnd, 1);\n value = this.input.substring(valueStart, this.index);\n }\n this._endToken([this._processCarriageReturns(value)]);\n };\n _HtmlTokenizer.prototype._consumeTagOpenEnd = function() {\n var tokenType = this._attemptCharCode($SLASH) ? HtmlTokenType.TAG_OPEN_END_VOID : HtmlTokenType.TAG_OPEN_END;\n this._beginToken(tokenType);\n this._requireCharCode($GT);\n this._endToken([]);\n };\n _HtmlTokenizer.prototype._consumeTagClose = function(start) {\n this._beginToken(HtmlTokenType.TAG_CLOSE, start);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n var prefixAndName;\n prefixAndName = this._consumePrefixAndName();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._requireCharCode($GT);\n this._endToken(prefixAndName);\n };\n _HtmlTokenizer.prototype._consumeExpansionFormStart = function() {\n this._beginToken(HtmlTokenType.EXPANSION_FORM_START, this._getLocation());\n this._requireCharCode($LBRACE);\n this._endToken([]);\n this._beginToken(HtmlTokenType.RAW_TEXT, this._getLocation());\n var condition = this._readUntil($COMMA);\n this._endToken([condition], this._getLocation());\n this._requireCharCode($COMMA);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._beginToken(HtmlTokenType.RAW_TEXT, this._getLocation());\n var type = this._readUntil($COMMA);\n this._endToken([type], this._getLocation());\n this._requireCharCode($COMMA);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this.expansionCaseStack.push(HtmlTokenType.EXPANSION_FORM_START);\n };\n _HtmlTokenizer.prototype._consumeExpansionCaseStart = function() {\n this._requireCharCode($EQ);\n this._beginToken(HtmlTokenType.EXPANSION_CASE_VALUE, this._getLocation());\n var value = this._readUntil($LBRACE).trim();\n this._endToken([value], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._beginToken(HtmlTokenType.EXPANSION_CASE_EXP_START, this._getLocation());\n this._requireCharCode($LBRACE);\n this._endToken([], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this.expansionCaseStack.push(HtmlTokenType.EXPANSION_CASE_EXP_START);\n };\n _HtmlTokenizer.prototype._consumeExpansionCaseEnd = function() {\n this._beginToken(HtmlTokenType.EXPANSION_CASE_EXP_END, this._getLocation());\n this._requireCharCode($RBRACE);\n this._endToken([], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this.expansionCaseStack.pop();\n };\n _HtmlTokenizer.prototype._consumeExpansionFormEnd = function() {\n this._beginToken(HtmlTokenType.EXPANSION_FORM_END, this._getLocation());\n this._requireCharCode($RBRACE);\n this._endToken([]);\n this.expansionCaseStack.pop();\n };\n _HtmlTokenizer.prototype._consumeText = function() {\n var start = this._getLocation();\n this._beginToken(HtmlTokenType.TEXT, start);\n var parts = [];\n var interpolation = false;\n if (this.peek === $LBRACE && this.nextPeek === $LBRACE) {\n parts.push(this._readChar(true));\n parts.push(this._readChar(true));\n interpolation = true;\n } else {\n parts.push(this._readChar(true));\n }\n while (!this.isTextEnd(interpolation)) {\n if (this.peek === $LBRACE && this.nextPeek === $LBRACE) {\n parts.push(this._readChar(true));\n parts.push(this._readChar(true));\n interpolation = true;\n } else if (this.peek === $RBRACE && this.nextPeek === $RBRACE && interpolation) {\n parts.push(this._readChar(true));\n parts.push(this._readChar(true));\n interpolation = false;\n } else {\n parts.push(this._readChar(true));\n }\n }\n this._endToken([this._processCarriageReturns(parts.join(''))]);\n };\n _HtmlTokenizer.prototype.isTextEnd = function(interpolation) {\n if (this.peek === $LT || this.peek === $EOF)\n return true;\n if (this.tokenizeExpansionForms) {\n if (isSpecialFormStart(this.peek, this.nextPeek))\n return true;\n if (this.peek === $RBRACE && !interpolation && (this.isInExpansionCase() || this.isInExpansionForm()))\n return true;\n }\n return false;\n };\n _HtmlTokenizer.prototype._savePosition = function() {\n return [this.peek, this.index, this.column, this.line, this.tokens.length];\n };\n _HtmlTokenizer.prototype._readUntil = function(char) {\n var start = this.index;\n this._attemptUntilChar(char);\n return this.input.substring(start, this.index);\n };\n _HtmlTokenizer.prototype._restorePosition = function(position) {\n this.peek = position[0];\n this.index = position[1];\n this.column = position[2];\n this.line = position[3];\n var nbTokens = position[4];\n if (nbTokens < this.tokens.length) {\n this.tokens = collection_1.ListWrapper.slice(this.tokens, 0, nbTokens);\n }\n };\n _HtmlTokenizer.prototype.isInExpansionCase = function() {\n return this.expansionCaseStack.length > 0 && this.expansionCaseStack[this.expansionCaseStack.length - 1] === HtmlTokenType.EXPANSION_CASE_EXP_START;\n };\n _HtmlTokenizer.prototype.isInExpansionForm = function() {\n return this.expansionCaseStack.length > 0 && this.expansionCaseStack[this.expansionCaseStack.length - 1] === HtmlTokenType.EXPANSION_FORM_START;\n };\n return _HtmlTokenizer;\n }());\n function isNotWhitespace(code) {\n return !isWhitespace(code) || code === $EOF;\n }\n function isWhitespace(code) {\n return (code >= $TAB && code <= $SPACE) || (code === $NBSP);\n }\n function isNameEnd(code) {\n return isWhitespace(code) || code === $GT || code === $SLASH || code === $SQ || code === $DQ || code === $EQ;\n }\n function isPrefixEnd(code) {\n return (code < $a || $z < code) && (code < $A || $Z < code) && (code < $0 || code > $9);\n }\n function isDigitEntityEnd(code) {\n return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\n }\n function isNamedEntityEnd(code) {\n return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\n }\n function isSpecialFormStart(peek, nextPeek) {\n return peek === $LBRACE && nextPeek != $LBRACE;\n }\n function isAsciiLetter(code) {\n return code >= $a && code <= $z || code >= $A && code <= $Z;\n }\n function isAsciiHexDigit(code) {\n return code >= $a && code <= $f || code >= $A && code <= $F || code >= $0 && code <= $9;\n }\n function compareCharCodeCaseInsensitive(code1, code2) {\n return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\n }\n function toUpperCaseCharCode(code) {\n return code >= $a && code <= $z ? code - $a + $A : code;\n }\n function mergeTextTokens(srcTokens) {\n var dstTokens = [];\n var lastDstToken;\n for (var i = 0; i < srcTokens.length; i++) {\n var token = srcTokens[i];\n if (lang_1.isPresent(lastDstToken) && lastDstToken.type == HtmlTokenType.TEXT && token.type == HtmlTokenType.TEXT) {\n lastDstToken.parts[0] += token.parts[0];\n lastDstToken.sourceSpan.end = token.sourceSpan.end;\n } else {\n lastDstToken = token;\n dstTokens.push(lastDstToken);\n }\n }\n return dstTokens;\n }\n})(require('process'));\n","/* */ \n\"use strict\";\nvar ParseLocation = (function () {\n function ParseLocation(file, offset, line, col) {\n this.file = file;\n this.offset = offset;\n this.line = line;\n this.col = col;\n }\n ParseLocation.prototype.toString = function () { return this.file.url + \"@\" + this.line + \":\" + this.col; };\n return ParseLocation;\n}());\nexports.ParseLocation = ParseLocation;\nvar ParseSourceFile = (function () {\n function ParseSourceFile(content, url) {\n this.content = content;\n this.url = url;\n }\n return ParseSourceFile;\n}());\nexports.ParseSourceFile = ParseSourceFile;\nvar ParseSourceSpan = (function () {\n function ParseSourceSpan(start, end) {\n this.start = start;\n this.end = end;\n }\n ParseSourceSpan.prototype.toString = function () {\n return this.start.file.content.substring(this.start.offset, this.end.offset);\n };\n return ParseSourceSpan;\n}());\nexports.ParseSourceSpan = ParseSourceSpan;\n(function (ParseErrorLevel) {\n ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\n})(exports.ParseErrorLevel || (exports.ParseErrorLevel = {}));\nvar ParseErrorLevel = exports.ParseErrorLevel;\nvar ParseError = (function () {\n function ParseError(span, msg, level) {\n if (level === void 0) { level = ParseErrorLevel.FATAL; }\n this.span = span;\n this.msg = msg;\n this.level = level;\n }\n ParseError.prototype.toString = function () {\n var source = this.span.start.file.content;\n var ctxStart = this.span.start.offset;\n if (ctxStart > source.length - 1) {\n ctxStart = source.length - 1;\n }\n var ctxEnd = ctxStart;\n var ctxLen = 0;\n var ctxLines = 0;\n while (ctxLen < 100 && ctxStart > 0) {\n ctxStart--;\n ctxLen++;\n if (source[ctxStart] == \"\\n\") {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n ctxLen = 0;\n ctxLines = 0;\n while (ctxLen < 100 && ctxEnd < source.length - 1) {\n ctxEnd++;\n ctxLen++;\n if (source[ctxEnd] == \"\\n\") {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\n source.substring(this.span.start.offset, ctxEnd + 1);\n return this.msg + \" (\\\"\" + context + \"\\\"): \" + this.span.start;\n };\n return ParseError;\n}());\nexports.ParseError = ParseError;\n//# sourceMappingURL=parse_util.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar collection_1 = require('./facade/collection');\nvar html_ast_1 = require('./html_ast');\nvar html_lexer_1 = require('./html_lexer');\nvar parse_util_1 = require('./parse_util');\nvar html_tags_1 = require('./html_tags');\nvar HtmlTreeError = (function(_super) {\n __extends(HtmlTreeError, _super);\n function HtmlTreeError(elementName, span, msg) {\n _super.call(this, span, msg);\n this.elementName = elementName;\n }\n HtmlTreeError.create = function(elementName, span, msg) {\n return new HtmlTreeError(elementName, span, msg);\n };\n return HtmlTreeError;\n}(parse_util_1.ParseError));\nexports.HtmlTreeError = HtmlTreeError;\nvar HtmlParseTreeResult = (function() {\n function HtmlParseTreeResult(rootNodes, errors) {\n this.rootNodes = rootNodes;\n this.errors = errors;\n }\n return HtmlParseTreeResult;\n}());\nexports.HtmlParseTreeResult = HtmlParseTreeResult;\nvar HtmlParser = (function() {\n function HtmlParser() {}\n HtmlParser.prototype.parse = function(sourceContent, sourceUrl, parseExpansionForms) {\n if (parseExpansionForms === void 0) {\n parseExpansionForms = false;\n }\n var tokensAndErrors = html_lexer_1.tokenizeHtml(sourceContent, sourceUrl, parseExpansionForms);\n var treeAndErrors = new TreeBuilder(tokensAndErrors.tokens).build();\n return new HtmlParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n };\n HtmlParser.decorators = [{type: core_1.Injectable}];\n return HtmlParser;\n}());\nexports.HtmlParser = HtmlParser;\nvar TreeBuilder = (function() {\n function TreeBuilder(tokens) {\n this.tokens = tokens;\n this.index = -1;\n this.rootNodes = [];\n this.errors = [];\n this.elementStack = [];\n this._advance();\n }\n TreeBuilder.prototype.build = function() {\n while (this.peek.type !== html_lexer_1.HtmlTokenType.EOF) {\n if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_START) {\n this._consumeStartTag(this._advance());\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_CLOSE) {\n this._consumeEndTag(this._advance());\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.CDATA_START) {\n this._closeVoidElement();\n this._consumeCdata(this._advance());\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.COMMENT_START) {\n this._closeVoidElement();\n this._consumeComment(this._advance());\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.TEXT || this.peek.type === html_lexer_1.HtmlTokenType.RAW_TEXT || this.peek.type === html_lexer_1.HtmlTokenType.ESCAPABLE_RAW_TEXT) {\n this._closeVoidElement();\n this._consumeText(this._advance());\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_START) {\n this._consumeExpansion(this._advance());\n } else {\n this._advance();\n }\n }\n return new HtmlParseTreeResult(this.rootNodes, this.errors);\n };\n TreeBuilder.prototype._advance = function() {\n var prev = this.peek;\n if (this.index < this.tokens.length - 1) {\n this.index++;\n }\n this.peek = this.tokens[this.index];\n return prev;\n };\n TreeBuilder.prototype._advanceIf = function(type) {\n if (this.peek.type === type) {\n return this._advance();\n }\n return null;\n };\n TreeBuilder.prototype._consumeCdata = function(startToken) {\n this._consumeText(this._advance());\n this._advanceIf(html_lexer_1.HtmlTokenType.CDATA_END);\n };\n TreeBuilder.prototype._consumeComment = function(token) {\n var text = this._advanceIf(html_lexer_1.HtmlTokenType.RAW_TEXT);\n this._advanceIf(html_lexer_1.HtmlTokenType.COMMENT_END);\n var value = lang_1.isPresent(text) ? text.parts[0].trim() : null;\n this._addToParent(new html_ast_1.HtmlCommentAst(value, token.sourceSpan));\n };\n TreeBuilder.prototype._consumeExpansion = function(token) {\n var switchValue = this._advance();\n var type = this._advance();\n var cases = [];\n while (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_VALUE) {\n var expCase = this._parseExpansionCase();\n if (lang_1.isBlank(expCase))\n return;\n cases.push(expCase);\n }\n if (this.peek.type !== html_lexer_1.HtmlTokenType.EXPANSION_FORM_END) {\n this.errors.push(HtmlTreeError.create(null, this.peek.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\n return;\n }\n this._advance();\n var mainSourceSpan = new parse_util_1.ParseSourceSpan(token.sourceSpan.start, this.peek.sourceSpan.end);\n this._addToParent(new html_ast_1.HtmlExpansionAst(switchValue.parts[0], type.parts[0], cases, mainSourceSpan, switchValue.sourceSpan));\n };\n TreeBuilder.prototype._parseExpansionCase = function() {\n var value = this._advance();\n if (this.peek.type !== html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START) {\n this.errors.push(HtmlTreeError.create(null, this.peek.sourceSpan, \"Invalid expansion form. Missing '{'.,\"));\n return null;\n }\n var start = this._advance();\n var exp = this._collectExpansionExpTokens(start);\n if (lang_1.isBlank(exp))\n return null;\n var end = this._advance();\n exp.push(new html_lexer_1.HtmlToken(html_lexer_1.HtmlTokenType.EOF, [], end.sourceSpan));\n var parsedExp = new TreeBuilder(exp).build();\n if (parsedExp.errors.length > 0) {\n this.errors = this.errors.concat(parsedExp.errors);\n return null;\n }\n var sourceSpan = new parse_util_1.ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\n var expSourceSpan = new parse_util_1.ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\n return new html_ast_1.HtmlExpansionCaseAst(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n };\n TreeBuilder.prototype._collectExpansionExpTokens = function(start) {\n var exp = [];\n var expansionFormStack = [html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START];\n while (true) {\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_START || this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START) {\n expansionFormStack.push(this.peek.type);\n }\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_END) {\n if (lastOnStack(expansionFormStack, html_lexer_1.HtmlTokenType.EXPANSION_CASE_EXP_START)) {\n expansionFormStack.pop();\n if (expansionFormStack.length == 0)\n return exp;\n } else {\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\n return null;\n }\n }\n if (this.peek.type === html_lexer_1.HtmlTokenType.EXPANSION_FORM_END) {\n if (lastOnStack(expansionFormStack, html_lexer_1.HtmlTokenType.EXPANSION_FORM_START)) {\n expansionFormStack.pop();\n } else {\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\n return null;\n }\n }\n if (this.peek.type === html_lexer_1.HtmlTokenType.EOF) {\n this.errors.push(HtmlTreeError.create(null, start.sourceSpan, \"Invalid expansion form. Missing '}'.\"));\n return null;\n }\n exp.push(this._advance());\n }\n };\n TreeBuilder.prototype._consumeText = function(token) {\n var text = token.parts[0];\n if (text.length > 0 && text[0] == '\\n') {\n var parent_1 = this._getParentElement();\n if (lang_1.isPresent(parent_1) && parent_1.children.length == 0 && html_tags_1.getHtmlTagDefinition(parent_1.name).ignoreFirstLf) {\n text = text.substring(1);\n }\n }\n if (text.length > 0) {\n this._addToParent(new html_ast_1.HtmlTextAst(text, token.sourceSpan));\n }\n };\n TreeBuilder.prototype._closeVoidElement = function() {\n if (this.elementStack.length > 0) {\n var el = collection_1.ListWrapper.last(this.elementStack);\n if (html_tags_1.getHtmlTagDefinition(el.name).isVoid) {\n this.elementStack.pop();\n }\n }\n };\n TreeBuilder.prototype._consumeStartTag = function(startTagToken) {\n var prefix = startTagToken.parts[0];\n var name = startTagToken.parts[1];\n var attrs = [];\n while (this.peek.type === html_lexer_1.HtmlTokenType.ATTR_NAME) {\n attrs.push(this._consumeAttr(this._advance()));\n }\n var fullName = getElementFullName(prefix, name, this._getParentElement());\n var selfClosing = false;\n if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_END_VOID) {\n this._advance();\n selfClosing = true;\n if (html_tags_1.getNsPrefix(fullName) == null && !html_tags_1.getHtmlTagDefinition(fullName).isVoid) {\n this.errors.push(HtmlTreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\" + startTagToken.parts[1] + \"\\\"\"));\n }\n } else if (this.peek.type === html_lexer_1.HtmlTokenType.TAG_OPEN_END) {\n this._advance();\n selfClosing = false;\n }\n var end = this.peek.sourceSpan.start;\n var span = new parse_util_1.ParseSourceSpan(startTagToken.sourceSpan.start, end);\n var el = new html_ast_1.HtmlElementAst(fullName, attrs, [], span, span, null);\n this._pushElement(el);\n if (selfClosing) {\n this._popElement(fullName);\n el.endSourceSpan = span;\n }\n };\n TreeBuilder.prototype._pushElement = function(el) {\n if (this.elementStack.length > 0) {\n var parentEl = collection_1.ListWrapper.last(this.elementStack);\n if (html_tags_1.getHtmlTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n this.elementStack.pop();\n }\n }\n var tagDef = html_tags_1.getHtmlTagDefinition(el.name);\n var parentEl = this._getParentElement();\n if (tagDef.requireExtraParent(lang_1.isPresent(parentEl) ? parentEl.name : null)) {\n var newParent = new html_ast_1.HtmlElementAst(tagDef.parentToAdd, [], [el], el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n this._addToParent(newParent);\n this.elementStack.push(newParent);\n this.elementStack.push(el);\n } else {\n this._addToParent(el);\n this.elementStack.push(el);\n }\n };\n TreeBuilder.prototype._consumeEndTag = function(endTagToken) {\n var fullName = getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n if (html_tags_1.getHtmlTagDefinition(fullName).isVoid) {\n this.errors.push(HtmlTreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n } else if (!this._popElement(fullName)) {\n this.errors.push(HtmlTreeError.create(fullName, endTagToken.sourceSpan, \"Unexpected closing tag \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n }\n };\n TreeBuilder.prototype._popElement = function(fullName) {\n for (var stackIndex = this.elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n var el = this.elementStack[stackIndex];\n if (el.name == fullName) {\n collection_1.ListWrapper.splice(this.elementStack, stackIndex, this.elementStack.length - stackIndex);\n return true;\n }\n if (!html_tags_1.getHtmlTagDefinition(el.name).closedByParent) {\n return false;\n }\n }\n return false;\n };\n TreeBuilder.prototype._consumeAttr = function(attrName) {\n var fullName = html_tags_1.mergeNsAndName(attrName.parts[0], attrName.parts[1]);\n var end = attrName.sourceSpan.end;\n var value = '';\n if (this.peek.type === html_lexer_1.HtmlTokenType.ATTR_VALUE) {\n var valueToken = this._advance();\n value = valueToken.parts[0];\n end = valueToken.sourceSpan.end;\n }\n return new html_ast_1.HtmlAttrAst(fullName, value, new parse_util_1.ParseSourceSpan(attrName.sourceSpan.start, end));\n };\n TreeBuilder.prototype._getParentElement = function() {\n return this.elementStack.length > 0 ? collection_1.ListWrapper.last(this.elementStack) : null;\n };\n TreeBuilder.prototype._addToParent = function(node) {\n var parent = this._getParentElement();\n if (lang_1.isPresent(parent)) {\n parent.children.push(node);\n } else {\n this.rootNodes.push(node);\n }\n };\n return TreeBuilder;\n}());\nfunction getElementFullName(prefix, localName, parentElement) {\n if (lang_1.isBlank(prefix)) {\n prefix = html_tags_1.getHtmlTagDefinition(localName).implicitNamespacePrefix;\n if (lang_1.isBlank(prefix) && lang_1.isPresent(parentElement)) {\n prefix = html_tags_1.getNsPrefix(parentElement.name);\n }\n }\n return html_tags_1.mergeNsAndName(prefix, localName);\n}\nfunction lastOnStack(stack, element) {\n return stack.length > 0 && stack[stack.length - 1] === element;\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nexports.NAMED_ENTITIES = {\n 'Aacute': '\\u00C1',\n 'aacute': '\\u00E1',\n 'Acirc': '\\u00C2',\n 'acirc': '\\u00E2',\n 'acute': '\\u00B4',\n 'AElig': '\\u00C6',\n 'aelig': '\\u00E6',\n 'Agrave': '\\u00C0',\n 'agrave': '\\u00E0',\n 'alefsym': '\\u2135',\n 'Alpha': '\\u0391',\n 'alpha': '\\u03B1',\n 'amp': '&',\n 'and': '\\u2227',\n 'ang': '\\u2220',\n 'apos': '\\u0027',\n 'Aring': '\\u00C5',\n 'aring': '\\u00E5',\n 'asymp': '\\u2248',\n 'Atilde': '\\u00C3',\n 'atilde': '\\u00E3',\n 'Auml': '\\u00C4',\n 'auml': '\\u00E4',\n 'bdquo': '\\u201E',\n 'Beta': '\\u0392',\n 'beta': '\\u03B2',\n 'brvbar': '\\u00A6',\n 'bull': '\\u2022',\n 'cap': '\\u2229',\n 'Ccedil': '\\u00C7',\n 'ccedil': '\\u00E7',\n 'cedil': '\\u00B8',\n 'cent': '\\u00A2',\n 'Chi': '\\u03A7',\n 'chi': '\\u03C7',\n 'circ': '\\u02C6',\n 'clubs': '\\u2663',\n 'cong': '\\u2245',\n 'copy': '\\u00A9',\n 'crarr': '\\u21B5',\n 'cup': '\\u222A',\n 'curren': '\\u00A4',\n 'dagger': '\\u2020',\n 'Dagger': '\\u2021',\n 'darr': '\\u2193',\n 'dArr': '\\u21D3',\n 'deg': '\\u00B0',\n 'Delta': '\\u0394',\n 'delta': '\\u03B4',\n 'diams': '\\u2666',\n 'divide': '\\u00F7',\n 'Eacute': '\\u00C9',\n 'eacute': '\\u00E9',\n 'Ecirc': '\\u00CA',\n 'ecirc': '\\u00EA',\n 'Egrave': '\\u00C8',\n 'egrave': '\\u00E8',\n 'empty': '\\u2205',\n 'emsp': '\\u2003',\n 'ensp': '\\u2002',\n 'Epsilon': '\\u0395',\n 'epsilon': '\\u03B5',\n 'equiv': '\\u2261',\n 'Eta': '\\u0397',\n 'eta': '\\u03B7',\n 'ETH': '\\u00D0',\n 'eth': '\\u00F0',\n 'Euml': '\\u00CB',\n 'euml': '\\u00EB',\n 'euro': '\\u20AC',\n 'exist': '\\u2203',\n 'fnof': '\\u0192',\n 'forall': '\\u2200',\n 'frac12': '\\u00BD',\n 'frac14': '\\u00BC',\n 'frac34': '\\u00BE',\n 'frasl': '\\u2044',\n 'Gamma': '\\u0393',\n 'gamma': '\\u03B3',\n 'ge': '\\u2265',\n 'gt': '>',\n 'harr': '\\u2194',\n 'hArr': '\\u21D4',\n 'hearts': '\\u2665',\n 'hellip': '\\u2026',\n 'Iacute': '\\u00CD',\n 'iacute': '\\u00ED',\n 'Icirc': '\\u00CE',\n 'icirc': '\\u00EE',\n 'iexcl': '\\u00A1',\n 'Igrave': '\\u00CC',\n 'igrave': '\\u00EC',\n 'image': '\\u2111',\n 'infin': '\\u221E',\n 'int': '\\u222B',\n 'Iota': '\\u0399',\n 'iota': '\\u03B9',\n 'iquest': '\\u00BF',\n 'isin': '\\u2208',\n 'Iuml': '\\u00CF',\n 'iuml': '\\u00EF',\n 'Kappa': '\\u039A',\n 'kappa': '\\u03BA',\n 'Lambda': '\\u039B',\n 'lambda': '\\u03BB',\n 'lang': '\\u27E8',\n 'laquo': '\\u00AB',\n 'larr': '\\u2190',\n 'lArr': '\\u21D0',\n 'lceil': '\\u2308',\n 'ldquo': '\\u201C',\n 'le': '\\u2264',\n 'lfloor': '\\u230A',\n 'lowast': '\\u2217',\n 'loz': '\\u25CA',\n 'lrm': '\\u200E',\n 'lsaquo': '\\u2039',\n 'lsquo': '\\u2018',\n 'lt': '<',\n 'macr': '\\u00AF',\n 'mdash': '\\u2014',\n 'micro': '\\u00B5',\n 'middot': '\\u00B7',\n 'minus': '\\u2212',\n 'Mu': '\\u039C',\n 'mu': '\\u03BC',\n 'nabla': '\\u2207',\n 'nbsp': '\\u00A0',\n 'ndash': '\\u2013',\n 'ne': '\\u2260',\n 'ni': '\\u220B',\n 'not': '\\u00AC',\n 'notin': '\\u2209',\n 'nsub': '\\u2284',\n 'Ntilde': '\\u00D1',\n 'ntilde': '\\u00F1',\n 'Nu': '\\u039D',\n 'nu': '\\u03BD',\n 'Oacute': '\\u00D3',\n 'oacute': '\\u00F3',\n 'Ocirc': '\\u00D4',\n 'ocirc': '\\u00F4',\n 'OElig': '\\u0152',\n 'oelig': '\\u0153',\n 'Ograve': '\\u00D2',\n 'ograve': '\\u00F2',\n 'oline': '\\u203E',\n 'Omega': '\\u03A9',\n 'omega': '\\u03C9',\n 'Omicron': '\\u039F',\n 'omicron': '\\u03BF',\n 'oplus': '\\u2295',\n 'or': '\\u2228',\n 'ordf': '\\u00AA',\n 'ordm': '\\u00BA',\n 'Oslash': '\\u00D8',\n 'oslash': '\\u00F8',\n 'Otilde': '\\u00D5',\n 'otilde': '\\u00F5',\n 'otimes': '\\u2297',\n 'Ouml': '\\u00D6',\n 'ouml': '\\u00F6',\n 'para': '\\u00B6',\n 'permil': '\\u2030',\n 'perp': '\\u22A5',\n 'Phi': '\\u03A6',\n 'phi': '\\u03C6',\n 'Pi': '\\u03A0',\n 'pi': '\\u03C0',\n 'piv': '\\u03D6',\n 'plusmn': '\\u00B1',\n 'pound': '\\u00A3',\n 'prime': '\\u2032',\n 'Prime': '\\u2033',\n 'prod': '\\u220F',\n 'prop': '\\u221D',\n 'Psi': '\\u03A8',\n 'psi': '\\u03C8',\n 'quot': '\\u0022',\n 'radic': '\\u221A',\n 'rang': '\\u27E9',\n 'raquo': '\\u00BB',\n 'rarr': '\\u2192',\n 'rArr': '\\u21D2',\n 'rceil': '\\u2309',\n 'rdquo': '\\u201D',\n 'real': '\\u211C',\n 'reg': '\\u00AE',\n 'rfloor': '\\u230B',\n 'Rho': '\\u03A1',\n 'rho': '\\u03C1',\n 'rlm': '\\u200F',\n 'rsaquo': '\\u203A',\n 'rsquo': '\\u2019',\n 'sbquo': '\\u201A',\n 'Scaron': '\\u0160',\n 'scaron': '\\u0161',\n 'sdot': '\\u22C5',\n 'sect': '\\u00A7',\n 'shy': '\\u00AD',\n 'Sigma': '\\u03A3',\n 'sigma': '\\u03C3',\n 'sigmaf': '\\u03C2',\n 'sim': '\\u223C',\n 'spades': '\\u2660',\n 'sub': '\\u2282',\n 'sube': '\\u2286',\n 'sum': '\\u2211',\n 'sup': '\\u2283',\n 'sup1': '\\u00B9',\n 'sup2': '\\u00B2',\n 'sup3': '\\u00B3',\n 'supe': '\\u2287',\n 'szlig': '\\u00DF',\n 'Tau': '\\u03A4',\n 'tau': '\\u03C4',\n 'there4': '\\u2234',\n 'Theta': '\\u0398',\n 'theta': '\\u03B8',\n 'thetasym': '\\u03D1',\n 'thinsp': '\\u2009',\n 'THORN': '\\u00DE',\n 'thorn': '\\u00FE',\n 'tilde': '\\u02DC',\n 'times': '\\u00D7',\n 'trade': '\\u2122',\n 'Uacute': '\\u00DA',\n 'uacute': '\\u00FA',\n 'uarr': '\\u2191',\n 'uArr': '\\u21D1',\n 'Ucirc': '\\u00DB',\n 'ucirc': '\\u00FB',\n 'Ugrave': '\\u00D9',\n 'ugrave': '\\u00F9',\n 'uml': '\\u00A8',\n 'upsih': '\\u03D2',\n 'Upsilon': '\\u03A5',\n 'upsilon': '\\u03C5',\n 'Uuml': '\\u00DC',\n 'uuml': '\\u00FC',\n 'weierp': '\\u2118',\n 'Xi': '\\u039E',\n 'xi': '\\u03BE',\n 'Yacute': '\\u00DD',\n 'yacute': '\\u00FD',\n 'yen': '\\u00A5',\n 'yuml': '\\u00FF',\n 'Yuml': '\\u0178',\n 'Zeta': '\\u0396',\n 'zeta': '\\u03B6',\n 'zwj': '\\u200D',\n 'zwnj': '\\u200C'\n};\n(function(HtmlTagContentType) {\n HtmlTagContentType[HtmlTagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n HtmlTagContentType[HtmlTagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n HtmlTagContentType[HtmlTagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n})(exports.HtmlTagContentType || (exports.HtmlTagContentType = {}));\nvar HtmlTagContentType = exports.HtmlTagContentType;\nvar HtmlTagDefinition = (function() {\n function HtmlTagDefinition(_a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a,\n closedByChildren = _b.closedByChildren,\n requiredParents = _b.requiredParents,\n implicitNamespacePrefix = _b.implicitNamespacePrefix,\n contentType = _b.contentType,\n closedByParent = _b.closedByParent,\n isVoid = _b.isVoid,\n ignoreFirstLf = _b.ignoreFirstLf;\n this.closedByChildren = {};\n this.closedByParent = false;\n if (lang_1.isPresent(closedByChildren) && closedByChildren.length > 0) {\n closedByChildren.forEach(function(tagName) {\n return _this.closedByChildren[tagName] = true;\n });\n }\n this.isVoid = lang_1.normalizeBool(isVoid);\n this.closedByParent = lang_1.normalizeBool(closedByParent) || this.isVoid;\n if (lang_1.isPresent(requiredParents) && requiredParents.length > 0) {\n this.requiredParents = {};\n this.parentToAdd = requiredParents[0];\n requiredParents.forEach(function(tagName) {\n return _this.requiredParents[tagName] = true;\n });\n }\n this.implicitNamespacePrefix = implicitNamespacePrefix;\n this.contentType = lang_1.isPresent(contentType) ? contentType : HtmlTagContentType.PARSABLE_DATA;\n this.ignoreFirstLf = lang_1.normalizeBool(ignoreFirstLf);\n }\n HtmlTagDefinition.prototype.requireExtraParent = function(currentParent) {\n if (lang_1.isBlank(this.requiredParents)) {\n return false;\n }\n if (lang_1.isBlank(currentParent)) {\n return true;\n }\n var lcParent = currentParent.toLowerCase();\n return this.requiredParents[lcParent] != true && lcParent != 'template';\n };\n HtmlTagDefinition.prototype.isClosedByChild = function(name) {\n return this.isVoid || lang_1.normalizeBool(this.closedByChildren[name.toLowerCase()]);\n };\n return HtmlTagDefinition;\n}());\nexports.HtmlTagDefinition = HtmlTagDefinition;\nvar TAG_DEFINITIONS = {\n 'base': new HtmlTagDefinition({isVoid: true}),\n 'meta': new HtmlTagDefinition({isVoid: true}),\n 'area': new HtmlTagDefinition({isVoid: true}),\n 'embed': new HtmlTagDefinition({isVoid: true}),\n 'link': new HtmlTagDefinition({isVoid: true}),\n 'img': new HtmlTagDefinition({isVoid: true}),\n 'input': new HtmlTagDefinition({isVoid: true}),\n 'param': new HtmlTagDefinition({isVoid: true}),\n 'hr': new HtmlTagDefinition({isVoid: true}),\n 'br': new HtmlTagDefinition({isVoid: true}),\n 'source': new HtmlTagDefinition({isVoid: true}),\n 'track': new HtmlTagDefinition({isVoid: true}),\n 'wbr': new HtmlTagDefinition({isVoid: true}),\n 'p': new HtmlTagDefinition({\n closedByChildren: ['address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'],\n closedByParent: true\n }),\n 'thead': new HtmlTagDefinition({closedByChildren: ['tbody', 'tfoot']}),\n 'tbody': new HtmlTagDefinition({\n closedByChildren: ['tbody', 'tfoot'],\n closedByParent: true\n }),\n 'tfoot': new HtmlTagDefinition({\n closedByChildren: ['tbody'],\n closedByParent: true\n }),\n 'tr': new HtmlTagDefinition({\n closedByChildren: ['tr'],\n requiredParents: ['tbody', 'tfoot', 'thead'],\n closedByParent: true\n }),\n 'td': new HtmlTagDefinition({\n closedByChildren: ['td', 'th'],\n closedByParent: true\n }),\n 'th': new HtmlTagDefinition({\n closedByChildren: ['td', 'th'],\n closedByParent: true\n }),\n 'col': new HtmlTagDefinition({\n requiredParents: ['colgroup'],\n isVoid: true\n }),\n 'svg': new HtmlTagDefinition({implicitNamespacePrefix: 'svg'}),\n 'math': new HtmlTagDefinition({implicitNamespacePrefix: 'math'}),\n 'li': new HtmlTagDefinition({\n closedByChildren: ['li'],\n closedByParent: true\n }),\n 'dt': new HtmlTagDefinition({closedByChildren: ['dt', 'dd']}),\n 'dd': new HtmlTagDefinition({\n closedByChildren: ['dt', 'dd'],\n closedByParent: true\n }),\n 'rb': new HtmlTagDefinition({\n closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n closedByParent: true\n }),\n 'rt': new HtmlTagDefinition({\n closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n closedByParent: true\n }),\n 'rtc': new HtmlTagDefinition({\n closedByChildren: ['rb', 'rtc', 'rp'],\n closedByParent: true\n }),\n 'rp': new HtmlTagDefinition({\n closedByChildren: ['rb', 'rt', 'rtc', 'rp'],\n closedByParent: true\n }),\n 'optgroup': new HtmlTagDefinition({\n closedByChildren: ['optgroup'],\n closedByParent: true\n }),\n 'option': new HtmlTagDefinition({\n closedByChildren: ['option', 'optgroup'],\n closedByParent: true\n }),\n 'pre': new HtmlTagDefinition({ignoreFirstLf: true}),\n 'listing': new HtmlTagDefinition({ignoreFirstLf: true}),\n 'style': new HtmlTagDefinition({contentType: HtmlTagContentType.RAW_TEXT}),\n 'script': new HtmlTagDefinition({contentType: HtmlTagContentType.RAW_TEXT}),\n 'title': new HtmlTagDefinition({contentType: HtmlTagContentType.ESCAPABLE_RAW_TEXT}),\n 'textarea': new HtmlTagDefinition({\n contentType: HtmlTagContentType.ESCAPABLE_RAW_TEXT,\n ignoreFirstLf: true\n })\n};\nvar DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\nfunction getHtmlTagDefinition(tagName) {\n var result = TAG_DEFINITIONS[tagName.toLowerCase()];\n return lang_1.isPresent(result) ? result : DEFAULT_TAG_DEFINITION;\n}\nexports.getHtmlTagDefinition = getHtmlTagDefinition;\nvar NS_PREFIX_RE = /^@([^:]+):(.+)/g;\nfunction splitNsName(elementName) {\n if (elementName[0] != '@') {\n return [null, elementName];\n }\n var match = lang_1.RegExpWrapper.firstMatch(NS_PREFIX_RE, elementName);\n return [match[1], match[2]];\n}\nexports.splitNsName = splitNsName;\nfunction getNsPrefix(elementName) {\n return splitNsName(elementName)[0];\n}\nexports.getNsPrefix = getNsPrefix;\nfunction mergeNsAndName(prefix, localName) {\n return lang_1.isPresent(prefix) ? \"@\" + prefix + \":\" + localName : localName;\n}\nexports.mergeNsAndName = mergeNsAndName;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar html_tags_1 = require('./html_tags');\nvar NG_CONTENT_SELECT_ATTR = 'select';\nvar NG_CONTENT_ELEMENT = 'ng-content';\nvar LINK_ELEMENT = 'link';\nvar LINK_STYLE_REL_ATTR = 'rel';\nvar LINK_STYLE_HREF_ATTR = 'href';\nvar LINK_STYLE_REL_VALUE = 'stylesheet';\nvar STYLE_ELEMENT = 'style';\nvar SCRIPT_ELEMENT = 'script';\nvar NG_NON_BINDABLE_ATTR = 'ngNonBindable';\nvar NG_PROJECT_AS = 'ngProjectAs';\nfunction preparseElement(ast) {\n var selectAttr = null;\n var hrefAttr = null;\n var relAttr = null;\n var nonBindable = false;\n var projectAs = null;\n ast.attrs.forEach(function(attr) {\n var lcAttrName = attr.name.toLowerCase();\n if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\n selectAttr = attr.value;\n } else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\n hrefAttr = attr.value;\n } else if (lcAttrName == LINK_STYLE_REL_ATTR) {\n relAttr = attr.value;\n } else if (attr.name == NG_NON_BINDABLE_ATTR) {\n nonBindable = true;\n } else if (attr.name == NG_PROJECT_AS) {\n if (attr.value.length > 0) {\n projectAs = attr.value;\n }\n }\n });\n selectAttr = normalizeNgContentSelect(selectAttr);\n var nodeName = ast.name.toLowerCase();\n var type = PreparsedElementType.OTHER;\n if (html_tags_1.splitNsName(nodeName)[1] == NG_CONTENT_ELEMENT) {\n type = PreparsedElementType.NG_CONTENT;\n } else if (nodeName == STYLE_ELEMENT) {\n type = PreparsedElementType.STYLE;\n } else if (nodeName == SCRIPT_ELEMENT) {\n type = PreparsedElementType.SCRIPT;\n } else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\n type = PreparsedElementType.STYLESHEET;\n }\n return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\n}\nexports.preparseElement = preparseElement;\n(function(PreparsedElementType) {\n PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\n PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\n PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\n PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\n PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\n})(exports.PreparsedElementType || (exports.PreparsedElementType = {}));\nvar PreparsedElementType = exports.PreparsedElementType;\nvar PreparsedElement = (function() {\n function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) {\n this.type = type;\n this.selectAttr = selectAttr;\n this.hrefAttr = hrefAttr;\n this.nonBindable = nonBindable;\n this.projectAs = projectAs;\n }\n return PreparsedElement;\n}());\nexports.PreparsedElement = PreparsedElement;\nfunction normalizeNgContentSelect(selectAttr) {\n if (lang_1.isBlank(selectAttr) || selectAttr.length === 0) {\n return '*';\n }\n return selectAttr;\n}\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar async_1 = require('./facade/async');\nvar compile_metadata_1 = require('./compile_metadata');\nvar xhr_1 = require('./xhr');\nvar url_resolver_1 = require('./url_resolver');\nvar style_url_resolver_1 = require('./style_url_resolver');\nvar html_ast_1 = require('./html_ast');\nvar html_parser_1 = require('./html_parser');\nvar template_preparser_1 = require('./template_preparser');\nvar DirectiveNormalizer = (function() {\n function DirectiveNormalizer(_xhr, _urlResolver, _htmlParser) {\n this._xhr = _xhr;\n this._urlResolver = _urlResolver;\n this._htmlParser = _htmlParser;\n }\n DirectiveNormalizer.prototype.normalizeDirective = function(directive) {\n if (!directive.isComponent) {\n return async_1.PromiseWrapper.resolve(directive);\n }\n return this.normalizeTemplate(directive.type, directive.template).then(function(normalizedTemplate) {\n return new compile_metadata_1.CompileDirectiveMetadata({\n type: directive.type,\n isComponent: directive.isComponent,\n selector: directive.selector,\n exportAs: directive.exportAs,\n changeDetection: directive.changeDetection,\n inputs: directive.inputs,\n outputs: directive.outputs,\n hostListeners: directive.hostListeners,\n hostProperties: directive.hostProperties,\n hostAttributes: directive.hostAttributes,\n lifecycleHooks: directive.lifecycleHooks,\n providers: directive.providers,\n viewProviders: directive.viewProviders,\n queries: directive.queries,\n viewQueries: directive.viewQueries,\n template: normalizedTemplate\n });\n });\n };\n DirectiveNormalizer.prototype.normalizeTemplate = function(directiveType, template) {\n var _this = this;\n if (lang_1.isPresent(template.template)) {\n return async_1.PromiseWrapper.resolve(this.normalizeLoadedTemplate(directiveType, template, template.template, directiveType.moduleUrl));\n } else if (lang_1.isPresent(template.templateUrl)) {\n var sourceAbsUrl = this._urlResolver.resolve(directiveType.moduleUrl, template.templateUrl);\n return this._xhr.get(sourceAbsUrl).then(function(templateContent) {\n return _this.normalizeLoadedTemplate(directiveType, template, templateContent, sourceAbsUrl);\n });\n } else {\n throw new exceptions_1.BaseException(\"No template specified for component \" + directiveType.name);\n }\n };\n DirectiveNormalizer.prototype.normalizeLoadedTemplate = function(directiveType, templateMeta, template, templateAbsUrl) {\n var _this = this;\n var rootNodesAndErrors = this._htmlParser.parse(template, directiveType.name);\n if (rootNodesAndErrors.errors.length > 0) {\n var errorString = rootNodesAndErrors.errors.join('\\n');\n throw new exceptions_1.BaseException(\"Template parse errors:\\n\" + errorString);\n }\n var visitor = new TemplatePreparseVisitor();\n html_ast_1.htmlVisitAll(visitor, rootNodesAndErrors.rootNodes);\n var allStyles = templateMeta.styles.concat(visitor.styles);\n var allStyleAbsUrls = visitor.styleUrls.filter(style_url_resolver_1.isStyleUrlResolvable).map(function(url) {\n return _this._urlResolver.resolve(templateAbsUrl, url);\n }).concat(templateMeta.styleUrls.filter(style_url_resolver_1.isStyleUrlResolvable).map(function(url) {\n return _this._urlResolver.resolve(directiveType.moduleUrl, url);\n }));\n var allResolvedStyles = allStyles.map(function(style) {\n var styleWithImports = style_url_resolver_1.extractStyleUrls(_this._urlResolver, templateAbsUrl, style);\n styleWithImports.styleUrls.forEach(function(styleUrl) {\n return allStyleAbsUrls.push(styleUrl);\n });\n return styleWithImports.style;\n });\n var encapsulation = templateMeta.encapsulation;\n if (encapsulation === core_1.ViewEncapsulation.Emulated && allResolvedStyles.length === 0 && allStyleAbsUrls.length === 0) {\n encapsulation = core_1.ViewEncapsulation.None;\n }\n return new compile_metadata_1.CompileTemplateMetadata({\n encapsulation: encapsulation,\n template: template,\n templateUrl: templateAbsUrl,\n styles: allResolvedStyles,\n styleUrls: allStyleAbsUrls,\n ngContentSelectors: visitor.ngContentSelectors\n });\n };\n DirectiveNormalizer.decorators = [{type: core_1.Injectable}];\n DirectiveNormalizer.ctorParameters = [{type: xhr_1.XHR}, {type: url_resolver_1.UrlResolver}, {type: html_parser_1.HtmlParser}];\n return DirectiveNormalizer;\n}());\nexports.DirectiveNormalizer = DirectiveNormalizer;\nvar TemplatePreparseVisitor = (function() {\n function TemplatePreparseVisitor() {\n this.ngContentSelectors = [];\n this.styles = [];\n this.styleUrls = [];\n this.ngNonBindableStackCount = 0;\n }\n TemplatePreparseVisitor.prototype.visitElement = function(ast, context) {\n var preparsedElement = template_preparser_1.preparseElement(ast);\n switch (preparsedElement.type) {\n case template_preparser_1.PreparsedElementType.NG_CONTENT:\n if (this.ngNonBindableStackCount === 0) {\n this.ngContentSelectors.push(preparsedElement.selectAttr);\n }\n break;\n case template_preparser_1.PreparsedElementType.STYLE:\n var textContent = '';\n ast.children.forEach(function(child) {\n if (child instanceof html_ast_1.HtmlTextAst) {\n textContent += child.value;\n }\n });\n this.styles.push(textContent);\n break;\n case template_preparser_1.PreparsedElementType.STYLESHEET:\n this.styleUrls.push(preparsedElement.hrefAttr);\n break;\n default:\n break;\n }\n if (preparsedElement.nonBindable) {\n this.ngNonBindableStackCount++;\n }\n html_ast_1.htmlVisitAll(this, ast.children);\n if (preparsedElement.nonBindable) {\n this.ngNonBindableStackCount--;\n }\n return null;\n };\n TemplatePreparseVisitor.prototype.visitComment = function(ast, context) {\n return null;\n };\n TemplatePreparseVisitor.prototype.visitAttr = function(ast, context) {\n return null;\n };\n TemplatePreparseVisitor.prototype.visitText = function(ast, context) {\n return null;\n };\n TemplatePreparseVisitor.prototype.visitExpansion = function(ast, context) {\n return null;\n };\n TemplatePreparseVisitor.prototype.visitExpansionCase = function(ast, context) {\n return null;\n };\n return TemplatePreparseVisitor;\n}());\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar collection_1 = require('./facade/collection');\nfunction _isDirectiveMetadata(type) {\n return type instanceof core_1.DirectiveMetadata;\n}\nvar DirectiveResolver = (function() {\n function DirectiveResolver(_reflector) {\n if (lang_1.isPresent(_reflector)) {\n this._reflector = _reflector;\n } else {\n this._reflector = core_1.reflector;\n }\n }\n DirectiveResolver.prototype.resolve = function(type) {\n var typeMetadata = this._reflector.annotations(core_1.resolveForwardRef(type));\n if (lang_1.isPresent(typeMetadata)) {\n var metadata = typeMetadata.find(_isDirectiveMetadata);\n if (lang_1.isPresent(metadata)) {\n var propertyMetadata = this._reflector.propMetadata(type);\n return this._mergeWithPropertyMetadata(metadata, propertyMetadata, type);\n }\n }\n throw new exceptions_1.BaseException(\"No Directive annotation found on \" + lang_1.stringify(type));\n };\n DirectiveResolver.prototype._mergeWithPropertyMetadata = function(dm, propertyMetadata, directiveType) {\n var inputs = [];\n var outputs = [];\n var host = {};\n var queries = {};\n collection_1.StringMapWrapper.forEach(propertyMetadata, function(metadata, propName) {\n metadata.forEach(function(a) {\n if (a instanceof core_1.InputMetadata) {\n if (lang_1.isPresent(a.bindingPropertyName)) {\n inputs.push(propName + \": \" + a.bindingPropertyName);\n } else {\n inputs.push(propName);\n }\n }\n if (a instanceof core_1.OutputMetadata) {\n if (lang_1.isPresent(a.bindingPropertyName)) {\n outputs.push(propName + \": \" + a.bindingPropertyName);\n } else {\n outputs.push(propName);\n }\n }\n if (a instanceof core_1.HostBindingMetadata) {\n if (lang_1.isPresent(a.hostPropertyName)) {\n host[(\"[\" + a.hostPropertyName + \"]\")] = propName;\n } else {\n host[(\"[\" + propName + \"]\")] = propName;\n }\n }\n if (a instanceof core_1.HostListenerMetadata) {\n var args = lang_1.isPresent(a.args) ? a.args.join(', ') : '';\n host[(\"(\" + a.eventName + \")\")] = propName + \"(\" + args + \")\";\n }\n if (a instanceof core_1.ContentChildrenMetadata) {\n queries[propName] = a;\n }\n if (a instanceof core_1.ViewChildrenMetadata) {\n queries[propName] = a;\n }\n if (a instanceof core_1.ContentChildMetadata) {\n queries[propName] = a;\n }\n if (a instanceof core_1.ViewChildMetadata) {\n queries[propName] = a;\n }\n });\n });\n return this._merge(dm, inputs, outputs, host, queries, directiveType);\n };\n DirectiveResolver.prototype._merge = function(dm, inputs, outputs, host, queries, directiveType) {\n var mergedInputs = lang_1.isPresent(dm.inputs) ? collection_1.ListWrapper.concat(dm.inputs, inputs) : inputs;\n var mergedOutputs;\n if (lang_1.isPresent(dm.outputs)) {\n dm.outputs.forEach(function(propName) {\n if (collection_1.ListWrapper.contains(outputs, propName)) {\n throw new exceptions_1.BaseException(\"Output event '\" + propName + \"' defined multiple times in '\" + lang_1.stringify(directiveType) + \"'\");\n }\n });\n mergedOutputs = collection_1.ListWrapper.concat(dm.outputs, outputs);\n } else {\n mergedOutputs = outputs;\n }\n var mergedHost = lang_1.isPresent(dm.host) ? collection_1.StringMapWrapper.merge(dm.host, host) : host;\n var mergedQueries = lang_1.isPresent(dm.queries) ? collection_1.StringMapWrapper.merge(dm.queries, queries) : queries;\n if (dm instanceof core_1.ComponentMetadata) {\n return new core_1.ComponentMetadata({\n selector: dm.selector,\n inputs: mergedInputs,\n outputs: mergedOutputs,\n host: mergedHost,\n exportAs: dm.exportAs,\n moduleId: dm.moduleId,\n queries: mergedQueries,\n changeDetection: dm.changeDetection,\n providers: dm.providers,\n viewProviders: dm.viewProviders\n });\n } else {\n return new core_1.DirectiveMetadata({\n selector: dm.selector,\n inputs: mergedInputs,\n outputs: mergedOutputs,\n host: mergedHost,\n exportAs: dm.exportAs,\n queries: mergedQueries,\n providers: dm.providers\n });\n }\n };\n DirectiveResolver.decorators = [{type: core_1.Injectable}];\n DirectiveResolver.ctorParameters = [{type: core_private_1.ReflectorReader}];\n return DirectiveResolver;\n}());\nexports.DirectiveResolver = DirectiveResolver;\nexports.CODEGEN_DIRECTIVE_RESOLVER = new DirectiveResolver(core_1.reflector);\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nfunction _isPipeMetadata(type) {\n return type instanceof core_1.PipeMetadata;\n}\nvar PipeResolver = (function() {\n function PipeResolver(_reflector) {\n if (lang_1.isPresent(_reflector)) {\n this._reflector = _reflector;\n } else {\n this._reflector = core_1.reflector;\n }\n }\n PipeResolver.prototype.resolve = function(type) {\n var metas = this._reflector.annotations(core_1.resolveForwardRef(type));\n if (lang_1.isPresent(metas)) {\n var annotation = metas.find(_isPipeMetadata);\n if (lang_1.isPresent(annotation)) {\n return annotation;\n }\n }\n throw new exceptions_1.BaseException(\"No Pipe decorator found on \" + lang_1.stringify(type));\n };\n PipeResolver.decorators = [{type: core_1.Injectable}];\n PipeResolver.ctorParameters = [{type: core_private_1.ReflectorReader}];\n return PipeResolver;\n}());\nexports.PipeResolver = PipeResolver;\nexports.CODEGEN_PIPE_RESOLVER = new PipeResolver(core_1.reflector);\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar collection_1 = require('./facade/collection');\nvar ViewResolver = (function() {\n function ViewResolver(_reflector) {\n this._cache = new collection_1.Map();\n if (lang_1.isPresent(_reflector)) {\n this._reflector = _reflector;\n } else {\n this._reflector = core_1.reflector;\n }\n }\n ViewResolver.prototype.resolve = function(component) {\n var view = this._cache.get(component);\n if (lang_1.isBlank(view)) {\n view = this._resolve(component);\n this._cache.set(component, view);\n }\n return view;\n };\n ViewResolver.prototype._resolve = function(component) {\n var compMeta;\n var viewMeta;\n this._reflector.annotations(component).forEach(function(m) {\n if (m instanceof core_1.ViewMetadata) {\n viewMeta = m;\n }\n if (m instanceof core_1.ComponentMetadata) {\n compMeta = m;\n }\n });\n if (lang_1.isPresent(compMeta)) {\n if (lang_1.isBlank(compMeta.template) && lang_1.isBlank(compMeta.templateUrl) && lang_1.isBlank(viewMeta)) {\n throw new exceptions_1.BaseException(\"Component '\" + lang_1.stringify(component) + \"' must have either 'template' or 'templateUrl' set.\");\n } else if (lang_1.isPresent(compMeta.template) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"template\", component);\n } else if (lang_1.isPresent(compMeta.templateUrl) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"templateUrl\", component);\n } else if (lang_1.isPresent(compMeta.directives) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"directives\", component);\n } else if (lang_1.isPresent(compMeta.pipes) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"pipes\", component);\n } else if (lang_1.isPresent(compMeta.encapsulation) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"encapsulation\", component);\n } else if (lang_1.isPresent(compMeta.styles) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"styles\", component);\n } else if (lang_1.isPresent(compMeta.styleUrls) && lang_1.isPresent(viewMeta)) {\n this._throwMixingViewAndComponent(\"styleUrls\", component);\n } else if (lang_1.isPresent(viewMeta)) {\n return viewMeta;\n } else {\n return new core_1.ViewMetadata({\n templateUrl: compMeta.templateUrl,\n template: compMeta.template,\n directives: compMeta.directives,\n pipes: compMeta.pipes,\n encapsulation: compMeta.encapsulation,\n styles: compMeta.styles,\n styleUrls: compMeta.styleUrls\n });\n }\n } else {\n if (lang_1.isBlank(viewMeta)) {\n throw new exceptions_1.BaseException(\"Could not compile '\" + lang_1.stringify(component) + \"' because it is not a component.\");\n } else {\n return viewMeta;\n }\n }\n return null;\n };\n ViewResolver.prototype._throwMixingViewAndComponent = function(propertyName, component) {\n throw new exceptions_1.BaseException(\"Component '\" + lang_1.stringify(component) + \"' cannot have both '\" + propertyName + \"' and '@View' set at the same time\\\"\");\n };\n ViewResolver.decorators = [{type: core_1.Injectable}];\n ViewResolver.ctorParameters = [{type: core_private_1.ReflectorReader}];\n return ViewResolver;\n}());\nexports.ViewResolver = ViewResolver;\n","/* */ \n\"use strict\";\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nfunction hasLifecycleHook(lcInterface, token) {\n if (!(token instanceof lang_1.Type))\n return false;\n var proto = token.prototype;\n switch (lcInterface) {\n case core_private_1.LifecycleHooks.AfterContentInit:\n return !!proto.ngAfterContentInit;\n case core_private_1.LifecycleHooks.AfterContentChecked:\n return !!proto.ngAfterContentChecked;\n case core_private_1.LifecycleHooks.AfterViewInit:\n return !!proto.ngAfterViewInit;\n case core_private_1.LifecycleHooks.AfterViewChecked:\n return !!proto.ngAfterViewChecked;\n case core_private_1.LifecycleHooks.OnChanges:\n return !!proto.ngOnChanges;\n case core_private_1.LifecycleHooks.DoCheck:\n return !!proto.ngDoCheck;\n case core_private_1.LifecycleHooks.OnDestroy:\n return !!proto.ngOnDestroy;\n case core_private_1.LifecycleHooks.OnInit:\n return !!proto.ngOnInit;\n default:\n return false;\n }\n}\nexports.hasLifecycleHook = hasLifecycleHook;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nfunction assertArrayOfStrings(identifier, value) {\n if (!lang_1.assertionsEnabled() || lang_1.isBlank(value)) {\n return;\n }\n if (!lang_1.isArray(value)) {\n throw new exceptions_1.BaseException(\"Expected '\" + identifier + \"' to be an array of strings.\");\n }\n for (var i = 0; i < value.length; i += 1) {\n if (!lang_1.isString(value[i])) {\n throw new exceptions_1.BaseException(\"Expected '\" + identifier + \"' to be an array of strings.\");\n }\n }\n}\nexports.assertArrayOfStrings = assertArrayOfStrings;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nvar collection_1 = require('./facade/collection');\nvar exceptions_1 = require('./facade/exceptions');\nvar cpl = require('./compile_metadata');\nvar directive_resolver_1 = require('./directive_resolver');\nvar pipe_resolver_1 = require('./pipe_resolver');\nvar view_resolver_1 = require('./view_resolver');\nvar directive_lifecycle_reflector_1 = require('./directive_lifecycle_reflector');\nvar util_1 = require('./util');\nvar assertions_1 = require('./assertions');\nvar url_resolver_1 = require('./url_resolver');\nvar core_private_2 = require('../core_private');\nvar CompileMetadataResolver = (function() {\n function CompileMetadataResolver(_directiveResolver, _pipeResolver, _viewResolver, _platformDirectives, _platformPipes, _reflector) {\n this._directiveResolver = _directiveResolver;\n this._pipeResolver = _pipeResolver;\n this._viewResolver = _viewResolver;\n this._platformDirectives = _platformDirectives;\n this._platformPipes = _platformPipes;\n this._directiveCache = new Map();\n this._pipeCache = new Map();\n this._anonymousTypes = new Map();\n this._anonymousTypeIndex = 0;\n if (lang_1.isPresent(_reflector)) {\n this._reflector = _reflector;\n } else {\n this._reflector = core_1.reflector;\n }\n }\n CompileMetadataResolver.prototype.sanitizeTokenName = function(token) {\n var identifier = lang_1.stringify(token);\n if (identifier.indexOf('(') >= 0) {\n var found = this._anonymousTypes.get(token);\n if (lang_1.isBlank(found)) {\n this._anonymousTypes.set(token, this._anonymousTypeIndex++);\n found = this._anonymousTypes.get(token);\n }\n identifier = \"anonymous_token_\" + found + \"_\";\n }\n return util_1.sanitizeIdentifier(identifier);\n };\n CompileMetadataResolver.prototype.getDirectiveMetadata = function(directiveType) {\n var meta = this._directiveCache.get(directiveType);\n if (lang_1.isBlank(meta)) {\n var dirMeta = this._directiveResolver.resolve(directiveType);\n var templateMeta = null;\n var changeDetectionStrategy = null;\n var viewProviders = [];\n var moduleUrl = staticTypeModuleUrl(directiveType);\n if (dirMeta instanceof core_1.ComponentMetadata) {\n assertions_1.assertArrayOfStrings('styles', dirMeta.styles);\n var cmpMeta = dirMeta;\n var viewMeta = this._viewResolver.resolve(directiveType);\n assertions_1.assertArrayOfStrings('styles', viewMeta.styles);\n templateMeta = new cpl.CompileTemplateMetadata({\n encapsulation: viewMeta.encapsulation,\n template: viewMeta.template,\n templateUrl: viewMeta.templateUrl,\n styles: viewMeta.styles,\n styleUrls: viewMeta.styleUrls\n });\n changeDetectionStrategy = cmpMeta.changeDetection;\n if (lang_1.isPresent(dirMeta.viewProviders)) {\n viewProviders = this.getProvidersMetadata(dirMeta.viewProviders);\n }\n moduleUrl = componentModuleUrl(this._reflector, directiveType, cmpMeta);\n }\n var providers = [];\n if (lang_1.isPresent(dirMeta.providers)) {\n providers = this.getProvidersMetadata(dirMeta.providers);\n }\n var queries = [];\n var viewQueries = [];\n if (lang_1.isPresent(dirMeta.queries)) {\n queries = this.getQueriesMetadata(dirMeta.queries, false);\n viewQueries = this.getQueriesMetadata(dirMeta.queries, true);\n }\n meta = cpl.CompileDirectiveMetadata.create({\n selector: dirMeta.selector,\n exportAs: dirMeta.exportAs,\n isComponent: lang_1.isPresent(templateMeta),\n type: this.getTypeMetadata(directiveType, moduleUrl),\n template: templateMeta,\n changeDetection: changeDetectionStrategy,\n inputs: dirMeta.inputs,\n outputs: dirMeta.outputs,\n host: dirMeta.host,\n lifecycleHooks: core_private_1.LIFECYCLE_HOOKS_VALUES.filter(function(hook) {\n return directive_lifecycle_reflector_1.hasLifecycleHook(hook, directiveType);\n }),\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries\n });\n this._directiveCache.set(directiveType, meta);\n }\n return meta;\n };\n CompileMetadataResolver.prototype.maybeGetDirectiveMetadata = function(someType) {\n try {\n return this.getDirectiveMetadata(someType);\n } catch (e) {\n if (e.message.indexOf('No Directive annotation') !== -1) {\n return null;\n }\n throw e;\n }\n };\n CompileMetadataResolver.prototype.getTypeMetadata = function(type, moduleUrl) {\n return new cpl.CompileTypeMetadata({\n name: this.sanitizeTokenName(type),\n moduleUrl: moduleUrl,\n runtime: type,\n diDeps: this.getDependenciesMetadata(type, null)\n });\n };\n CompileMetadataResolver.prototype.getFactoryMetadata = function(factory, moduleUrl) {\n return new cpl.CompileFactoryMetadata({\n name: this.sanitizeTokenName(factory),\n moduleUrl: moduleUrl,\n runtime: factory,\n diDeps: this.getDependenciesMetadata(factory, null)\n });\n };\n CompileMetadataResolver.prototype.getPipeMetadata = function(pipeType) {\n var meta = this._pipeCache.get(pipeType);\n if (lang_1.isBlank(meta)) {\n var pipeMeta = this._pipeResolver.resolve(pipeType);\n meta = new cpl.CompilePipeMetadata({\n type: this.getTypeMetadata(pipeType, staticTypeModuleUrl(pipeType)),\n name: pipeMeta.name,\n pure: pipeMeta.pure,\n lifecycleHooks: core_private_1.LIFECYCLE_HOOKS_VALUES.filter(function(hook) {\n return directive_lifecycle_reflector_1.hasLifecycleHook(hook, pipeType);\n })\n });\n this._pipeCache.set(pipeType, meta);\n }\n return meta;\n };\n CompileMetadataResolver.prototype.getViewDirectivesMetadata = function(component) {\n var _this = this;\n var view = this._viewResolver.resolve(component);\n var directives = flattenDirectives(view, this._platformDirectives);\n for (var i = 0; i < directives.length; i++) {\n if (!isValidType(directives[i])) {\n throw new exceptions_1.BaseException(\"Unexpected directive value '\" + lang_1.stringify(directives[i]) + \"' on the View of component '\" + lang_1.stringify(component) + \"'\");\n }\n }\n return directives.map(function(type) {\n return _this.getDirectiveMetadata(type);\n });\n };\n CompileMetadataResolver.prototype.getViewPipesMetadata = function(component) {\n var _this = this;\n var view = this._viewResolver.resolve(component);\n var pipes = flattenPipes(view, this._platformPipes);\n for (var i = 0; i < pipes.length; i++) {\n if (!isValidType(pipes[i])) {\n throw new exceptions_1.BaseException(\"Unexpected piped value '\" + lang_1.stringify(pipes[i]) + \"' on the View of component '\" + lang_1.stringify(component) + \"'\");\n }\n }\n return pipes.map(function(type) {\n return _this.getPipeMetadata(type);\n });\n };\n CompileMetadataResolver.prototype.getDependenciesMetadata = function(typeOrFunc, dependencies) {\n var _this = this;\n var params = lang_1.isPresent(dependencies) ? dependencies : this._reflector.parameters(typeOrFunc);\n if (lang_1.isBlank(params)) {\n params = [];\n }\n return params.map(function(param) {\n if (lang_1.isBlank(param)) {\n return null;\n }\n var isAttribute = false;\n var isHost = false;\n var isSelf = false;\n var isSkipSelf = false;\n var isOptional = false;\n var query = null;\n var viewQuery = null;\n var token = null;\n if (lang_1.isArray(param)) {\n param.forEach(function(paramEntry) {\n if (paramEntry instanceof core_1.HostMetadata) {\n isHost = true;\n } else if (paramEntry instanceof core_1.SelfMetadata) {\n isSelf = true;\n } else if (paramEntry instanceof core_1.SkipSelfMetadata) {\n isSkipSelf = true;\n } else if (paramEntry instanceof core_1.OptionalMetadata) {\n isOptional = true;\n } else if (paramEntry instanceof core_1.AttributeMetadata) {\n isAttribute = true;\n token = paramEntry.attributeName;\n } else if (paramEntry instanceof core_1.QueryMetadata) {\n if (paramEntry.isViewQuery) {\n viewQuery = paramEntry;\n } else {\n query = paramEntry;\n }\n } else if (paramEntry instanceof core_1.InjectMetadata) {\n token = paramEntry.token;\n } else if (isValidType(paramEntry) && lang_1.isBlank(token)) {\n token = paramEntry;\n }\n });\n } else {\n token = param;\n }\n if (lang_1.isBlank(token)) {\n return null;\n }\n return new cpl.CompileDiDependencyMetadata({\n isAttribute: isAttribute,\n isHost: isHost,\n isSelf: isSelf,\n isSkipSelf: isSkipSelf,\n isOptional: isOptional,\n query: lang_1.isPresent(query) ? _this.getQueryMetadata(query, null) : null,\n viewQuery: lang_1.isPresent(viewQuery) ? _this.getQueryMetadata(viewQuery, null) : null,\n token: _this.getTokenMetadata(token)\n });\n });\n };\n CompileMetadataResolver.prototype.getTokenMetadata = function(token) {\n token = core_1.resolveForwardRef(token);\n var compileToken;\n if (lang_1.isString(token)) {\n compileToken = new cpl.CompileTokenMetadata({value: token});\n } else {\n compileToken = new cpl.CompileTokenMetadata({identifier: new cpl.CompileIdentifierMetadata({\n runtime: token,\n name: this.sanitizeTokenName(token),\n moduleUrl: staticTypeModuleUrl(token)\n })});\n }\n return compileToken;\n };\n CompileMetadataResolver.prototype.getProvidersMetadata = function(providers) {\n var _this = this;\n return providers.map(function(provider) {\n provider = core_1.resolveForwardRef(provider);\n if (lang_1.isArray(provider)) {\n return _this.getProvidersMetadata(provider);\n } else if (provider instanceof core_1.Provider) {\n return _this.getProviderMetadata(provider);\n } else if (core_private_2.isProviderLiteral(provider)) {\n return _this.getProviderMetadata(core_private_2.createProvider(provider));\n } else {\n return _this.getTypeMetadata(provider, staticTypeModuleUrl(provider));\n }\n });\n };\n CompileMetadataResolver.prototype.getProviderMetadata = function(provider) {\n var compileDeps;\n if (lang_1.isPresent(provider.useClass)) {\n compileDeps = this.getDependenciesMetadata(provider.useClass, provider.dependencies);\n } else if (lang_1.isPresent(provider.useFactory)) {\n compileDeps = this.getDependenciesMetadata(provider.useFactory, provider.dependencies);\n }\n return new cpl.CompileProviderMetadata({\n token: this.getTokenMetadata(provider.token),\n useClass: lang_1.isPresent(provider.useClass) ? this.getTypeMetadata(provider.useClass, staticTypeModuleUrl(provider.useClass)) : null,\n useValue: convertToCompileValue(provider.useValue),\n useFactory: lang_1.isPresent(provider.useFactory) ? this.getFactoryMetadata(provider.useFactory, staticTypeModuleUrl(provider.useFactory)) : null,\n useExisting: lang_1.isPresent(provider.useExisting) ? this.getTokenMetadata(provider.useExisting) : null,\n deps: compileDeps,\n multi: provider.multi\n });\n };\n CompileMetadataResolver.prototype.getQueriesMetadata = function(queries, isViewQuery) {\n var _this = this;\n var compileQueries = [];\n collection_1.StringMapWrapper.forEach(queries, function(query, propertyName) {\n if (query.isViewQuery === isViewQuery) {\n compileQueries.push(_this.getQueryMetadata(query, propertyName));\n }\n });\n return compileQueries;\n };\n CompileMetadataResolver.prototype.getQueryMetadata = function(q, propertyName) {\n var _this = this;\n var selectors;\n if (q.isVarBindingQuery) {\n selectors = q.varBindings.map(function(varName) {\n return _this.getTokenMetadata(varName);\n });\n } else {\n selectors = [this.getTokenMetadata(q.selector)];\n }\n return new cpl.CompileQueryMetadata({\n selectors: selectors,\n first: q.first,\n descendants: q.descendants,\n propertyName: propertyName,\n read: lang_1.isPresent(q.read) ? this.getTokenMetadata(q.read) : null\n });\n };\n CompileMetadataResolver.decorators = [{type: core_1.Injectable}];\n CompileMetadataResolver.ctorParameters = [{type: directive_resolver_1.DirectiveResolver}, {type: pipe_resolver_1.PipeResolver}, {type: view_resolver_1.ViewResolver}, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {\n type: core_1.Inject,\n args: [core_1.PLATFORM_DIRECTIVES]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {\n type: core_1.Inject,\n args: [core_1.PLATFORM_PIPES]\n }]\n }, {type: core_private_1.ReflectorReader}];\n return CompileMetadataResolver;\n}());\nexports.CompileMetadataResolver = CompileMetadataResolver;\nfunction flattenDirectives(view, platformDirectives) {\n var directives = [];\n if (lang_1.isPresent(platformDirectives)) {\n flattenArray(platformDirectives, directives);\n }\n if (lang_1.isPresent(view.directives)) {\n flattenArray(view.directives, directives);\n }\n return directives;\n}\nfunction flattenPipes(view, platformPipes) {\n var pipes = [];\n if (lang_1.isPresent(platformPipes)) {\n flattenArray(platformPipes, pipes);\n }\n if (lang_1.isPresent(view.pipes)) {\n flattenArray(view.pipes, pipes);\n }\n return pipes;\n}\nfunction flattenArray(tree, out) {\n for (var i = 0; i < tree.length; i++) {\n var item = core_1.resolveForwardRef(tree[i]);\n if (lang_1.isArray(item)) {\n flattenArray(item, out);\n } else {\n out.push(item);\n }\n }\n}\nfunction isStaticType(value) {\n return lang_1.isStringMap(value) && lang_1.isPresent(value['name']) && lang_1.isPresent(value['filePath']);\n}\nfunction isValidType(value) {\n return isStaticType(value) || (value instanceof lang_1.Type);\n}\nfunction staticTypeModuleUrl(value) {\n return isStaticType(value) ? value['filePath'] : null;\n}\nfunction componentModuleUrl(reflector, type, cmpMetadata) {\n if (isStaticType(type)) {\n return staticTypeModuleUrl(type);\n }\n if (lang_1.isPresent(cmpMetadata.moduleId)) {\n var moduleId = cmpMetadata.moduleId;\n var scheme = url_resolver_1.getUrlScheme(moduleId);\n return lang_1.isPresent(scheme) && scheme.length > 0 ? moduleId : \"package:\" + moduleId + util_1.MODULE_SUFFIX;\n }\n return reflector.importUri(type);\n}\nfunction convertToCompileValue(value) {\n return util_1.visitValue(value, new _CompileValueConverter(), null);\n}\nvar _CompileValueConverter = (function(_super) {\n __extends(_CompileValueConverter, _super);\n function _CompileValueConverter() {\n _super.apply(this, arguments);\n }\n _CompileValueConverter.prototype.visitOther = function(value, context) {\n if (isStaticType(value)) {\n return new cpl.CompileIdentifierMetadata({\n name: value['name'],\n moduleUrl: staticTypeModuleUrl(value)\n });\n } else {\n return new cpl.CompileIdentifierMetadata({runtime: value});\n }\n };\n return _CompileValueConverter;\n}(util_1.ValueTransformer));\n","/* */ \n(function(process) {\n \"use strict\";\n var collection_1 = require('./facade/collection');\n var lang_1 = require('./facade/lang');\n var ShadowCss = (function() {\n function ShadowCss() {\n this.strictStyling = true;\n }\n ShadowCss.prototype.shimCssText = function(cssText, selector, hostSelector) {\n if (hostSelector === void 0) {\n hostSelector = '';\n }\n cssText = stripComments(cssText);\n cssText = this._insertDirectives(cssText);\n return this._scopeCssText(cssText, selector, hostSelector);\n };\n ShadowCss.prototype._insertDirectives = function(cssText) {\n cssText = this._insertPolyfillDirectivesInCssText(cssText);\n return this._insertPolyfillRulesInCssText(cssText);\n };\n ShadowCss.prototype._insertPolyfillDirectivesInCssText = function(cssText) {\n return lang_1.StringWrapper.replaceAllMapped(cssText, _cssContentNextSelectorRe, function(m) {\n return m[1] + '{';\n });\n };\n ShadowCss.prototype._insertPolyfillRulesInCssText = function(cssText) {\n return lang_1.StringWrapper.replaceAllMapped(cssText, _cssContentRuleRe, function(m) {\n var rule = m[0];\n rule = lang_1.StringWrapper.replace(rule, m[1], '');\n rule = lang_1.StringWrapper.replace(rule, m[2], '');\n return m[3] + rule;\n });\n };\n ShadowCss.prototype._scopeCssText = function(cssText, scopeSelector, hostSelector) {\n var unscoped = this._extractUnscopedRulesFromCssText(cssText);\n cssText = this._insertPolyfillHostInCssText(cssText);\n cssText = this._convertColonHost(cssText);\n cssText = this._convertColonHostContext(cssText);\n cssText = this._convertShadowDOMSelectors(cssText);\n if (lang_1.isPresent(scopeSelector)) {\n cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\n }\n cssText = cssText + '\\n' + unscoped;\n return cssText.trim();\n };\n ShadowCss.prototype._extractUnscopedRulesFromCssText = function(cssText) {\n var r = '',\n m;\n var matcher = lang_1.RegExpWrapper.matcher(_cssContentUnscopedRuleRe, cssText);\n while (lang_1.isPresent(m = lang_1.RegExpMatcherWrapper.next(matcher))) {\n var rule = m[0];\n rule = lang_1.StringWrapper.replace(rule, m[2], '');\n rule = lang_1.StringWrapper.replace(rule, m[1], m[3]);\n r += rule + '\\n\\n';\n }\n return r;\n };\n ShadowCss.prototype._convertColonHost = function(cssText) {\n return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\n };\n ShadowCss.prototype._convertColonHostContext = function(cssText) {\n return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\n };\n ShadowCss.prototype._convertColonRule = function(cssText, regExp, partReplacer) {\n return lang_1.StringWrapper.replaceAllMapped(cssText, regExp, function(m) {\n if (lang_1.isPresent(m[2])) {\n var parts = m[2].split(','),\n r = [];\n for (var i = 0; i < parts.length; i++) {\n var p = parts[i];\n if (lang_1.isBlank(p))\n break;\n p = p.trim();\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n } else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n };\n ShadowCss.prototype._colonHostContextPartReplacer = function(host, part, suffix) {\n if (lang_1.StringWrapper.contains(part, _polyfillHost)) {\n return this._colonHostPartReplacer(host, part, suffix);\n } else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n };\n ShadowCss.prototype._colonHostPartReplacer = function(host, part, suffix) {\n return host + lang_1.StringWrapper.replace(part, _polyfillHost, '') + suffix;\n };\n ShadowCss.prototype._convertShadowDOMSelectors = function(cssText) {\n for (var i = 0; i < _shadowDOMSelectorsRe.length; i++) {\n cssText = lang_1.StringWrapper.replaceAll(cssText, _shadowDOMSelectorsRe[i], ' ');\n }\n return cssText;\n };\n ShadowCss.prototype._scopeSelectors = function(cssText, scopeSelector, hostSelector) {\n var _this = this;\n return processRules(cssText, function(rule) {\n var selector = rule.selector;\n var content = rule.content;\n if (rule.selector[0] != '@' || rule.selector.startsWith('@page')) {\n selector = _this._scopeSelector(rule.selector, scopeSelector, hostSelector, _this.strictStyling);\n } else if (rule.selector.startsWith('@media')) {\n content = _this._scopeSelectors(rule.content, scopeSelector, hostSelector);\n }\n return new CssRule(selector, content);\n });\n };\n ShadowCss.prototype._scopeSelector = function(selector, scopeSelector, hostSelector, strict) {\n var r = [],\n parts = selector.split(',');\n for (var i = 0; i < parts.length; i++) {\n var p = parts[i].trim();\n var deepParts = lang_1.StringWrapper.split(p, _shadowDeepSelectors);\n var shallowPart = deepParts[0];\n if (this._selectorNeedsScoping(shallowPart, scopeSelector)) {\n deepParts[0] = strict && !lang_1.StringWrapper.contains(shallowPart, _polyfillHostNoCombinator) ? this._applyStrictSelectorScope(shallowPart, scopeSelector) : this._applySelectorScope(shallowPart, scopeSelector, hostSelector);\n }\n r.push(deepParts.join(' '));\n }\n return r.join(', ');\n };\n ShadowCss.prototype._selectorNeedsScoping = function(selector, scopeSelector) {\n var re = this._makeScopeMatcher(scopeSelector);\n return !lang_1.isPresent(lang_1.RegExpWrapper.firstMatch(re, selector));\n };\n ShadowCss.prototype._makeScopeMatcher = function(scopeSelector) {\n var lre = /\\[/g;\n var rre = /\\]/g;\n scopeSelector = lang_1.StringWrapper.replaceAll(scopeSelector, lre, '\\\\[');\n scopeSelector = lang_1.StringWrapper.replaceAll(scopeSelector, rre, '\\\\]');\n return lang_1.RegExpWrapper.create('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n };\n ShadowCss.prototype._applySelectorScope = function(selector, scopeSelector, hostSelector) {\n return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\n };\n ShadowCss.prototype._applySimpleSelectorScope = function(selector, scopeSelector, hostSelector) {\n if (lang_1.isPresent(lang_1.RegExpWrapper.firstMatch(_polyfillHostRe, selector))) {\n var replaceBy = this.strictStyling ? \"[\" + hostSelector + \"]\" : scopeSelector;\n selector = lang_1.StringWrapper.replace(selector, _polyfillHostNoCombinator, replaceBy);\n return lang_1.StringWrapper.replaceAll(selector, _polyfillHostRe, replaceBy + ' ');\n } else {\n return scopeSelector + ' ' + selector;\n }\n };\n ShadowCss.prototype._applyStrictSelectorScope = function(selector, scopeSelector) {\n var isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = lang_1.StringWrapper.replaceAllMapped(scopeSelector, isRe, function(m) {\n return m[1];\n });\n var splits = [' ', '>', '+', '~'],\n scoped = selector,\n attrName = '[' + scopeSelector + ']';\n for (var i = 0; i < splits.length; i++) {\n var sep = splits[i];\n var parts = scoped.split(sep);\n scoped = parts.map(function(p) {\n var t = lang_1.StringWrapper.replaceAll(p.trim(), _polyfillHostRe, '');\n if (t.length > 0 && !collection_1.ListWrapper.contains(splits, t) && !lang_1.StringWrapper.contains(t, attrName)) {\n var re = /([^:]*)(:*)(.*)/g;\n var m = lang_1.RegExpWrapper.firstMatch(re, t);\n if (lang_1.isPresent(m)) {\n p = m[1] + attrName + m[2] + m[3];\n }\n }\n return p;\n }).join(sep);\n }\n return scoped;\n };\n ShadowCss.prototype._insertPolyfillHostInCssText = function(selector) {\n selector = lang_1.StringWrapper.replaceAll(selector, _colonHostContextRe, _polyfillHostContext);\n selector = lang_1.StringWrapper.replaceAll(selector, _colonHostRe, _polyfillHost);\n return selector;\n };\n return ShadowCss;\n }());\n exports.ShadowCss = ShadowCss;\n var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?['\"](.*?)['\"][;\\s]*}([^{]*?){/gim;\n var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*['\"](.*?)['\"])[;\\s]*[^}]*}/gim;\n var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*['\"](.*?)['\"])[;\\s]*[^}]*}/gim;\n var _polyfillHost = '-shadowcsshost';\n var _polyfillHostContext = '-shadowcsscontext';\n var _parenSuffix = ')(?:\\\\((' + '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' + ')\\\\))?([^,{]*)';\n var _cssColonHostRe = lang_1.RegExpWrapper.create('(' + _polyfillHost + _parenSuffix, 'im');\n var _cssColonHostContextRe = lang_1.RegExpWrapper.create('(' + _polyfillHostContext + _parenSuffix, 'im');\n var _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\n var _shadowDOMSelectorsRe = [/::shadow/g, /::content/g, /\\/shadow-deep\\//g, /\\/shadow\\//g];\n var _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)/g;\n var _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\n var _polyfillHostRe = lang_1.RegExpWrapper.create(_polyfillHost, 'im');\n var _colonHostRe = /:host/gim;\n var _colonHostContextRe = /:host-context/gim;\n var _commentRe = /\\/\\*[\\s\\S]*?\\*\\//g;\n function stripComments(input) {\n return lang_1.StringWrapper.replaceAllMapped(input, _commentRe, function(_) {\n return '';\n });\n }\n var _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\n var _curlyRe = /([{}])/g;\n var OPEN_CURLY = '{';\n var CLOSE_CURLY = '}';\n var BLOCK_PLACEHOLDER = '%BLOCK%';\n var CssRule = (function() {\n function CssRule(selector, content) {\n this.selector = selector;\n this.content = content;\n }\n return CssRule;\n }());\n exports.CssRule = CssRule;\n function processRules(input, ruleCallback) {\n var inputWithEscapedBlocks = escapeBlocks(input);\n var nextBlockIndex = 0;\n return lang_1.StringWrapper.replaceAllMapped(inputWithEscapedBlocks.escapedString, _ruleRe, function(m) {\n var selector = m[2];\n var content = '';\n var suffix = m[4];\n var contentPrefix = '';\n if (lang_1.isPresent(m[4]) && m[4].startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = m[4].substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n var rule = ruleCallback(new CssRule(selector, content));\n return \"\" + m[1] + rule.selector + m[3] + contentPrefix + rule.content + suffix;\n });\n }\n exports.processRules = processRules;\n var StringWithEscapedBlocks = (function() {\n function StringWithEscapedBlocks(escapedString, blocks) {\n this.escapedString = escapedString;\n this.blocks = blocks;\n }\n return StringWithEscapedBlocks;\n }());\n function escapeBlocks(input) {\n var inputParts = lang_1.StringWrapper.split(input, _curlyRe);\n var resultParts = [];\n var escapedBlocks = [];\n var bracketCount = 0;\n var currentBlockParts = [];\n for (var partIndex = 0; partIndex < inputParts.length; partIndex++) {\n var part = inputParts[partIndex];\n if (part == CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n } else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part == OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\n }\n})(require('process'));\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar StyleWithImports = (function() {\n function StyleWithImports(style, styleUrls) {\n this.style = style;\n this.styleUrls = styleUrls;\n }\n return StyleWithImports;\n}());\nexports.StyleWithImports = StyleWithImports;\nfunction isStyleUrlResolvable(url) {\n if (lang_1.isBlank(url) || url.length === 0 || url[0] == '/')\n return false;\n var schemeMatch = lang_1.RegExpWrapper.firstMatch(_urlWithSchemaRe, url);\n return lang_1.isBlank(schemeMatch) || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\n}\nexports.isStyleUrlResolvable = isStyleUrlResolvable;\nfunction extractStyleUrls(resolver, baseUrl, cssText) {\n var foundUrls = [];\n var modifiedCssText = lang_1.StringWrapper.replaceAllMapped(cssText, _cssImportRe, function(m) {\n var url = lang_1.isPresent(m[1]) ? m[1] : m[2];\n if (!isStyleUrlResolvable(url)) {\n return m[0];\n }\n foundUrls.push(resolver.resolve(baseUrl, url));\n return '';\n });\n return new StyleWithImports(modifiedCssText, foundUrls);\n}\nexports.extractStyleUrls = extractStyleUrls;\nvar _cssImportRe = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\nvar _urlWithSchemaRe = /^([a-zA-Z\\-\\+\\.]+):/g;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar compile_metadata_1 = require('./compile_metadata');\nvar o = require('./output/output_ast');\nvar shadow_css_1 = require('./shadow_css');\nvar url_resolver_1 = require('./url_resolver');\nvar style_url_resolver_1 = require('./style_url_resolver');\nvar lang_1 = require('./facade/lang');\nvar COMPONENT_VARIABLE = '%COMP%';\nvar HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\nvar CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\nvar StylesCompileDependency = (function() {\n function StylesCompileDependency(moduleUrl, isShimmed, valuePlaceholder) {\n this.moduleUrl = moduleUrl;\n this.isShimmed = isShimmed;\n this.valuePlaceholder = valuePlaceholder;\n }\n return StylesCompileDependency;\n}());\nexports.StylesCompileDependency = StylesCompileDependency;\nvar StylesCompileResult = (function() {\n function StylesCompileResult(statements, stylesVar, dependencies) {\n this.statements = statements;\n this.stylesVar = stylesVar;\n this.dependencies = dependencies;\n }\n return StylesCompileResult;\n}());\nexports.StylesCompileResult = StylesCompileResult;\nvar StyleCompiler = (function() {\n function StyleCompiler(_urlResolver) {\n this._urlResolver = _urlResolver;\n this._shadowCss = new shadow_css_1.ShadowCss();\n }\n StyleCompiler.prototype.compileComponent = function(comp) {\n var shim = comp.template.encapsulation === core_1.ViewEncapsulation.Emulated;\n return this._compileStyles(getStylesVarName(comp), comp.template.styles, comp.template.styleUrls, shim);\n };\n StyleCompiler.prototype.compileStylesheet = function(stylesheetUrl, cssText, isShimmed) {\n var styleWithImports = style_url_resolver_1.extractStyleUrls(this._urlResolver, stylesheetUrl, cssText);\n return this._compileStyles(getStylesVarName(null), [styleWithImports.style], styleWithImports.styleUrls, isShimmed);\n };\n StyleCompiler.prototype._compileStyles = function(stylesVar, plainStyles, absUrls, shim) {\n var _this = this;\n var styleExpressions = plainStyles.map(function(plainStyle) {\n return o.literal(_this._shimIfNeeded(plainStyle, shim));\n });\n var dependencies = [];\n for (var i = 0; i < absUrls.length; i++) {\n var identifier = new compile_metadata_1.CompileIdentifierMetadata({name: getStylesVarName(null)});\n dependencies.push(new StylesCompileDependency(absUrls[i], shim, identifier));\n styleExpressions.push(new o.ExternalExpr(identifier));\n }\n var stmt = o.variable(stylesVar).set(o.literalArr(styleExpressions, new o.ArrayType(o.DYNAMIC_TYPE, [o.TypeModifier.Const]))).toDeclStmt(null, [o.StmtModifier.Final]);\n return new StylesCompileResult([stmt], stylesVar, dependencies);\n };\n StyleCompiler.prototype._shimIfNeeded = function(style, shim) {\n return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\n };\n StyleCompiler.decorators = [{type: core_1.Injectable}];\n StyleCompiler.ctorParameters = [{type: url_resolver_1.UrlResolver}];\n return StyleCompiler;\n}());\nexports.StyleCompiler = StyleCompiler;\nfunction getStylesVarName(component) {\n var result = \"styles\";\n if (lang_1.isPresent(component)) {\n result += \"_\" + component.type.name;\n }\n return result;\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar util_1 = require('./util');\nvar _PurePipeProxy = (function() {\n function _PurePipeProxy(view, instance, argCount) {\n this.view = view;\n this.instance = instance;\n this.argCount = argCount;\n }\n return _PurePipeProxy;\n}());\nvar CompilePipe = (function() {\n function CompilePipe(view, meta) {\n this.view = view;\n this.meta = meta;\n this._purePipeProxies = [];\n this.instance = o.THIS_EXPR.prop(\"_pipe_\" + meta.name + \"_\" + view.pipeCount++);\n }\n CompilePipe.call = function(view, name, args) {\n var compView = view.componentView;\n var meta = _findPipeMeta(compView, name);\n var pipe;\n if (meta.pure) {\n pipe = compView.purePipes.get(name);\n if (lang_1.isBlank(pipe)) {\n pipe = new CompilePipe(compView, meta);\n compView.purePipes.set(name, pipe);\n compView.pipes.push(pipe);\n }\n } else {\n pipe = new CompilePipe(view, meta);\n view.pipes.push(pipe);\n }\n return pipe._call(view, args);\n };\n Object.defineProperty(CompilePipe.prototype, \"pure\", {\n get: function() {\n return this.meta.pure;\n },\n enumerable: true,\n configurable: true\n });\n CompilePipe.prototype.create = function() {\n var _this = this;\n var deps = this.meta.type.diDeps.map(function(diDep) {\n if (diDep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef))) {\n return util_1.getPropertyInView(o.THIS_EXPR.prop('ref'), _this.view, _this.view.componentView);\n }\n return util_1.injectFromViewParentInjector(diDep.token, false);\n });\n this.view.fields.push(new o.ClassField(this.instance.name, o.importType(this.meta.type)));\n this.view.createMethod.resetDebugInfo(null, null);\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(this.instance.name).set(o.importExpr(this.meta.type).instantiate(deps)).toStmt());\n this._purePipeProxies.forEach(function(purePipeProxy) {\n var pipeInstanceSeenFromPureProxy = util_1.getPropertyInView(_this.instance, purePipeProxy.view, _this.view);\n util_1.createPureProxy(pipeInstanceSeenFromPureProxy.prop('transform').callMethod(o.BuiltinMethod.bind, [pipeInstanceSeenFromPureProxy]), purePipeProxy.argCount, purePipeProxy.instance, purePipeProxy.view);\n });\n };\n CompilePipe.prototype._call = function(callingView, args) {\n if (this.meta.pure) {\n var purePipeProxy = new _PurePipeProxy(callingView, o.THIS_EXPR.prop(this.instance.name + \"_\" + this._purePipeProxies.length), args.length);\n this._purePipeProxies.push(purePipeProxy);\n return o.importExpr(identifiers_1.Identifiers.castByValue).callFn([purePipeProxy.instance, util_1.getPropertyInView(this.instance.prop('transform'), callingView, this.view)]).callFn(args);\n } else {\n return util_1.getPropertyInView(this.instance, callingView, this.view).callMethod('transform', args);\n }\n };\n return CompilePipe;\n}());\nexports.CompilePipe = CompilePipe;\nfunction _findPipeMeta(view, name) {\n var pipeMeta = null;\n for (var i = view.pipeMetas.length - 1; i >= 0; i--) {\n var localPipeMeta = view.pipeMetas[i];\n if (localPipeMeta.name == name) {\n pipeMeta = localPipeMeta;\n break;\n }\n }\n if (lang_1.isBlank(pipeMeta)) {\n throw new exceptions_1.BaseException(\"Illegal state: Could not find pipe \" + name + \" although the parser should have detected this error!\");\n }\n return pipeMeta;\n}\n","/* */ \n\"use strict\";\nvar core_private_1 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar o = require('../output/output_ast');\nvar constants_1 = require('./constants');\nvar compile_query_1 = require('./compile_query');\nvar compile_method_1 = require('./compile_method');\nvar compile_pipe_1 = require('./compile_pipe');\nvar compile_metadata_1 = require('../compile_metadata');\nvar util_1 = require('./util');\nvar identifiers_1 = require('../identifiers');\nvar CompileView = (function() {\n function CompileView(component, genConfig, pipeMetas, styles, viewIndex, declarationElement, templateVariableBindings) {\n var _this = this;\n this.component = component;\n this.genConfig = genConfig;\n this.pipeMetas = pipeMetas;\n this.styles = styles;\n this.viewIndex = viewIndex;\n this.declarationElement = declarationElement;\n this.templateVariableBindings = templateVariableBindings;\n this.nodes = [];\n this.rootNodesOrAppElements = [];\n this.bindings = [];\n this.classStatements = [];\n this.eventHandlerMethods = [];\n this.fields = [];\n this.getters = [];\n this.disposables = [];\n this.subscriptions = [];\n this.purePipes = new Map();\n this.pipes = [];\n this.locals = new Map();\n this.literalArrayCount = 0;\n this.literalMapCount = 0;\n this.pipeCount = 0;\n this.createMethod = new compile_method_1.CompileMethod(this);\n this.injectorGetMethod = new compile_method_1.CompileMethod(this);\n this.updateContentQueriesMethod = new compile_method_1.CompileMethod(this);\n this.dirtyParentQueriesMethod = new compile_method_1.CompileMethod(this);\n this.updateViewQueriesMethod = new compile_method_1.CompileMethod(this);\n this.detectChangesInInputsMethod = new compile_method_1.CompileMethod(this);\n this.detectChangesRenderPropertiesMethod = new compile_method_1.CompileMethod(this);\n this.afterContentLifecycleCallbacksMethod = new compile_method_1.CompileMethod(this);\n this.afterViewLifecycleCallbacksMethod = new compile_method_1.CompileMethod(this);\n this.destroyMethod = new compile_method_1.CompileMethod(this);\n this.viewType = getViewType(component, viewIndex);\n this.className = \"_View_\" + component.type.name + viewIndex;\n this.classType = o.importType(new compile_metadata_1.CompileIdentifierMetadata({name: this.className}));\n this.viewFactory = o.variable(util_1.getViewFactoryName(component, viewIndex));\n if (this.viewType === core_private_1.ViewType.COMPONENT || this.viewType === core_private_1.ViewType.HOST) {\n this.componentView = this;\n } else {\n this.componentView = this.declarationElement.view.componentView;\n }\n this.componentContext = util_1.getPropertyInView(o.THIS_EXPR.prop('context'), this, this.componentView);\n var viewQueries = new compile_metadata_1.CompileTokenMap();\n if (this.viewType === core_private_1.ViewType.COMPONENT) {\n var directiveInstance = o.THIS_EXPR.prop('context');\n collection_1.ListWrapper.forEachWithIndex(this.component.viewQueries, function(queryMeta, queryIndex) {\n var propName = \"_viewQuery_\" + queryMeta.selectors[0].name + \"_\" + queryIndex;\n var queryList = compile_query_1.createQueryList(queryMeta, directiveInstance, propName, _this);\n var query = new compile_query_1.CompileQuery(queryMeta, queryList, directiveInstance, _this);\n compile_query_1.addQueryToTokenMap(viewQueries, query);\n });\n var constructorViewQueryCount = 0;\n this.component.type.diDeps.forEach(function(dep) {\n if (lang_1.isPresent(dep.viewQuery)) {\n var queryList = o.THIS_EXPR.prop('declarationAppElement').prop('componentConstructorViewQueries').key(o.literal(constructorViewQueryCount++));\n var query = new compile_query_1.CompileQuery(dep.viewQuery, queryList, null, _this);\n compile_query_1.addQueryToTokenMap(viewQueries, query);\n }\n });\n }\n this.viewQueries = viewQueries;\n templateVariableBindings.forEach(function(entry) {\n _this.locals.set(entry[1], o.THIS_EXPR.prop('context').prop(entry[0]));\n });\n if (!this.declarationElement.isNull()) {\n this.declarationElement.setEmbeddedView(this);\n }\n }\n CompileView.prototype.callPipe = function(name, input, args) {\n return compile_pipe_1.CompilePipe.call(this, name, [input].concat(args));\n };\n CompileView.prototype.getLocal = function(name) {\n if (name == constants_1.EventHandlerVars.event.name) {\n return constants_1.EventHandlerVars.event;\n }\n var currView = this;\n var result = currView.locals.get(name);\n while (lang_1.isBlank(result) && lang_1.isPresent(currView.declarationElement.view)) {\n currView = currView.declarationElement.view;\n result = currView.locals.get(name);\n }\n if (lang_1.isPresent(result)) {\n return util_1.getPropertyInView(result, this, currView);\n } else {\n return null;\n }\n };\n CompileView.prototype.createLiteralArray = function(values) {\n if (values.length === 0) {\n return o.importExpr(identifiers_1.Identifiers.EMPTY_ARRAY);\n }\n var proxyExpr = o.THIS_EXPR.prop(\"_arr_\" + this.literalArrayCount++);\n var proxyParams = [];\n var proxyReturnEntries = [];\n for (var i = 0; i < values.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new o.FnParam(paramName));\n proxyReturnEntries.push(o.variable(paramName));\n }\n util_1.createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalArr(proxyReturnEntries))]), values.length, proxyExpr, this);\n return proxyExpr.callFn(values);\n };\n CompileView.prototype.createLiteralMap = function(entries) {\n if (entries.length === 0) {\n return o.importExpr(identifiers_1.Identifiers.EMPTY_MAP);\n }\n var proxyExpr = o.THIS_EXPR.prop(\"_map_\" + this.literalMapCount++);\n var proxyParams = [];\n var proxyReturnEntries = [];\n var values = [];\n for (var i = 0; i < entries.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new o.FnParam(paramName));\n proxyReturnEntries.push([entries[i][0], o.variable(paramName)]);\n values.push(entries[i][1]);\n }\n util_1.createPureProxy(o.fn(proxyParams, [new o.ReturnStatement(o.literalMap(proxyReturnEntries))]), entries.length, proxyExpr, this);\n return proxyExpr.callFn(values);\n };\n CompileView.prototype.afterNodes = function() {\n var _this = this;\n this.pipes.forEach(function(pipe) {\n return pipe.create();\n });\n this.viewQueries.values().forEach(function(queries) {\n return queries.forEach(function(query) {\n return query.afterChildren(_this.updateViewQueriesMethod);\n });\n });\n };\n return CompileView;\n}());\nexports.CompileView = CompileView;\nfunction getViewType(component, embeddedTemplateIndex) {\n if (embeddedTemplateIndex > 0) {\n return core_private_1.ViewType.EMBEDDED;\n } else if (component.type.isHost) {\n return core_private_1.ViewType.HOST;\n } else {\n return core_private_1.ViewType.COMPONENT;\n }\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar util_1 = require('./util');\nvar ViewQueryValues = (function() {\n function ViewQueryValues(view, values) {\n this.view = view;\n this.values = values;\n }\n return ViewQueryValues;\n}());\nvar CompileQuery = (function() {\n function CompileQuery(meta, queryList, ownerDirectiveExpression, view) {\n this.meta = meta;\n this.queryList = queryList;\n this.ownerDirectiveExpression = ownerDirectiveExpression;\n this.view = view;\n this._values = new ViewQueryValues(view, []);\n }\n CompileQuery.prototype.addValue = function(value, view) {\n var currentView = view;\n var elPath = [];\n while (lang_1.isPresent(currentView) && currentView !== this.view) {\n var parentEl = currentView.declarationElement;\n elPath.unshift(parentEl);\n currentView = parentEl.view;\n }\n var queryListForDirtyExpr = util_1.getPropertyInView(this.queryList, view, this.view);\n var viewValues = this._values;\n elPath.forEach(function(el) {\n var last = viewValues.values.length > 0 ? viewValues.values[viewValues.values.length - 1] : null;\n if (last instanceof ViewQueryValues && last.view === el.embeddedView) {\n viewValues = last;\n } else {\n var newViewValues = new ViewQueryValues(el.embeddedView, []);\n viewValues.values.push(newViewValues);\n viewValues = newViewValues;\n }\n });\n viewValues.values.push(value);\n if (elPath.length > 0) {\n view.dirtyParentQueriesMethod.addStmt(queryListForDirtyExpr.callMethod('setDirty', []).toStmt());\n }\n };\n CompileQuery.prototype.afterChildren = function(targetMethod) {\n var values = createQueryValues(this._values);\n var updateStmts = [this.queryList.callMethod('reset', [o.literalArr(values)]).toStmt()];\n if (lang_1.isPresent(this.ownerDirectiveExpression)) {\n var valueExpr = this.meta.first ? this.queryList.prop('first') : this.queryList;\n updateStmts.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(valueExpr).toStmt());\n }\n if (!this.meta.first) {\n updateStmts.push(this.queryList.callMethod('notifyOnChanges', []).toStmt());\n }\n targetMethod.addStmt(new o.IfStmt(this.queryList.prop('dirty'), updateStmts));\n };\n return CompileQuery;\n}());\nexports.CompileQuery = CompileQuery;\nfunction createQueryValues(viewValues) {\n return collection_1.ListWrapper.flatten(viewValues.values.map(function(entry) {\n if (entry instanceof ViewQueryValues) {\n return mapNestedViews(entry.view.declarationElement.appElement, entry.view, createQueryValues(entry));\n } else {\n return entry;\n }\n }));\n}\nfunction mapNestedViews(declarationAppElement, view, expressions) {\n var adjustedExpressions = expressions.map(function(expr) {\n return o.replaceVarInExpression(o.THIS_EXPR.name, o.variable('nestedView'), expr);\n });\n return declarationAppElement.callMethod('mapNestedViews', [o.variable(view.className), o.fn([new o.FnParam('nestedView', view.classType)], [new o.ReturnStatement(o.literalArr(adjustedExpressions))])]);\n}\nfunction createQueryList(query, directiveInstance, propertyName, compileView) {\n compileView.fields.push(new o.ClassField(propertyName, o.importType(identifiers_1.Identifiers.QueryList)));\n var expr = o.THIS_EXPR.prop(propertyName);\n compileView.createMethod.addStmt(o.THIS_EXPR.prop(propertyName).set(o.importExpr(identifiers_1.Identifiers.QueryList).instantiate([])).toStmt());\n return expr;\n}\nexports.createQueryList = createQueryList;\nfunction addQueryToTokenMap(map, query) {\n query.meta.selectors.forEach(function(selector) {\n var entry = map.get(selector);\n if (lang_1.isBlank(entry)) {\n entry = [];\n map.add(selector, entry);\n }\n entry.push(query);\n });\n}\nexports.addQueryToTokenMap = addQueryToTokenMap;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar constants_1 = require('./constants');\nvar template_ast_1 = require('../template_ast');\nvar compile_metadata_1 = require('../compile_metadata');\nvar util_1 = require('./util');\nvar compile_query_1 = require('./compile_query');\nvar compile_method_1 = require('./compile_method');\nvar util_2 = require('../util');\nvar CompileNode = (function() {\n function CompileNode(parent, view, nodeIndex, renderNode, sourceAst) {\n this.parent = parent;\n this.view = view;\n this.nodeIndex = nodeIndex;\n this.renderNode = renderNode;\n this.sourceAst = sourceAst;\n }\n CompileNode.prototype.isNull = function() {\n return lang_1.isBlank(this.renderNode);\n };\n CompileNode.prototype.isRootElement = function() {\n return this.view != this.parent.view;\n };\n return CompileNode;\n}());\nexports.CompileNode = CompileNode;\nvar CompileElement = (function(_super) {\n __extends(CompileElement, _super);\n function CompileElement(parent, view, nodeIndex, renderNode, sourceAst, component, _directives, _resolvedProvidersArray, hasViewContainer, hasEmbeddedView, references) {\n var _this = this;\n _super.call(this, parent, view, nodeIndex, renderNode, sourceAst);\n this.component = component;\n this._directives = _directives;\n this._resolvedProvidersArray = _resolvedProvidersArray;\n this.hasViewContainer = hasViewContainer;\n this.hasEmbeddedView = hasEmbeddedView;\n this._compViewExpr = null;\n this._instances = new compile_metadata_1.CompileTokenMap();\n this._queryCount = 0;\n this._queries = new compile_metadata_1.CompileTokenMap();\n this._componentConstructorViewQueryLists = [];\n this.contentNodesByNgContentIndex = null;\n this.referenceTokens = {};\n references.forEach(function(ref) {\n return _this.referenceTokens[ref.name] = ref.value;\n });\n this.elementRef = o.importExpr(identifiers_1.Identifiers.ElementRef).instantiate([this.renderNode]);\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.ElementRef), this.elementRef);\n this.injector = o.THIS_EXPR.callMethod('injector', [o.literal(this.nodeIndex)]);\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.Injector), this.injector);\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.Renderer), o.THIS_EXPR.prop('renderer'));\n if (this.hasViewContainer || this.hasEmbeddedView || lang_1.isPresent(this.component)) {\n this._createAppElement();\n }\n }\n CompileElement.createNull = function() {\n return new CompileElement(null, null, null, null, null, null, [], [], false, false, []);\n };\n CompileElement.prototype._createAppElement = function() {\n var fieldName = \"_appEl_\" + this.nodeIndex;\n var parentNodeIndex = this.isRootElement() ? null : this.parent.nodeIndex;\n this.view.fields.push(new o.ClassField(fieldName, o.importType(identifiers_1.Identifiers.AppElement), [o.StmtModifier.Private]));\n var statement = o.THIS_EXPR.prop(fieldName).set(o.importExpr(identifiers_1.Identifiers.AppElement).instantiate([o.literal(this.nodeIndex), o.literal(parentNodeIndex), o.THIS_EXPR, this.renderNode])).toStmt();\n this.view.createMethod.addStmt(statement);\n this.appElement = o.THIS_EXPR.prop(fieldName);\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.AppElement), this.appElement);\n };\n CompileElement.prototype.setComponentView = function(compViewExpr) {\n this._compViewExpr = compViewExpr;\n this.contentNodesByNgContentIndex = collection_1.ListWrapper.createFixedSize(this.component.template.ngContentSelectors.length);\n for (var i = 0; i < this.contentNodesByNgContentIndex.length; i++) {\n this.contentNodesByNgContentIndex[i] = [];\n }\n };\n CompileElement.prototype.setEmbeddedView = function(embeddedView) {\n this.embeddedView = embeddedView;\n if (lang_1.isPresent(embeddedView)) {\n var createTemplateRefExpr = o.importExpr(identifiers_1.Identifiers.TemplateRef_).instantiate([this.appElement, this.embeddedView.viewFactory]);\n var provider = new compile_metadata_1.CompileProviderMetadata({\n token: identifiers_1.identifierToken(identifiers_1.Identifiers.TemplateRef),\n useValue: createTemplateRefExpr\n });\n this._resolvedProvidersArray.unshift(new template_ast_1.ProviderAst(provider.token, false, true, [provider], template_ast_1.ProviderAstType.Builtin, this.sourceAst.sourceSpan));\n }\n };\n CompileElement.prototype.beforeChildren = function() {\n var _this = this;\n if (this.hasViewContainer) {\n this._instances.add(identifiers_1.identifierToken(identifiers_1.Identifiers.ViewContainerRef), this.appElement.prop('vcRef'));\n }\n this._resolvedProviders = new compile_metadata_1.CompileTokenMap();\n this._resolvedProvidersArray.forEach(function(provider) {\n return _this._resolvedProviders.add(provider.token, provider);\n });\n this._resolvedProviders.values().forEach(function(resolvedProvider) {\n var providerValueExpressions = resolvedProvider.providers.map(function(provider) {\n if (lang_1.isPresent(provider.useExisting)) {\n return _this._getDependency(resolvedProvider.providerType, new compile_metadata_1.CompileDiDependencyMetadata({token: provider.useExisting}));\n } else if (lang_1.isPresent(provider.useFactory)) {\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useFactory.diDeps;\n var depsExpr = deps.map(function(dep) {\n return _this._getDependency(resolvedProvider.providerType, dep);\n });\n return o.importExpr(provider.useFactory).callFn(depsExpr);\n } else if (lang_1.isPresent(provider.useClass)) {\n var deps = lang_1.isPresent(provider.deps) ? provider.deps : provider.useClass.diDeps;\n var depsExpr = deps.map(function(dep) {\n return _this._getDependency(resolvedProvider.providerType, dep);\n });\n return o.importExpr(provider.useClass).instantiate(depsExpr, o.importType(provider.useClass));\n } else {\n return _convertValueToOutputAst(provider.useValue);\n }\n });\n var propName = \"_\" + resolvedProvider.token.name + \"_\" + _this.nodeIndex + \"_\" + _this._instances.size;\n var instance = createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager, _this);\n _this._instances.add(resolvedProvider.token, instance);\n });\n this.directiveInstances = this._directives.map(function(directive) {\n return _this._instances.get(identifiers_1.identifierToken(directive.type));\n });\n for (var i = 0; i < this.directiveInstances.length; i++) {\n var directiveInstance = this.directiveInstances[i];\n var directive = this._directives[i];\n directive.queries.forEach(function(queryMeta) {\n _this._addQuery(queryMeta, directiveInstance);\n });\n }\n var queriesWithReads = [];\n this._resolvedProviders.values().forEach(function(resolvedProvider) {\n var queriesForProvider = _this._getQueriesFor(resolvedProvider.token);\n collection_1.ListWrapper.addAll(queriesWithReads, queriesForProvider.map(function(query) {\n return new _QueryWithRead(query, resolvedProvider.token);\n }));\n });\n collection_1.StringMapWrapper.forEach(this.referenceTokens, function(_, varName) {\n var token = _this.referenceTokens[varName];\n var varValue;\n if (lang_1.isPresent(token)) {\n varValue = _this._instances.get(token);\n } else {\n varValue = _this.renderNode;\n }\n _this.view.locals.set(varName, varValue);\n var varToken = new compile_metadata_1.CompileTokenMetadata({value: varName});\n collection_1.ListWrapper.addAll(queriesWithReads, _this._getQueriesFor(varToken).map(function(query) {\n return new _QueryWithRead(query, varToken);\n }));\n });\n queriesWithReads.forEach(function(queryWithRead) {\n var value;\n if (lang_1.isPresent(queryWithRead.read.identifier)) {\n value = _this._instances.get(queryWithRead.read);\n } else {\n var token = _this.referenceTokens[queryWithRead.read.value];\n if (lang_1.isPresent(token)) {\n value = _this._instances.get(token);\n } else {\n value = _this.elementRef;\n }\n }\n if (lang_1.isPresent(value)) {\n queryWithRead.query.addValue(value, _this.view);\n }\n });\n if (lang_1.isPresent(this.component)) {\n var componentConstructorViewQueryList = lang_1.isPresent(this.component) ? o.literalArr(this._componentConstructorViewQueryLists) : o.NULL_EXPR;\n var compExpr = lang_1.isPresent(this.getComponent()) ? this.getComponent() : o.NULL_EXPR;\n this.view.createMethod.addStmt(this.appElement.callMethod('initComponent', [compExpr, componentConstructorViewQueryList, this._compViewExpr]).toStmt());\n }\n };\n CompileElement.prototype.afterChildren = function(childNodeCount) {\n var _this = this;\n this._resolvedProviders.values().forEach(function(resolvedProvider) {\n var providerExpr = _this._instances.get(resolvedProvider.token);\n var providerChildNodeCount = resolvedProvider.providerType === template_ast_1.ProviderAstType.PrivateService ? 0 : childNodeCount;\n _this.view.injectorGetMethod.addStmt(createInjectInternalCondition(_this.nodeIndex, providerChildNodeCount, resolvedProvider, providerExpr));\n });\n this._queries.values().forEach(function(queries) {\n return queries.forEach(function(query) {\n return query.afterChildren(_this.view.updateContentQueriesMethod);\n });\n });\n };\n CompileElement.prototype.addContentNode = function(ngContentIndex, nodeExpr) {\n this.contentNodesByNgContentIndex[ngContentIndex].push(nodeExpr);\n };\n CompileElement.prototype.getComponent = function() {\n return lang_1.isPresent(this.component) ? this._instances.get(identifiers_1.identifierToken(this.component.type)) : null;\n };\n CompileElement.prototype.getProviderTokens = function() {\n return this._resolvedProviders.values().map(function(resolvedProvider) {\n return util_1.createDiTokenExpression(resolvedProvider.token);\n });\n };\n CompileElement.prototype._getQueriesFor = function(token) {\n var result = [];\n var currentEl = this;\n var distance = 0;\n var queries;\n while (!currentEl.isNull()) {\n queries = currentEl._queries.get(token);\n if (lang_1.isPresent(queries)) {\n collection_1.ListWrapper.addAll(result, queries.filter(function(query) {\n return query.meta.descendants || distance <= 1;\n }));\n }\n if (currentEl._directives.length > 0) {\n distance++;\n }\n currentEl = currentEl.parent;\n }\n queries = this.view.componentView.viewQueries.get(token);\n if (lang_1.isPresent(queries)) {\n collection_1.ListWrapper.addAll(result, queries);\n }\n return result;\n };\n CompileElement.prototype._addQuery = function(queryMeta, directiveInstance) {\n var propName = \"_query_\" + queryMeta.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._queryCount++;\n var queryList = compile_query_1.createQueryList(queryMeta, directiveInstance, propName, this.view);\n var query = new compile_query_1.CompileQuery(queryMeta, queryList, directiveInstance, this.view);\n compile_query_1.addQueryToTokenMap(this._queries, query);\n return query;\n };\n CompileElement.prototype._getLocalDependency = function(requestingProviderType, dep) {\n var result = null;\n if (lang_1.isBlank(result) && lang_1.isPresent(dep.query)) {\n result = this._addQuery(dep.query, null).queryList;\n }\n if (lang_1.isBlank(result) && lang_1.isPresent(dep.viewQuery)) {\n result = compile_query_1.createQueryList(dep.viewQuery, null, \"_viewQuery_\" + dep.viewQuery.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._componentConstructorViewQueryLists.length, this.view);\n this._componentConstructorViewQueryLists.push(result);\n }\n if (lang_1.isPresent(dep.token)) {\n if (lang_1.isBlank(result)) {\n if (dep.token.equalsTo(identifiers_1.identifierToken(identifiers_1.Identifiers.ChangeDetectorRef))) {\n if (requestingProviderType === template_ast_1.ProviderAstType.Component) {\n return this._compViewExpr.prop('ref');\n } else {\n return util_1.getPropertyInView(o.THIS_EXPR.prop('ref'), this.view, this.view.componentView);\n }\n }\n }\n if (lang_1.isBlank(result)) {\n result = this._instances.get(dep.token);\n }\n }\n return result;\n };\n CompileElement.prototype._getDependency = function(requestingProviderType, dep) {\n var currElement = this;\n var result = null;\n if (dep.isValue) {\n result = o.literal(dep.value);\n }\n if (lang_1.isBlank(result) && !dep.isSkipSelf) {\n result = this._getLocalDependency(requestingProviderType, dep);\n }\n while (lang_1.isBlank(result) && !currElement.parent.isNull()) {\n currElement = currElement.parent;\n result = currElement._getLocalDependency(template_ast_1.ProviderAstType.PublicService, new compile_metadata_1.CompileDiDependencyMetadata({token: dep.token}));\n }\n if (lang_1.isBlank(result)) {\n result = util_1.injectFromViewParentInjector(dep.token, dep.isOptional);\n }\n if (lang_1.isBlank(result)) {\n result = o.NULL_EXPR;\n }\n return util_1.getPropertyInView(result, this.view, currElement.view);\n };\n return CompileElement;\n}(CompileNode));\nexports.CompileElement = CompileElement;\nfunction createInjectInternalCondition(nodeIndex, childNodeCount, provider, providerExpr) {\n var indexCondition;\n if (childNodeCount > 0) {\n indexCondition = o.literal(nodeIndex).lowerEquals(constants_1.InjectMethodVars.requestNodeIndex).and(constants_1.InjectMethodVars.requestNodeIndex.lowerEquals(o.literal(nodeIndex + childNodeCount)));\n } else {\n indexCondition = o.literal(nodeIndex).identical(constants_1.InjectMethodVars.requestNodeIndex);\n }\n return new o.IfStmt(constants_1.InjectMethodVars.token.identical(util_1.createDiTokenExpression(provider.token)).and(indexCondition), [new o.ReturnStatement(providerExpr)]);\n}\nfunction createProviderProperty(propName, provider, providerValueExpressions, isMulti, isEager, compileElement) {\n var view = compileElement.view;\n var resolvedProviderValueExpr;\n var type;\n if (isMulti) {\n resolvedProviderValueExpr = o.literalArr(providerValueExpressions);\n type = new o.ArrayType(o.DYNAMIC_TYPE);\n } else {\n resolvedProviderValueExpr = providerValueExpressions[0];\n type = providerValueExpressions[0].type;\n }\n if (lang_1.isBlank(type)) {\n type = o.DYNAMIC_TYPE;\n }\n if (isEager) {\n view.fields.push(new o.ClassField(propName, type));\n view.createMethod.addStmt(o.THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\n } else {\n var internalField = \"_\" + propName;\n view.fields.push(new o.ClassField(internalField, type));\n var getter = new compile_method_1.CompileMethod(view);\n getter.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n getter.addStmt(new o.IfStmt(o.THIS_EXPR.prop(internalField).isBlank(), [o.THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]));\n getter.addStmt(new o.ReturnStatement(o.THIS_EXPR.prop(internalField)));\n view.getters.push(new o.ClassGetter(propName, getter.finish(), type));\n }\n return o.THIS_EXPR.prop(propName);\n}\nvar _QueryWithRead = (function() {\n function _QueryWithRead(query, match) {\n this.query = query;\n this.read = lang_1.isPresent(query.meta.read) ? query.meta.read : match;\n }\n return _QueryWithRead;\n}());\nfunction _convertValueToOutputAst(value) {\n return util_2.visitValue(value, new _ValueOutputAstTransformer(), null);\n}\nvar _ValueOutputAstTransformer = (function(_super) {\n __extends(_ValueOutputAstTransformer, _super);\n function _ValueOutputAstTransformer() {\n _super.apply(this, arguments);\n }\n _ValueOutputAstTransformer.prototype.visitArray = function(arr, context) {\n var _this = this;\n return o.literalArr(arr.map(function(value) {\n return util_2.visitValue(value, _this, context);\n }));\n };\n _ValueOutputAstTransformer.prototype.visitStringMap = function(map, context) {\n var _this = this;\n var entries = [];\n collection_1.StringMapWrapper.forEach(map, function(value, key) {\n entries.push([key, util_2.visitValue(value, _this, context)]);\n });\n return o.literalMap(entries);\n };\n _ValueOutputAstTransformer.prototype.visitPrimitive = function(value, context) {\n return o.literal(value);\n };\n _ValueOutputAstTransformer.prototype.visitOther = function(value, context) {\n if (value instanceof compile_metadata_1.CompileIdentifierMetadata) {\n return o.importExpr(value);\n } else if (value instanceof o.Expression) {\n return value;\n } else {\n throw new core_1.BaseException(\"Illegal state: Don't now how to compile value \" + value);\n }\n };\n return _ValueOutputAstTransformer;\n}(util_2.ValueTransformer));\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nfunction getPropertyInView(property, callingView, definedView) {\n if (callingView === definedView) {\n return property;\n } else {\n var viewProp = o.THIS_EXPR;\n var currView = callingView;\n while (currView !== definedView && lang_1.isPresent(currView.declarationElement.view)) {\n currView = currView.declarationElement.view;\n viewProp = viewProp.prop('parent');\n }\n if (currView !== definedView) {\n throw new exceptions_1.BaseException(\"Internal error: Could not calculate a property in a parent view: \" + property);\n }\n if (property instanceof o.ReadPropExpr) {\n var readPropExpr_1 = property;\n if (definedView.fields.some(function(field) {\n return field.name == readPropExpr_1.name;\n }) || definedView.getters.some(function(field) {\n return field.name == readPropExpr_1.name;\n })) {\n viewProp = viewProp.cast(definedView.classType);\n }\n }\n return o.replaceVarInExpression(o.THIS_EXPR.name, viewProp, property);\n }\n}\nexports.getPropertyInView = getPropertyInView;\nfunction injectFromViewParentInjector(token, optional) {\n var args = [createDiTokenExpression(token)];\n if (optional) {\n args.push(o.NULL_EXPR);\n }\n return o.THIS_EXPR.prop('parentInjector').callMethod('get', args);\n}\nexports.injectFromViewParentInjector = injectFromViewParentInjector;\nfunction getViewFactoryName(component, embeddedTemplateIndex) {\n return \"viewFactory_\" + component.type.name + embeddedTemplateIndex;\n}\nexports.getViewFactoryName = getViewFactoryName;\nfunction createDiTokenExpression(token) {\n if (lang_1.isPresent(token.value)) {\n return o.literal(token.value);\n } else if (token.identifierIsInstance) {\n return o.importExpr(token.identifier).instantiate([], o.importType(token.identifier, [], [o.TypeModifier.Const]));\n } else {\n return o.importExpr(token.identifier);\n }\n}\nexports.createDiTokenExpression = createDiTokenExpression;\nfunction createFlatArray(expressions) {\n var lastNonArrayExpressions = [];\n var result = o.literalArr([]);\n for (var i = 0; i < expressions.length; i++) {\n var expr = expressions[i];\n if (expr.type instanceof o.ArrayType) {\n if (lastNonArrayExpressions.length > 0) {\n result = result.callMethod(o.BuiltinMethod.ConcatArray, [o.literalArr(lastNonArrayExpressions)]);\n lastNonArrayExpressions = [];\n }\n result = result.callMethod(o.BuiltinMethod.ConcatArray, [expr]);\n } else {\n lastNonArrayExpressions.push(expr);\n }\n }\n if (lastNonArrayExpressions.length > 0) {\n result = result.callMethod(o.BuiltinMethod.ConcatArray, [o.literalArr(lastNonArrayExpressions)]);\n }\n return result;\n}\nexports.createFlatArray = createFlatArray;\nfunction createPureProxy(fn, argCount, pureProxyProp, view) {\n view.fields.push(new o.ClassField(pureProxyProp.name, null));\n var pureProxyId = argCount < identifiers_1.Identifiers.pureProxies.length ? identifiers_1.Identifiers.pureProxies[argCount] : null;\n if (lang_1.isBlank(pureProxyId)) {\n throw new exceptions_1.BaseException(\"Unsupported number of argument for pure functions: \" + argCount);\n }\n view.createMethod.addStmt(o.THIS_EXPR.prop(pureProxyProp.name).set(o.importExpr(pureProxyId).callFn([fn])).toStmt());\n}\nexports.createPureProxy = createPureProxy;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar constants_1 = require('./constants');\nvar compile_view_1 = require('./compile_view');\nvar compile_element_1 = require('./compile_element');\nvar template_ast_1 = require('../template_ast');\nvar util_1 = require('./util');\nvar compile_metadata_1 = require('../compile_metadata');\nvar IMPLICIT_TEMPLATE_VAR = '\\$implicit';\nvar CLASS_ATTR = 'class';\nvar STYLE_ATTR = 'style';\nvar parentRenderNodeVar = o.variable('parentRenderNode');\nvar rootSelectorVar = o.variable('rootSelector');\nvar ViewCompileDependency = (function() {\n function ViewCompileDependency(comp, factoryPlaceholder) {\n this.comp = comp;\n this.factoryPlaceholder = factoryPlaceholder;\n }\n return ViewCompileDependency;\n}());\nexports.ViewCompileDependency = ViewCompileDependency;\nfunction buildView(view, template, targetDependencies) {\n var builderVisitor = new ViewBuilderVisitor(view, targetDependencies);\n template_ast_1.templateVisitAll(builderVisitor, template, view.declarationElement.isNull() ? view.declarationElement : view.declarationElement.parent);\n return builderVisitor.nestedViewCount;\n}\nexports.buildView = buildView;\nfunction finishView(view, targetStatements) {\n view.afterNodes();\n createViewTopLevelStmts(view, targetStatements);\n view.nodes.forEach(function(node) {\n if (node instanceof compile_element_1.CompileElement && node.hasEmbeddedView) {\n finishView(node.embeddedView, targetStatements);\n }\n });\n}\nexports.finishView = finishView;\nvar ViewBuilderVisitor = (function() {\n function ViewBuilderVisitor(view, targetDependencies) {\n this.view = view;\n this.targetDependencies = targetDependencies;\n this.nestedViewCount = 0;\n }\n ViewBuilderVisitor.prototype._isRootNode = function(parent) {\n return parent.view !== this.view;\n };\n ViewBuilderVisitor.prototype._addRootNodeAndProject = function(node, ngContentIndex, parent) {\n var vcAppEl = (node instanceof compile_element_1.CompileElement && node.hasViewContainer) ? node.appElement : null;\n if (this._isRootNode(parent)) {\n if (this.view.viewType !== core_private_1.ViewType.COMPONENT) {\n this.view.rootNodesOrAppElements.push(lang_1.isPresent(vcAppEl) ? vcAppEl : node.renderNode);\n }\n } else if (lang_1.isPresent(parent.component) && lang_1.isPresent(ngContentIndex)) {\n parent.addContentNode(ngContentIndex, lang_1.isPresent(vcAppEl) ? vcAppEl : node.renderNode);\n }\n };\n ViewBuilderVisitor.prototype._getParentRenderNode = function(parent) {\n if (this._isRootNode(parent)) {\n if (this.view.viewType === core_private_1.ViewType.COMPONENT) {\n return parentRenderNodeVar;\n } else {\n return o.NULL_EXPR;\n }\n } else {\n return lang_1.isPresent(parent.component) && parent.component.template.encapsulation !== core_1.ViewEncapsulation.Native ? o.NULL_EXPR : parent.renderNode;\n }\n };\n ViewBuilderVisitor.prototype.visitBoundText = function(ast, parent) {\n return this._visitText(ast, '', ast.ngContentIndex, parent);\n };\n ViewBuilderVisitor.prototype.visitText = function(ast, parent) {\n return this._visitText(ast, ast.value, ast.ngContentIndex, parent);\n };\n ViewBuilderVisitor.prototype._visitText = function(ast, value, ngContentIndex, parent) {\n var fieldName = \"_text_\" + this.view.nodes.length;\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderText)));\n var renderNode = o.THIS_EXPR.prop(fieldName);\n var compileNode = new compile_element_1.CompileNode(parent, this.view, this.view.nodes.length, renderNode, ast);\n var createRenderNode = o.THIS_EXPR.prop(fieldName).set(constants_1.ViewProperties.renderer.callMethod('createText', [this._getParentRenderNode(parent), o.literal(value), this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length, ast)])).toStmt();\n this.view.nodes.push(compileNode);\n this.view.createMethod.addStmt(createRenderNode);\n this._addRootNodeAndProject(compileNode, ngContentIndex, parent);\n return renderNode;\n };\n ViewBuilderVisitor.prototype.visitNgContent = function(ast, parent) {\n this.view.createMethod.resetDebugInfo(null, ast);\n var parentRenderNode = this._getParentRenderNode(parent);\n var nodesExpression = constants_1.ViewProperties.projectableNodes.key(o.literal(ast.index), new o.ArrayType(o.importType(this.view.genConfig.renderTypes.renderNode)));\n if (parentRenderNode !== o.NULL_EXPR) {\n this.view.createMethod.addStmt(constants_1.ViewProperties.renderer.callMethod('projectNodes', [parentRenderNode, o.importExpr(identifiers_1.Identifiers.flattenNestedViewRenderNodes).callFn([nodesExpression])]).toStmt());\n } else if (this._isRootNode(parent)) {\n if (this.view.viewType !== core_private_1.ViewType.COMPONENT) {\n this.view.rootNodesOrAppElements.push(nodesExpression);\n }\n } else {\n if (lang_1.isPresent(parent.component) && lang_1.isPresent(ast.ngContentIndex)) {\n parent.addContentNode(ast.ngContentIndex, nodesExpression);\n }\n }\n return null;\n };\n ViewBuilderVisitor.prototype.visitElement = function(ast, parent) {\n var nodeIndex = this.view.nodes.length;\n var createRenderNodeExpr;\n var debugContextExpr = this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast);\n if (nodeIndex === 0 && this.view.viewType === core_private_1.ViewType.HOST) {\n createRenderNodeExpr = o.THIS_EXPR.callMethod('selectOrCreateHostElement', [o.literal(ast.name), rootSelectorVar, debugContextExpr]);\n } else {\n createRenderNodeExpr = constants_1.ViewProperties.renderer.callMethod('createElement', [this._getParentRenderNode(parent), o.literal(ast.name), debugContextExpr]);\n }\n var fieldName = \"_el_\" + nodeIndex;\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderElement)));\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(fieldName).set(createRenderNodeExpr).toStmt());\n var renderNode = o.THIS_EXPR.prop(fieldName);\n var directives = ast.directives.map(function(directiveAst) {\n return directiveAst.directive;\n });\n var component = directives.find(function(directive) {\n return directive.isComponent;\n });\n var htmlAttrs = _readHtmlAttrs(ast.attrs);\n var attrNameAndValues = _mergeHtmlAndDirectiveAttrs(htmlAttrs, directives);\n for (var i = 0; i < attrNameAndValues.length; i++) {\n var attrName = attrNameAndValues[i][0];\n var attrValue = attrNameAndValues[i][1];\n this.view.createMethod.addStmt(constants_1.ViewProperties.renderer.callMethod('setElementAttribute', [renderNode, o.literal(attrName), o.literal(attrValue)]).toStmt());\n }\n var compileElement = new compile_element_1.CompileElement(parent, this.view, nodeIndex, renderNode, ast, component, directives, ast.providers, ast.hasViewContainer, false, ast.references);\n this.view.nodes.push(compileElement);\n var compViewExpr = null;\n if (lang_1.isPresent(component)) {\n var nestedComponentIdentifier = new compile_metadata_1.CompileIdentifierMetadata({name: util_1.getViewFactoryName(component, 0)});\n this.targetDependencies.push(new ViewCompileDependency(component, nestedComponentIdentifier));\n compViewExpr = o.variable(\"compView_\" + nodeIndex);\n compileElement.setComponentView(compViewExpr);\n this.view.createMethod.addStmt(compViewExpr.set(o.importExpr(nestedComponentIdentifier).callFn([constants_1.ViewProperties.viewUtils, compileElement.injector, compileElement.appElement])).toDeclStmt());\n }\n compileElement.beforeChildren();\n this._addRootNodeAndProject(compileElement, ast.ngContentIndex, parent);\n template_ast_1.templateVisitAll(this, ast.children, compileElement);\n compileElement.afterChildren(this.view.nodes.length - nodeIndex - 1);\n if (lang_1.isPresent(compViewExpr)) {\n var codeGenContentNodes;\n if (this.view.component.type.isHost) {\n codeGenContentNodes = constants_1.ViewProperties.projectableNodes;\n } else {\n codeGenContentNodes = o.literalArr(compileElement.contentNodesByNgContentIndex.map(function(nodes) {\n return util_1.createFlatArray(nodes);\n }));\n }\n this.view.createMethod.addStmt(compViewExpr.callMethod('create', [compileElement.getComponent(), codeGenContentNodes, o.NULL_EXPR]).toStmt());\n }\n return null;\n };\n ViewBuilderVisitor.prototype.visitEmbeddedTemplate = function(ast, parent) {\n var nodeIndex = this.view.nodes.length;\n var fieldName = \"_anchor_\" + nodeIndex;\n this.view.fields.push(new o.ClassField(fieldName, o.importType(this.view.genConfig.renderTypes.renderComment)));\n this.view.createMethod.addStmt(o.THIS_EXPR.prop(fieldName).set(constants_1.ViewProperties.renderer.callMethod('createTemplateAnchor', [this._getParentRenderNode(parent), this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast)])).toStmt());\n var renderNode = o.THIS_EXPR.prop(fieldName);\n var templateVariableBindings = ast.variables.map(function(varAst) {\n return [varAst.value.length > 0 ? varAst.value : IMPLICIT_TEMPLATE_VAR, varAst.name];\n });\n var directives = ast.directives.map(function(directiveAst) {\n return directiveAst.directive;\n });\n var compileElement = new compile_element_1.CompileElement(parent, this.view, nodeIndex, renderNode, ast, null, directives, ast.providers, ast.hasViewContainer, true, ast.references);\n this.view.nodes.push(compileElement);\n this.nestedViewCount++;\n var embeddedView = new compile_view_1.CompileView(this.view.component, this.view.genConfig, this.view.pipeMetas, o.NULL_EXPR, this.view.viewIndex + this.nestedViewCount, compileElement, templateVariableBindings);\n this.nestedViewCount += buildView(embeddedView, ast.children, this.targetDependencies);\n compileElement.beforeChildren();\n this._addRootNodeAndProject(compileElement, ast.ngContentIndex, parent);\n compileElement.afterChildren(0);\n return null;\n };\n ViewBuilderVisitor.prototype.visitAttr = function(ast, ctx) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitDirective = function(ast, ctx) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitEvent = function(ast, eventTargetAndNames) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitReference = function(ast, ctx) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitVariable = function(ast, ctx) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitDirectiveProperty = function(ast, context) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitElementProperty = function(ast, context) {\n return null;\n };\n return ViewBuilderVisitor;\n}());\nfunction _mergeHtmlAndDirectiveAttrs(declaredHtmlAttrs, directives) {\n var result = {};\n collection_1.StringMapWrapper.forEach(declaredHtmlAttrs, function(value, key) {\n result[key] = value;\n });\n directives.forEach(function(directiveMeta) {\n collection_1.StringMapWrapper.forEach(directiveMeta.hostAttributes, function(value, name) {\n var prevValue = result[name];\n result[name] = lang_1.isPresent(prevValue) ? mergeAttributeValue(name, prevValue, value) : value;\n });\n });\n return mapToKeyValueArray(result);\n}\nfunction _readHtmlAttrs(attrs) {\n var htmlAttrs = {};\n attrs.forEach(function(ast) {\n htmlAttrs[ast.name] = ast.value;\n });\n return htmlAttrs;\n}\nfunction mergeAttributeValue(attrName, attrValue1, attrValue2) {\n if (attrName == CLASS_ATTR || attrName == STYLE_ATTR) {\n return attrValue1 + \" \" + attrValue2;\n } else {\n return attrValue2;\n }\n}\nfunction mapToKeyValueArray(data) {\n var entryArray = [];\n collection_1.StringMapWrapper.forEach(data, function(value, name) {\n entryArray.push([name, value]);\n });\n collection_1.ListWrapper.sort(entryArray, function(entry1, entry2) {\n return lang_1.StringWrapper.compare(entry1[0], entry2[0]);\n });\n var keyValueArray = [];\n entryArray.forEach(function(entry) {\n keyValueArray.push([entry[0], entry[1]]);\n });\n return keyValueArray;\n}\nfunction createViewTopLevelStmts(view, targetStatements) {\n var nodeDebugInfosVar = o.NULL_EXPR;\n if (view.genConfig.genDebugInfo) {\n nodeDebugInfosVar = o.variable(\"nodeDebugInfos_\" + view.component.type.name + view.viewIndex);\n targetStatements.push(nodeDebugInfosVar.set(o.literalArr(view.nodes.map(createStaticNodeDebugInfo), new o.ArrayType(new o.ExternalType(identifiers_1.Identifiers.StaticNodeDebugInfo), [o.TypeModifier.Const]))).toDeclStmt(null, [o.StmtModifier.Final]));\n }\n var renderCompTypeVar = o.variable(\"renderType_\" + view.component.type.name);\n if (view.viewIndex === 0) {\n targetStatements.push(renderCompTypeVar.set(o.NULL_EXPR).toDeclStmt(o.importType(identifiers_1.Identifiers.RenderComponentType)));\n }\n var viewClass = createViewClass(view, renderCompTypeVar, nodeDebugInfosVar);\n targetStatements.push(viewClass);\n targetStatements.push(createViewFactory(view, viewClass, renderCompTypeVar));\n}\nfunction createStaticNodeDebugInfo(node) {\n var compileElement = node instanceof compile_element_1.CompileElement ? node : null;\n var providerTokens = [];\n var componentToken = o.NULL_EXPR;\n var varTokenEntries = [];\n if (lang_1.isPresent(compileElement)) {\n providerTokens = compileElement.getProviderTokens();\n if (lang_1.isPresent(compileElement.component)) {\n componentToken = util_1.createDiTokenExpression(identifiers_1.identifierToken(compileElement.component.type));\n }\n collection_1.StringMapWrapper.forEach(compileElement.referenceTokens, function(token, varName) {\n varTokenEntries.push([varName, lang_1.isPresent(token) ? util_1.createDiTokenExpression(token) : o.NULL_EXPR]);\n });\n }\n return o.importExpr(identifiers_1.Identifiers.StaticNodeDebugInfo).instantiate([o.literalArr(providerTokens, new o.ArrayType(o.DYNAMIC_TYPE, [o.TypeModifier.Const])), componentToken, o.literalMap(varTokenEntries, new o.MapType(o.DYNAMIC_TYPE, [o.TypeModifier.Const]))], o.importType(identifiers_1.Identifiers.StaticNodeDebugInfo, null, [o.TypeModifier.Const]));\n}\nfunction createViewClass(view, renderCompTypeVar, nodeDebugInfosVar) {\n var viewConstructorArgs = [new o.FnParam(constants_1.ViewConstructorVars.viewUtils.name, o.importType(identifiers_1.Identifiers.ViewUtils)), new o.FnParam(constants_1.ViewConstructorVars.parentInjector.name, o.importType(identifiers_1.Identifiers.Injector)), new o.FnParam(constants_1.ViewConstructorVars.declarationEl.name, o.importType(identifiers_1.Identifiers.AppElement))];\n var superConstructorArgs = [o.variable(view.className), renderCompTypeVar, constants_1.ViewTypeEnum.fromValue(view.viewType), constants_1.ViewConstructorVars.viewUtils, constants_1.ViewConstructorVars.parentInjector, constants_1.ViewConstructorVars.declarationEl, constants_1.ChangeDetectionStrategyEnum.fromValue(getChangeDetectionMode(view))];\n if (view.genConfig.genDebugInfo) {\n superConstructorArgs.push(nodeDebugInfosVar);\n }\n var viewConstructor = new o.ClassMethod(null, viewConstructorArgs, [o.SUPER_EXPR.callFn(superConstructorArgs).toStmt()]);\n var viewMethods = [new o.ClassMethod('createInternal', [new o.FnParam(rootSelectorVar.name, o.STRING_TYPE)], generateCreateMethod(view), o.importType(identifiers_1.Identifiers.AppElement)), new o.ClassMethod('injectorGetInternal', [new o.FnParam(constants_1.InjectMethodVars.token.name, o.DYNAMIC_TYPE), new o.FnParam(constants_1.InjectMethodVars.requestNodeIndex.name, o.NUMBER_TYPE), new o.FnParam(constants_1.InjectMethodVars.notFoundResult.name, o.DYNAMIC_TYPE)], addReturnValuefNotEmpty(view.injectorGetMethod.finish(), constants_1.InjectMethodVars.notFoundResult), o.DYNAMIC_TYPE), new o.ClassMethod('detectChangesInternal', [new o.FnParam(constants_1.DetectChangesVars.throwOnChange.name, o.BOOL_TYPE)], generateDetectChangesMethod(view)), new o.ClassMethod('dirtyParentQueriesInternal', [], view.dirtyParentQueriesMethod.finish()), new o.ClassMethod('destroyInternal', [], view.destroyMethod.finish())].concat(view.eventHandlerMethods);\n var superClass = view.genConfig.genDebugInfo ? identifiers_1.Identifiers.DebugAppView : identifiers_1.Identifiers.AppView;\n var viewClass = new o.ClassStmt(view.className, o.importExpr(superClass, [getContextType(view)]), view.fields, view.getters, viewConstructor, viewMethods.filter(function(method) {\n return method.body.length > 0;\n }));\n return viewClass;\n}\nfunction createViewFactory(view, viewClass, renderCompTypeVar) {\n var viewFactoryArgs = [new o.FnParam(constants_1.ViewConstructorVars.viewUtils.name, o.importType(identifiers_1.Identifiers.ViewUtils)), new o.FnParam(constants_1.ViewConstructorVars.parentInjector.name, o.importType(identifiers_1.Identifiers.Injector)), new o.FnParam(constants_1.ViewConstructorVars.declarationEl.name, o.importType(identifiers_1.Identifiers.AppElement))];\n var initRenderCompTypeStmts = [];\n var templateUrlInfo;\n if (view.component.template.templateUrl == view.component.type.moduleUrl) {\n templateUrlInfo = view.component.type.moduleUrl + \" class \" + view.component.type.name + \" - inline template\";\n } else {\n templateUrlInfo = view.component.template.templateUrl;\n }\n if (view.viewIndex === 0) {\n initRenderCompTypeStmts = [new o.IfStmt(renderCompTypeVar.identical(o.NULL_EXPR), [renderCompTypeVar.set(constants_1.ViewConstructorVars.viewUtils.callMethod('createRenderComponentType', [o.literal(templateUrlInfo), o.literal(view.component.template.ngContentSelectors.length), constants_1.ViewEncapsulationEnum.fromValue(view.component.template.encapsulation), view.styles])).toStmt()])];\n }\n return o.fn(viewFactoryArgs, initRenderCompTypeStmts.concat([new o.ReturnStatement(o.variable(viewClass.name).instantiate(viewClass.constructorMethod.params.map(function(param) {\n return o.variable(param.name);\n })))]), o.importType(identifiers_1.Identifiers.AppView, [getContextType(view)])).toDeclStmt(view.viewFactory.name, [o.StmtModifier.Final]);\n}\nfunction generateCreateMethod(view) {\n var parentRenderNodeExpr = o.NULL_EXPR;\n var parentRenderNodeStmts = [];\n if (view.viewType === core_private_1.ViewType.COMPONENT) {\n parentRenderNodeExpr = constants_1.ViewProperties.renderer.callMethod('createViewRoot', [o.THIS_EXPR.prop('declarationAppElement').prop('nativeElement')]);\n parentRenderNodeStmts = [parentRenderNodeVar.set(parentRenderNodeExpr).toDeclStmt(o.importType(view.genConfig.renderTypes.renderNode), [o.StmtModifier.Final])];\n }\n var resultExpr;\n if (view.viewType === core_private_1.ViewType.HOST) {\n resultExpr = view.nodes[0].appElement;\n } else {\n resultExpr = o.NULL_EXPR;\n }\n return parentRenderNodeStmts.concat(view.createMethod.finish()).concat([o.THIS_EXPR.callMethod('init', [util_1.createFlatArray(view.rootNodesOrAppElements), o.literalArr(view.nodes.map(function(node) {\n return node.renderNode;\n })), o.literalArr(view.disposables), o.literalArr(view.subscriptions)]).toStmt(), new o.ReturnStatement(resultExpr)]);\n}\nfunction generateDetectChangesMethod(view) {\n var stmts = [];\n if (view.detectChangesInInputsMethod.isEmpty() && view.updateContentQueriesMethod.isEmpty() && view.afterContentLifecycleCallbacksMethod.isEmpty() && view.detectChangesRenderPropertiesMethod.isEmpty() && view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty()) {\n return stmts;\n }\n collection_1.ListWrapper.addAll(stmts, view.detectChangesInInputsMethod.finish());\n stmts.push(o.THIS_EXPR.callMethod('detectContentChildrenChanges', [constants_1.DetectChangesVars.throwOnChange]).toStmt());\n var afterContentStmts = view.updateContentQueriesMethod.finish().concat(view.afterContentLifecycleCallbacksMethod.finish());\n if (afterContentStmts.length > 0) {\n stmts.push(new o.IfStmt(o.not(constants_1.DetectChangesVars.throwOnChange), afterContentStmts));\n }\n collection_1.ListWrapper.addAll(stmts, view.detectChangesRenderPropertiesMethod.finish());\n stmts.push(o.THIS_EXPR.callMethod('detectViewChildrenChanges', [constants_1.DetectChangesVars.throwOnChange]).toStmt());\n var afterViewStmts = view.updateViewQueriesMethod.finish().concat(view.afterViewLifecycleCallbacksMethod.finish());\n if (afterViewStmts.length > 0) {\n stmts.push(new o.IfStmt(o.not(constants_1.DetectChangesVars.throwOnChange), afterViewStmts));\n }\n var varStmts = [];\n var readVars = o.findReadVarNames(stmts);\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.changed.name)) {\n varStmts.push(constants_1.DetectChangesVars.changed.set(o.literal(true)).toDeclStmt(o.BOOL_TYPE));\n }\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.changes.name)) {\n varStmts.push(constants_1.DetectChangesVars.changes.set(o.NULL_EXPR).toDeclStmt(new o.MapType(o.importType(identifiers_1.Identifiers.SimpleChange))));\n }\n if (collection_1.SetWrapper.has(readVars, constants_1.DetectChangesVars.valUnwrapper.name)) {\n varStmts.push(constants_1.DetectChangesVars.valUnwrapper.set(o.importExpr(identifiers_1.Identifiers.ValueUnwrapper).instantiate([])).toDeclStmt(null, [o.StmtModifier.Final]));\n }\n return varStmts.concat(stmts);\n}\nfunction addReturnValuefNotEmpty(statements, value) {\n if (statements.length > 0) {\n return statements.concat([new o.ReturnStatement(value)]);\n } else {\n return statements;\n }\n}\nfunction getContextType(view) {\n if (view.viewType === core_private_1.ViewType.COMPONENT) {\n return o.importType(view.component.type);\n }\n return o.DYNAMIC_TYPE;\n}\nfunction getChangeDetectionMode(view) {\n var mode;\n if (view.viewType === core_private_1.ViewType.COMPONENT) {\n mode = core_private_1.isDefaultChangeDetectionStrategy(view.component.changeDetection) ? core_1.ChangeDetectionStrategy.CheckAlways : core_1.ChangeDetectionStrategy.CheckOnce;\n } else {\n mode = core_1.ChangeDetectionStrategy.CheckAlways;\n }\n return mode;\n}\n","/* */ \n\"use strict\";\nvar core_private_1 = require('../../core_private');\nvar core_private_2 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar constants_1 = require('./constants');\nvar template_ast_1 = require('../template_ast');\nvar util_1 = require('../util');\nvar expression_converter_1 = require('./expression_converter');\nvar compile_binding_1 = require('./compile_binding');\nfunction createBindFieldExpr(exprIndex) {\n return o.THIS_EXPR.prop(\"_expr_\" + exprIndex);\n}\nfunction createCurrValueExpr(exprIndex) {\n return o.variable(\"currVal_\" + exprIndex);\n}\nfunction bind(view, currValExpr, fieldExpr, parsedExpression, context, actions, method) {\n var checkExpression = expression_converter_1.convertCdExpressionToIr(view, context, parsedExpression, constants_1.DetectChangesVars.valUnwrapper);\n if (lang_1.isBlank(checkExpression.expression)) {\n return;\n }\n view.fields.push(new o.ClassField(fieldExpr.name, null, [o.StmtModifier.Private]));\n view.createMethod.addStmt(o.THIS_EXPR.prop(fieldExpr.name).set(o.importExpr(identifiers_1.Identifiers.uninitialized)).toStmt());\n if (checkExpression.needsValueUnwrapper) {\n var initValueUnwrapperStmt = constants_1.DetectChangesVars.valUnwrapper.callMethod('reset', []).toStmt();\n method.addStmt(initValueUnwrapperStmt);\n }\n method.addStmt(currValExpr.set(checkExpression.expression).toDeclStmt(null, [o.StmtModifier.Final]));\n var condition = o.importExpr(identifiers_1.Identifiers.checkBinding).callFn([constants_1.DetectChangesVars.throwOnChange, fieldExpr, currValExpr]);\n if (checkExpression.needsValueUnwrapper) {\n condition = constants_1.DetectChangesVars.valUnwrapper.prop('hasWrappedValue').or(condition);\n }\n method.addStmt(new o.IfStmt(condition, actions.concat([o.THIS_EXPR.prop(fieldExpr.name).set(currValExpr).toStmt()])));\n}\nfunction bindRenderText(boundText, compileNode, view) {\n var bindingIndex = view.bindings.length;\n view.bindings.push(new compile_binding_1.CompileBinding(compileNode, boundText));\n var currValExpr = createCurrValueExpr(bindingIndex);\n var valueField = createBindFieldExpr(bindingIndex);\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileNode.nodeIndex, boundText);\n bind(view, currValExpr, valueField, boundText.value, view.componentContext, [o.THIS_EXPR.prop('renderer').callMethod('setText', [compileNode.renderNode, currValExpr]).toStmt()], view.detectChangesRenderPropertiesMethod);\n}\nexports.bindRenderText = bindRenderText;\nfunction bindAndWriteToRenderer(boundProps, context, compileElement) {\n var view = compileElement.view;\n var renderNode = compileElement.renderNode;\n boundProps.forEach(function(boundProp) {\n var bindingIndex = view.bindings.length;\n view.bindings.push(new compile_binding_1.CompileBinding(compileElement, boundProp));\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileElement.nodeIndex, boundProp);\n var fieldExpr = createBindFieldExpr(bindingIndex);\n var currValExpr = createCurrValueExpr(bindingIndex);\n var renderMethod;\n var renderValue = sanitizedValue(boundProp, currValExpr);\n var updateStmts = [];\n switch (boundProp.type) {\n case template_ast_1.PropertyBindingType.Property:\n renderMethod = 'setElementProperty';\n if (view.genConfig.logBindingUpdate) {\n updateStmts.push(logBindingUpdateStmt(renderNode, boundProp.name, currValExpr));\n }\n break;\n case template_ast_1.PropertyBindingType.Attribute:\n renderMethod = 'setElementAttribute';\n renderValue = renderValue.isBlank().conditional(o.NULL_EXPR, renderValue.callMethod('toString', []));\n break;\n case template_ast_1.PropertyBindingType.Class:\n renderMethod = 'setElementClass';\n break;\n case template_ast_1.PropertyBindingType.Style:\n renderMethod = 'setElementStyle';\n var strValue = renderValue.callMethod('toString', []);\n if (lang_1.isPresent(boundProp.unit)) {\n strValue = strValue.plus(o.literal(boundProp.unit));\n }\n renderValue = renderValue.isBlank().conditional(o.NULL_EXPR, strValue);\n break;\n }\n updateStmts.push(o.THIS_EXPR.prop('renderer').callMethod(renderMethod, [renderNode, o.literal(boundProp.name), renderValue]).toStmt());\n bind(view, currValExpr, fieldExpr, boundProp.value, context, updateStmts, view.detectChangesRenderPropertiesMethod);\n });\n}\nfunction sanitizedValue(boundProp, renderValue) {\n var enumValue;\n switch (boundProp.securityContext) {\n case core_private_1.SecurityContext.NONE:\n return renderValue;\n case core_private_1.SecurityContext.HTML:\n enumValue = 'HTML';\n break;\n case core_private_1.SecurityContext.STYLE:\n enumValue = 'STYLE';\n break;\n case core_private_1.SecurityContext.SCRIPT:\n enumValue = 'SCRIPT';\n break;\n case core_private_1.SecurityContext.URL:\n enumValue = 'URL';\n break;\n case core_private_1.SecurityContext.RESOURCE_URL:\n enumValue = 'RESOURCE_URL';\n break;\n default:\n throw new Error(\"internal error, unexpected SecurityContext \" + boundProp.securityContext + \".\");\n }\n var ctx = constants_1.ViewProperties.viewUtils.prop('sanitizer');\n var args = [o.importExpr(identifiers_1.Identifiers.SecurityContext).prop(enumValue), renderValue];\n return ctx.callMethod('sanitize', args);\n}\nfunction bindRenderInputs(boundProps, compileElement) {\n bindAndWriteToRenderer(boundProps, compileElement.view.componentContext, compileElement);\n}\nexports.bindRenderInputs = bindRenderInputs;\nfunction bindDirectiveHostProps(directiveAst, directiveInstance, compileElement) {\n bindAndWriteToRenderer(directiveAst.hostProperties, directiveInstance, compileElement);\n}\nexports.bindDirectiveHostProps = bindDirectiveHostProps;\nfunction bindDirectiveInputs(directiveAst, directiveInstance, compileElement) {\n if (directiveAst.inputs.length === 0) {\n return;\n }\n var view = compileElement.view;\n var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n var lifecycleHooks = directiveAst.directive.lifecycleHooks;\n var calcChangesMap = lifecycleHooks.indexOf(core_private_2.LifecycleHooks.OnChanges) !== -1;\n var isOnPushComp = directiveAst.directive.isComponent && !core_private_2.isDefaultChangeDetectionStrategy(directiveAst.directive.changeDetection);\n if (calcChangesMap) {\n detectChangesInInputsMethod.addStmt(constants_1.DetectChangesVars.changes.set(o.NULL_EXPR).toStmt());\n }\n if (isOnPushComp) {\n detectChangesInInputsMethod.addStmt(constants_1.DetectChangesVars.changed.set(o.literal(false)).toStmt());\n }\n directiveAst.inputs.forEach(function(input) {\n var bindingIndex = view.bindings.length;\n view.bindings.push(new compile_binding_1.CompileBinding(compileElement, input));\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, input);\n var fieldExpr = createBindFieldExpr(bindingIndex);\n var currValExpr = createCurrValueExpr(bindingIndex);\n var statements = [directiveInstance.prop(input.directiveName).set(currValExpr).toStmt()];\n if (calcChangesMap) {\n statements.push(new o.IfStmt(constants_1.DetectChangesVars.changes.identical(o.NULL_EXPR), [constants_1.DetectChangesVars.changes.set(o.literalMap([], new o.MapType(o.importType(identifiers_1.Identifiers.SimpleChange)))).toStmt()]));\n statements.push(constants_1.DetectChangesVars.changes.key(o.literal(input.directiveName)).set(o.importExpr(identifiers_1.Identifiers.SimpleChange).instantiate([fieldExpr, currValExpr])).toStmt());\n }\n if (isOnPushComp) {\n statements.push(constants_1.DetectChangesVars.changed.set(o.literal(true)).toStmt());\n }\n if (view.genConfig.logBindingUpdate) {\n statements.push(logBindingUpdateStmt(compileElement.renderNode, input.directiveName, currValExpr));\n }\n bind(view, currValExpr, fieldExpr, input.value, view.componentContext, statements, detectChangesInInputsMethod);\n });\n if (isOnPushComp) {\n detectChangesInInputsMethod.addStmt(new o.IfStmt(constants_1.DetectChangesVars.changed, [compileElement.appElement.prop('componentView').callMethod('markAsCheckOnce', []).toStmt()]));\n }\n}\nexports.bindDirectiveInputs = bindDirectiveInputs;\nfunction logBindingUpdateStmt(renderNode, propName, value) {\n return o.THIS_EXPR.prop('renderer').callMethod('setBindingDebugInfo', [renderNode, o.literal(\"ng-reflect-\" + util_1.camelCaseToDashCase(propName)), value.isBlank().conditional(o.NULL_EXPR, value.callMethod('toString', []))]).toStmt();\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar o = require('../output/output_ast');\nvar _DebugState = (function() {\n function _DebugState(nodeIndex, sourceAst) {\n this.nodeIndex = nodeIndex;\n this.sourceAst = sourceAst;\n }\n return _DebugState;\n}());\nvar NULL_DEBUG_STATE = new _DebugState(null, null);\nvar CompileMethod = (function() {\n function CompileMethod(_view) {\n this._view = _view;\n this._newState = NULL_DEBUG_STATE;\n this._currState = NULL_DEBUG_STATE;\n this._bodyStatements = [];\n this._debugEnabled = this._view.genConfig.genDebugInfo;\n }\n CompileMethod.prototype._updateDebugContextIfNeeded = function() {\n if (this._newState.nodeIndex !== this._currState.nodeIndex || this._newState.sourceAst !== this._currState.sourceAst) {\n var expr = this._updateDebugContext(this._newState);\n if (lang_1.isPresent(expr)) {\n this._bodyStatements.push(expr.toStmt());\n }\n }\n };\n CompileMethod.prototype._updateDebugContext = function(newState) {\n this._currState = this._newState = newState;\n if (this._debugEnabled) {\n var sourceLocation = lang_1.isPresent(newState.sourceAst) ? newState.sourceAst.sourceSpan.start : null;\n return o.THIS_EXPR.callMethod('debug', [o.literal(newState.nodeIndex), lang_1.isPresent(sourceLocation) ? o.literal(sourceLocation.line) : o.NULL_EXPR, lang_1.isPresent(sourceLocation) ? o.literal(sourceLocation.col) : o.NULL_EXPR]);\n } else {\n return null;\n }\n };\n CompileMethod.prototype.resetDebugInfoExpr = function(nodeIndex, templateAst) {\n var res = this._updateDebugContext(new _DebugState(nodeIndex, templateAst));\n return lang_1.isPresent(res) ? res : o.NULL_EXPR;\n };\n CompileMethod.prototype.resetDebugInfo = function(nodeIndex, templateAst) {\n this._newState = new _DebugState(nodeIndex, templateAst);\n };\n CompileMethod.prototype.addStmt = function(stmt) {\n this._updateDebugContextIfNeeded();\n this._bodyStatements.push(stmt);\n };\n CompileMethod.prototype.addStmts = function(stmts) {\n this._updateDebugContextIfNeeded();\n collection_1.ListWrapper.addAll(this._bodyStatements, stmts);\n };\n CompileMethod.prototype.finish = function() {\n return this._bodyStatements;\n };\n CompileMethod.prototype.isEmpty = function() {\n return this._bodyStatements.length === 0;\n };\n return CompileMethod;\n}());\nexports.CompileMethod = CompileMethod;\n","/* */ \n\"use strict\";\nvar exceptions_1 = require('../facade/exceptions');\nvar lang_1 = require('../facade/lang');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nvar IMPLICIT_RECEIVER = o.variable('#implicit');\nvar ExpressionWithWrappedValueInfo = (function() {\n function ExpressionWithWrappedValueInfo(expression, needsValueUnwrapper) {\n this.expression = expression;\n this.needsValueUnwrapper = needsValueUnwrapper;\n }\n return ExpressionWithWrappedValueInfo;\n}());\nexports.ExpressionWithWrappedValueInfo = ExpressionWithWrappedValueInfo;\nfunction convertCdExpressionToIr(nameResolver, implicitReceiver, expression, valueUnwrapper) {\n var visitor = new _AstToIrVisitor(nameResolver, implicitReceiver, valueUnwrapper);\n var irAst = expression.visit(visitor, _Mode.Expression);\n return new ExpressionWithWrappedValueInfo(irAst, visitor.needsValueUnwrapper);\n}\nexports.convertCdExpressionToIr = convertCdExpressionToIr;\nfunction convertCdStatementToIr(nameResolver, implicitReceiver, stmt) {\n var visitor = new _AstToIrVisitor(nameResolver, implicitReceiver, null);\n var statements = [];\n flattenStatements(stmt.visit(visitor, _Mode.Statement), statements);\n return statements;\n}\nexports.convertCdStatementToIr = convertCdStatementToIr;\nvar _Mode;\n(function(_Mode) {\n _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n})(_Mode || (_Mode = {}));\nfunction ensureStatementMode(mode, ast) {\n if (mode !== _Mode.Statement) {\n throw new exceptions_1.BaseException(\"Expected a statement, but saw \" + ast);\n }\n}\nfunction ensureExpressionMode(mode, ast) {\n if (mode !== _Mode.Expression) {\n throw new exceptions_1.BaseException(\"Expected an expression, but saw \" + ast);\n }\n}\nfunction convertToStatementIfNeeded(mode, expr) {\n if (mode === _Mode.Statement) {\n return expr.toStmt();\n } else {\n return expr;\n }\n}\nvar _AstToIrVisitor = (function() {\n function _AstToIrVisitor(_nameResolver, _implicitReceiver, _valueUnwrapper) {\n this._nameResolver = _nameResolver;\n this._implicitReceiver = _implicitReceiver;\n this._valueUnwrapper = _valueUnwrapper;\n this.needsValueUnwrapper = false;\n }\n _AstToIrVisitor.prototype.visitBinary = function(ast, mode) {\n var op;\n switch (ast.operation) {\n case '+':\n op = o.BinaryOperator.Plus;\n break;\n case '-':\n op = o.BinaryOperator.Minus;\n break;\n case '*':\n op = o.BinaryOperator.Multiply;\n break;\n case '/':\n op = o.BinaryOperator.Divide;\n break;\n case '%':\n op = o.BinaryOperator.Modulo;\n break;\n case '&&':\n op = o.BinaryOperator.And;\n break;\n case '||':\n op = o.BinaryOperator.Or;\n break;\n case '==':\n op = o.BinaryOperator.Equals;\n break;\n case '!=':\n op = o.BinaryOperator.NotEquals;\n break;\n case '===':\n op = o.BinaryOperator.Identical;\n break;\n case '!==':\n op = o.BinaryOperator.NotIdentical;\n break;\n case '<':\n op = o.BinaryOperator.Lower;\n break;\n case '>':\n op = o.BinaryOperator.Bigger;\n break;\n case '<=':\n op = o.BinaryOperator.LowerEquals;\n break;\n case '>=':\n op = o.BinaryOperator.BiggerEquals;\n break;\n default:\n throw new exceptions_1.BaseException(\"Unsupported operation \" + ast.operation);\n }\n return convertToStatementIfNeeded(mode, new o.BinaryOperatorExpr(op, ast.left.visit(this, _Mode.Expression), ast.right.visit(this, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitChain = function(ast, mode) {\n ensureStatementMode(mode, ast);\n return this.visitAll(ast.expressions, mode);\n };\n _AstToIrVisitor.prototype.visitConditional = function(ast, mode) {\n var value = ast.condition.visit(this, _Mode.Expression);\n return convertToStatementIfNeeded(mode, value.conditional(ast.trueExp.visit(this, _Mode.Expression), ast.falseExp.visit(this, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPipe = function(ast, mode) {\n var input = ast.exp.visit(this, _Mode.Expression);\n var args = this.visitAll(ast.args, _Mode.Expression);\n var value = this._nameResolver.callPipe(ast.name, input, args);\n this.needsValueUnwrapper = true;\n return convertToStatementIfNeeded(mode, this._valueUnwrapper.callMethod('unwrap', [value]));\n };\n _AstToIrVisitor.prototype.visitFunctionCall = function(ast, mode) {\n return convertToStatementIfNeeded(mode, ast.target.visit(this, _Mode.Expression).callFn(this.visitAll(ast.args, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitImplicitReceiver = function(ast, mode) {\n ensureExpressionMode(mode, ast);\n return IMPLICIT_RECEIVER;\n };\n _AstToIrVisitor.prototype.visitInterpolation = function(ast, mode) {\n ensureExpressionMode(mode, ast);\n var args = [o.literal(ast.expressions.length)];\n for (var i = 0; i < ast.strings.length - 1; i++) {\n args.push(o.literal(ast.strings[i]));\n args.push(ast.expressions[i].visit(this, _Mode.Expression));\n }\n args.push(o.literal(ast.strings[ast.strings.length - 1]));\n return o.importExpr(identifiers_1.Identifiers.interpolate).callFn(args);\n };\n _AstToIrVisitor.prototype.visitKeyedRead = function(ast, mode) {\n return convertToStatementIfNeeded(mode, ast.obj.visit(this, _Mode.Expression).key(ast.key.visit(this, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitKeyedWrite = function(ast, mode) {\n var obj = ast.obj.visit(this, _Mode.Expression);\n var key = ast.key.visit(this, _Mode.Expression);\n var value = ast.value.visit(this, _Mode.Expression);\n return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n };\n _AstToIrVisitor.prototype.visitLiteralArray = function(ast, mode) {\n return convertToStatementIfNeeded(mode, this._nameResolver.createLiteralArray(this.visitAll(ast.expressions, mode)));\n };\n _AstToIrVisitor.prototype.visitLiteralMap = function(ast, mode) {\n var parts = [];\n for (var i = 0; i < ast.keys.length; i++) {\n parts.push([ast.keys[i], ast.values[i].visit(this, _Mode.Expression)]);\n }\n return convertToStatementIfNeeded(mode, this._nameResolver.createLiteralMap(parts));\n };\n _AstToIrVisitor.prototype.visitLiteralPrimitive = function(ast, mode) {\n return convertToStatementIfNeeded(mode, o.literal(ast.value));\n };\n _AstToIrVisitor.prototype.visitMethodCall = function(ast, mode) {\n var args = this.visitAll(ast.args, _Mode.Expression);\n var result = null;\n var receiver = ast.receiver.visit(this, _Mode.Expression);\n if (receiver === IMPLICIT_RECEIVER) {\n var varExpr = this._nameResolver.getLocal(ast.name);\n if (lang_1.isPresent(varExpr)) {\n result = varExpr.callFn(args);\n } else {\n receiver = this._implicitReceiver;\n }\n }\n if (lang_1.isBlank(result)) {\n result = receiver.callMethod(ast.name, args);\n }\n return convertToStatementIfNeeded(mode, result);\n };\n _AstToIrVisitor.prototype.visitPrefixNot = function(ast, mode) {\n return convertToStatementIfNeeded(mode, o.not(ast.expression.visit(this, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPropertyRead = function(ast, mode) {\n var result = null;\n var receiver = ast.receiver.visit(this, _Mode.Expression);\n if (receiver === IMPLICIT_RECEIVER) {\n result = this._nameResolver.getLocal(ast.name);\n if (lang_1.isBlank(result)) {\n receiver = this._implicitReceiver;\n }\n }\n if (lang_1.isBlank(result)) {\n result = receiver.prop(ast.name);\n }\n return convertToStatementIfNeeded(mode, result);\n };\n _AstToIrVisitor.prototype.visitPropertyWrite = function(ast, mode) {\n var receiver = ast.receiver.visit(this, _Mode.Expression);\n if (receiver === IMPLICIT_RECEIVER) {\n var varExpr = this._nameResolver.getLocal(ast.name);\n if (lang_1.isPresent(varExpr)) {\n throw new exceptions_1.BaseException('Cannot assign to a reference or variable!');\n }\n receiver = this._implicitReceiver;\n }\n return convertToStatementIfNeeded(mode, receiver.prop(ast.name).set(ast.value.visit(this, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitSafePropertyRead = function(ast, mode) {\n var receiver = ast.receiver.visit(this, _Mode.Expression);\n return convertToStatementIfNeeded(mode, receiver.isBlank().conditional(o.NULL_EXPR, receiver.prop(ast.name)));\n };\n _AstToIrVisitor.prototype.visitSafeMethodCall = function(ast, mode) {\n var receiver = ast.receiver.visit(this, _Mode.Expression);\n var args = this.visitAll(ast.args, _Mode.Expression);\n return convertToStatementIfNeeded(mode, receiver.isBlank().conditional(o.NULL_EXPR, receiver.callMethod(ast.name, args)));\n };\n _AstToIrVisitor.prototype.visitAll = function(asts, mode) {\n var _this = this;\n return asts.map(function(ast) {\n return ast.visit(_this, mode);\n });\n };\n _AstToIrVisitor.prototype.visitQuote = function(ast, mode) {\n throw new exceptions_1.BaseException('Quotes are not supported for evaluation!');\n };\n return _AstToIrVisitor;\n}());\nfunction flattenStatements(arg, output) {\n if (lang_1.isArray(arg)) {\n arg.forEach(function(entry) {\n return flattenStatements(entry, output);\n });\n } else {\n output.push(arg);\n }\n}\n","/* */ \n\"use strict\";\nvar CompileBinding = (function () {\n function CompileBinding(node, sourceAst) {\n this.node = node;\n this.sourceAst = sourceAst;\n }\n return CompileBinding;\n}());\nexports.CompileBinding = CompileBinding;\n//# sourceMappingURL=compile_binding.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar constants_1 = require('./constants');\nvar o = require('../output/output_ast');\nvar compile_method_1 = require('./compile_method');\nvar expression_converter_1 = require('./expression_converter');\nvar compile_binding_1 = require('./compile_binding');\nvar CompileEventListener = (function() {\n function CompileEventListener(compileElement, eventTarget, eventName, listenerIndex) {\n this.compileElement = compileElement;\n this.eventTarget = eventTarget;\n this.eventName = eventName;\n this._hasComponentHostListener = false;\n this._actionResultExprs = [];\n this._method = new compile_method_1.CompileMethod(compileElement.view);\n this._methodName = \"_handle_\" + santitizeEventName(eventName) + \"_\" + compileElement.nodeIndex + \"_\" + listenerIndex;\n this._eventParam = new o.FnParam(constants_1.EventHandlerVars.event.name, o.importType(this.compileElement.view.genConfig.renderTypes.renderEvent));\n }\n CompileEventListener.getOrCreate = function(compileElement, eventTarget, eventName, targetEventListeners) {\n var listener = targetEventListeners.find(function(listener) {\n return listener.eventTarget == eventTarget && listener.eventName == eventName;\n });\n if (lang_1.isBlank(listener)) {\n listener = new CompileEventListener(compileElement, eventTarget, eventName, targetEventListeners.length);\n targetEventListeners.push(listener);\n }\n return listener;\n };\n CompileEventListener.prototype.addAction = function(hostEvent, directive, directiveInstance) {\n if (lang_1.isPresent(directive) && directive.isComponent) {\n this._hasComponentHostListener = true;\n }\n this._method.resetDebugInfo(this.compileElement.nodeIndex, hostEvent);\n var context = lang_1.isPresent(directiveInstance) ? directiveInstance : this.compileElement.view.componentContext;\n var actionStmts = expression_converter_1.convertCdStatementToIr(this.compileElement.view, context, hostEvent.handler);\n var lastIndex = actionStmts.length - 1;\n if (lastIndex >= 0) {\n var lastStatement = actionStmts[lastIndex];\n var returnExpr = convertStmtIntoExpression(lastStatement);\n var preventDefaultVar = o.variable(\"pd_\" + this._actionResultExprs.length);\n this._actionResultExprs.push(preventDefaultVar);\n if (lang_1.isPresent(returnExpr)) {\n actionStmts[lastIndex] = preventDefaultVar.set(returnExpr.cast(o.DYNAMIC_TYPE).notIdentical(o.literal(false))).toDeclStmt(null, [o.StmtModifier.Final]);\n }\n }\n this._method.addStmts(actionStmts);\n };\n CompileEventListener.prototype.finishMethod = function() {\n var markPathToRootStart = this._hasComponentHostListener ? this.compileElement.appElement.prop('componentView') : o.THIS_EXPR;\n var resultExpr = o.literal(true);\n this._actionResultExprs.forEach(function(expr) {\n resultExpr = resultExpr.and(expr);\n });\n var stmts = [markPathToRootStart.callMethod('markPathToRootAsCheckOnce', []).toStmt()].concat(this._method.finish()).concat([new o.ReturnStatement(resultExpr)]);\n this.compileElement.view.eventHandlerMethods.push(new o.ClassMethod(this._methodName, [this._eventParam], stmts, o.BOOL_TYPE, [o.StmtModifier.Private]));\n };\n CompileEventListener.prototype.listenToRenderer = function() {\n var listenExpr;\n var eventListener = o.THIS_EXPR.callMethod('eventHandler', [o.THIS_EXPR.prop(this._methodName).callMethod(o.BuiltinMethod.bind, [o.THIS_EXPR])]);\n if (lang_1.isPresent(this.eventTarget)) {\n listenExpr = constants_1.ViewProperties.renderer.callMethod('listenGlobal', [o.literal(this.eventTarget), o.literal(this.eventName), eventListener]);\n } else {\n listenExpr = constants_1.ViewProperties.renderer.callMethod('listen', [this.compileElement.renderNode, o.literal(this.eventName), eventListener]);\n }\n var disposable = o.variable(\"disposable_\" + this.compileElement.view.disposables.length);\n this.compileElement.view.disposables.push(disposable);\n this.compileElement.view.createMethod.addStmt(disposable.set(listenExpr).toDeclStmt(o.FUNCTION_TYPE, [o.StmtModifier.Private]));\n };\n CompileEventListener.prototype.listenToDirective = function(directiveInstance, observablePropName) {\n var subscription = o.variable(\"subscription_\" + this.compileElement.view.subscriptions.length);\n this.compileElement.view.subscriptions.push(subscription);\n var eventListener = o.THIS_EXPR.callMethod('eventHandler', [o.THIS_EXPR.prop(this._methodName).callMethod(o.BuiltinMethod.bind, [o.THIS_EXPR])]);\n this.compileElement.view.createMethod.addStmt(subscription.set(directiveInstance.prop(observablePropName).callMethod(o.BuiltinMethod.SubscribeObservable, [eventListener])).toDeclStmt(null, [o.StmtModifier.Final]));\n };\n return CompileEventListener;\n}());\nexports.CompileEventListener = CompileEventListener;\nfunction collectEventListeners(hostEvents, dirs, compileElement) {\n var eventListeners = [];\n hostEvents.forEach(function(hostEvent) {\n compileElement.view.bindings.push(new compile_binding_1.CompileBinding(compileElement, hostEvent));\n var listener = CompileEventListener.getOrCreate(compileElement, hostEvent.target, hostEvent.name, eventListeners);\n listener.addAction(hostEvent, null, null);\n });\n collection_1.ListWrapper.forEachWithIndex(dirs, function(directiveAst, i) {\n var directiveInstance = compileElement.directiveInstances[i];\n directiveAst.hostEvents.forEach(function(hostEvent) {\n compileElement.view.bindings.push(new compile_binding_1.CompileBinding(compileElement, hostEvent));\n var listener = CompileEventListener.getOrCreate(compileElement, hostEvent.target, hostEvent.name, eventListeners);\n listener.addAction(hostEvent, directiveAst.directive, directiveInstance);\n });\n });\n eventListeners.forEach(function(listener) {\n return listener.finishMethod();\n });\n return eventListeners;\n}\nexports.collectEventListeners = collectEventListeners;\nfunction bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners) {\n collection_1.StringMapWrapper.forEach(directiveAst.directive.outputs, function(eventName, observablePropName) {\n eventListeners.filter(function(listener) {\n return listener.eventName == eventName;\n }).forEach(function(listener) {\n listener.listenToDirective(directiveInstance, observablePropName);\n });\n });\n}\nexports.bindDirectiveOutputs = bindDirectiveOutputs;\nfunction bindRenderOutputs(eventListeners) {\n eventListeners.forEach(function(listener) {\n return listener.listenToRenderer();\n });\n}\nexports.bindRenderOutputs = bindRenderOutputs;\nfunction convertStmtIntoExpression(stmt) {\n if (stmt instanceof o.ExpressionStatement) {\n return stmt.expr;\n } else if (stmt instanceof o.ReturnStatement) {\n return stmt.value;\n }\n return null;\n}\nfunction santitizeEventName(name) {\n return lang_1.StringWrapper.replaceAll(name, /[^a-zA-Z_]/g, '_');\n}\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\n(function(TypeModifier) {\n TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n})(exports.TypeModifier || (exports.TypeModifier = {}));\nvar TypeModifier = exports.TypeModifier;\nvar Type = (function() {\n function Type(modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n this.modifiers = modifiers;\n if (lang_1.isBlank(modifiers)) {\n this.modifiers = [];\n }\n }\n Type.prototype.hasModifier = function(modifier) {\n return this.modifiers.indexOf(modifier) !== -1;\n };\n return Type;\n}());\nexports.Type = Type;\n(function(BuiltinTypeName) {\n BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n})(exports.BuiltinTypeName || (exports.BuiltinTypeName = {}));\nvar BuiltinTypeName = exports.BuiltinTypeName;\nvar BuiltinType = (function(_super) {\n __extends(BuiltinType, _super);\n function BuiltinType(name, modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.name = name;\n }\n BuiltinType.prototype.visitType = function(visitor, context) {\n return visitor.visitBuiltintType(this, context);\n };\n return BuiltinType;\n}(Type));\nexports.BuiltinType = BuiltinType;\nvar ExternalType = (function(_super) {\n __extends(ExternalType, _super);\n function ExternalType(value, typeParams, modifiers) {\n if (typeParams === void 0) {\n typeParams = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalType.prototype.visitType = function(visitor, context) {\n return visitor.visitExternalType(this, context);\n };\n return ExternalType;\n}(Type));\nexports.ExternalType = ExternalType;\nvar ArrayType = (function(_super) {\n __extends(ArrayType, _super);\n function ArrayType(of, modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.of = of;\n }\n ArrayType.prototype.visitType = function(visitor, context) {\n return visitor.visitArrayType(this, context);\n };\n return ArrayType;\n}(Type));\nexports.ArrayType = ArrayType;\nvar MapType = (function(_super) {\n __extends(MapType, _super);\n function MapType(valueType, modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.valueType = valueType;\n }\n MapType.prototype.visitType = function(visitor, context) {\n return visitor.visitMapType(this, context);\n };\n return MapType;\n}(Type));\nexports.MapType = MapType;\nexports.DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\nexports.BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\nexports.INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\nexports.NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\nexports.STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\nexports.FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\n(function(BinaryOperator) {\n BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\n BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\n BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\n BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\n})(exports.BinaryOperator || (exports.BinaryOperator = {}));\nvar BinaryOperator = exports.BinaryOperator;\nvar Expression = (function() {\n function Expression(type) {\n this.type = type;\n }\n Expression.prototype.prop = function(name) {\n return new ReadPropExpr(this, name);\n };\n Expression.prototype.key = function(index, type) {\n if (type === void 0) {\n type = null;\n }\n return new ReadKeyExpr(this, index, type);\n };\n Expression.prototype.callMethod = function(name, params) {\n return new InvokeMethodExpr(this, name, params);\n };\n Expression.prototype.callFn = function(params) {\n return new InvokeFunctionExpr(this, params);\n };\n Expression.prototype.instantiate = function(params, type) {\n if (type === void 0) {\n type = null;\n }\n return new InstantiateExpr(this, params, type);\n };\n Expression.prototype.conditional = function(trueCase, falseCase) {\n if (falseCase === void 0) {\n falseCase = null;\n }\n return new ConditionalExpr(this, trueCase, falseCase);\n };\n Expression.prototype.equals = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\n };\n Expression.prototype.notEquals = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\n };\n Expression.prototype.identical = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\n };\n Expression.prototype.notIdentical = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\n };\n Expression.prototype.minus = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\n };\n Expression.prototype.plus = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\n };\n Expression.prototype.divide = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\n };\n Expression.prototype.multiply = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\n };\n Expression.prototype.modulo = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\n };\n Expression.prototype.and = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\n };\n Expression.prototype.or = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\n };\n Expression.prototype.lower = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\n };\n Expression.prototype.lowerEquals = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\n };\n Expression.prototype.bigger = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\n };\n Expression.prototype.biggerEquals = function(rhs) {\n return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\n };\n Expression.prototype.isBlank = function() {\n return this.equals(exports.NULL_EXPR);\n };\n Expression.prototype.cast = function(type) {\n return new CastExpr(this, type);\n };\n Expression.prototype.toStmt = function() {\n return new ExpressionStatement(this);\n };\n return Expression;\n}());\nexports.Expression = Expression;\n(function(BuiltinVar) {\n BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n})(exports.BuiltinVar || (exports.BuiltinVar = {}));\nvar BuiltinVar = exports.BuiltinVar;\nvar ReadVarExpr = (function(_super) {\n __extends(ReadVarExpr, _super);\n function ReadVarExpr(name, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n if (lang_1.isString(name)) {\n this.name = name;\n this.builtin = null;\n } else {\n this.name = null;\n this.builtin = name;\n }\n }\n ReadVarExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitReadVarExpr(this, context);\n };\n ReadVarExpr.prototype.set = function(value) {\n return new WriteVarExpr(this.name, value);\n };\n return ReadVarExpr;\n}(Expression));\nexports.ReadVarExpr = ReadVarExpr;\nvar WriteVarExpr = (function(_super) {\n __extends(WriteVarExpr, _super);\n function WriteVarExpr(name, value, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\n this.name = name;\n this.value = value;\n }\n WriteVarExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitWriteVarExpr(this, context);\n };\n WriteVarExpr.prototype.toDeclStmt = function(type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n return new DeclareVarStmt(this.name, this.value, type, modifiers);\n };\n return WriteVarExpr;\n}(Expression));\nexports.WriteVarExpr = WriteVarExpr;\nvar WriteKeyExpr = (function(_super) {\n __extends(WriteKeyExpr, _super);\n function WriteKeyExpr(receiver, index, value, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\n this.receiver = receiver;\n this.index = index;\n this.value = value;\n }\n WriteKeyExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitWriteKeyExpr(this, context);\n };\n return WriteKeyExpr;\n}(Expression));\nexports.WriteKeyExpr = WriteKeyExpr;\nvar WritePropExpr = (function(_super) {\n __extends(WritePropExpr, _super);\n function WritePropExpr(receiver, name, value, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, lang_1.isPresent(type) ? type : value.type);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n WritePropExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitWritePropExpr(this, context);\n };\n return WritePropExpr;\n}(Expression));\nexports.WritePropExpr = WritePropExpr;\n(function(BuiltinMethod) {\n BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n BuiltinMethod[BuiltinMethod[\"bind\"] = 2] = \"bind\";\n})(exports.BuiltinMethod || (exports.BuiltinMethod = {}));\nvar BuiltinMethod = exports.BuiltinMethod;\nvar InvokeMethodExpr = (function(_super) {\n __extends(InvokeMethodExpr, _super);\n function InvokeMethodExpr(receiver, method, args, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.receiver = receiver;\n this.args = args;\n if (lang_1.isString(method)) {\n this.name = method;\n this.builtin = null;\n } else {\n this.name = null;\n this.builtin = method;\n }\n }\n InvokeMethodExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitInvokeMethodExpr(this, context);\n };\n return InvokeMethodExpr;\n}(Expression));\nexports.InvokeMethodExpr = InvokeMethodExpr;\nvar InvokeFunctionExpr = (function(_super) {\n __extends(InvokeFunctionExpr, _super);\n function InvokeFunctionExpr(fn, args, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.fn = fn;\n this.args = args;\n }\n InvokeFunctionExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitInvokeFunctionExpr(this, context);\n };\n return InvokeFunctionExpr;\n}(Expression));\nexports.InvokeFunctionExpr = InvokeFunctionExpr;\nvar InstantiateExpr = (function(_super) {\n __extends(InstantiateExpr, _super);\n function InstantiateExpr(classExpr, args, type) {\n _super.call(this, type);\n this.classExpr = classExpr;\n this.args = args;\n }\n InstantiateExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitInstantiateExpr(this, context);\n };\n return InstantiateExpr;\n}(Expression));\nexports.InstantiateExpr = InstantiateExpr;\nvar LiteralExpr = (function(_super) {\n __extends(LiteralExpr, _super);\n function LiteralExpr(value, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.value = value;\n }\n LiteralExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitLiteralExpr(this, context);\n };\n return LiteralExpr;\n}(Expression));\nexports.LiteralExpr = LiteralExpr;\nvar ExternalExpr = (function(_super) {\n __extends(ExternalExpr, _super);\n function ExternalExpr(value, type, typeParams) {\n if (type === void 0) {\n type = null;\n }\n if (typeParams === void 0) {\n typeParams = null;\n }\n _super.call(this, type);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitExternalExpr(this, context);\n };\n return ExternalExpr;\n}(Expression));\nexports.ExternalExpr = ExternalExpr;\nvar ConditionalExpr = (function(_super) {\n __extends(ConditionalExpr, _super);\n function ConditionalExpr(condition, trueCase, falseCase, type) {\n if (falseCase === void 0) {\n falseCase = null;\n }\n if (type === void 0) {\n type = null;\n }\n _super.call(this, lang_1.isPresent(type) ? type : trueCase.type);\n this.condition = condition;\n this.falseCase = falseCase;\n this.trueCase = trueCase;\n }\n ConditionalExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitConditionalExpr(this, context);\n };\n return ConditionalExpr;\n}(Expression));\nexports.ConditionalExpr = ConditionalExpr;\nvar NotExpr = (function(_super) {\n __extends(NotExpr, _super);\n function NotExpr(condition) {\n _super.call(this, exports.BOOL_TYPE);\n this.condition = condition;\n }\n NotExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitNotExpr(this, context);\n };\n return NotExpr;\n}(Expression));\nexports.NotExpr = NotExpr;\nvar CastExpr = (function(_super) {\n __extends(CastExpr, _super);\n function CastExpr(value, type) {\n _super.call(this, type);\n this.value = value;\n }\n CastExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitCastExpr(this, context);\n };\n return CastExpr;\n}(Expression));\nexports.CastExpr = CastExpr;\nvar FnParam = (function() {\n function FnParam(name, type) {\n if (type === void 0) {\n type = null;\n }\n this.name = name;\n this.type = type;\n }\n return FnParam;\n}());\nexports.FnParam = FnParam;\nvar FunctionExpr = (function(_super) {\n __extends(FunctionExpr, _super);\n function FunctionExpr(params, statements, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.params = params;\n this.statements = statements;\n }\n FunctionExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitFunctionExpr(this, context);\n };\n FunctionExpr.prototype.toDeclStmt = function(name, modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\n };\n return FunctionExpr;\n}(Expression));\nexports.FunctionExpr = FunctionExpr;\nvar BinaryOperatorExpr = (function(_super) {\n __extends(BinaryOperatorExpr, _super);\n function BinaryOperatorExpr(operator, lhs, rhs, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, lang_1.isPresent(type) ? type : lhs.type);\n this.operator = operator;\n this.rhs = rhs;\n this.lhs = lhs;\n }\n BinaryOperatorExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitBinaryOperatorExpr(this, context);\n };\n return BinaryOperatorExpr;\n}(Expression));\nexports.BinaryOperatorExpr = BinaryOperatorExpr;\nvar ReadPropExpr = (function(_super) {\n __extends(ReadPropExpr, _super);\n function ReadPropExpr(receiver, name, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.receiver = receiver;\n this.name = name;\n }\n ReadPropExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitReadPropExpr(this, context);\n };\n ReadPropExpr.prototype.set = function(value) {\n return new WritePropExpr(this.receiver, this.name, value);\n };\n return ReadPropExpr;\n}(Expression));\nexports.ReadPropExpr = ReadPropExpr;\nvar ReadKeyExpr = (function(_super) {\n __extends(ReadKeyExpr, _super);\n function ReadKeyExpr(receiver, index, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.receiver = receiver;\n this.index = index;\n }\n ReadKeyExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitReadKeyExpr(this, context);\n };\n ReadKeyExpr.prototype.set = function(value) {\n return new WriteKeyExpr(this.receiver, this.index, value);\n };\n return ReadKeyExpr;\n}(Expression));\nexports.ReadKeyExpr = ReadKeyExpr;\nvar LiteralArrayExpr = (function(_super) {\n __extends(LiteralArrayExpr, _super);\n function LiteralArrayExpr(entries, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.entries = entries;\n }\n LiteralArrayExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitLiteralArrayExpr(this, context);\n };\n return LiteralArrayExpr;\n}(Expression));\nexports.LiteralArrayExpr = LiteralArrayExpr;\nvar LiteralMapExpr = (function(_super) {\n __extends(LiteralMapExpr, _super);\n function LiteralMapExpr(entries, type) {\n if (type === void 0) {\n type = null;\n }\n _super.call(this, type);\n this.entries = entries;\n this.valueType = null;\n if (lang_1.isPresent(type)) {\n this.valueType = type.valueType;\n }\n }\n LiteralMapExpr.prototype.visitExpression = function(visitor, context) {\n return visitor.visitLiteralMapExpr(this, context);\n };\n return LiteralMapExpr;\n}(Expression));\nexports.LiteralMapExpr = LiteralMapExpr;\nexports.THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\nexports.SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\nexports.CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\nexports.CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\nexports.NULL_EXPR = new LiteralExpr(null, null);\n(function(StmtModifier) {\n StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n})(exports.StmtModifier || (exports.StmtModifier = {}));\nvar StmtModifier = exports.StmtModifier;\nvar Statement = (function() {\n function Statement(modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n this.modifiers = modifiers;\n if (lang_1.isBlank(modifiers)) {\n this.modifiers = [];\n }\n }\n Statement.prototype.hasModifier = function(modifier) {\n return this.modifiers.indexOf(modifier) !== -1;\n };\n return Statement;\n}());\nexports.Statement = Statement;\nvar DeclareVarStmt = (function(_super) {\n __extends(DeclareVarStmt, _super);\n function DeclareVarStmt(name, value, type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.name = name;\n this.value = value;\n this.type = lang_1.isPresent(type) ? type : value.type;\n }\n DeclareVarStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitDeclareVarStmt(this, context);\n };\n return DeclareVarStmt;\n}(Statement));\nexports.DeclareVarStmt = DeclareVarStmt;\nvar DeclareFunctionStmt = (function(_super) {\n __extends(DeclareFunctionStmt, _super);\n function DeclareFunctionStmt(name, params, statements, type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.name = name;\n this.params = params;\n this.statements = statements;\n this.type = type;\n }\n DeclareFunctionStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitDeclareFunctionStmt(this, context);\n };\n return DeclareFunctionStmt;\n}(Statement));\nexports.DeclareFunctionStmt = DeclareFunctionStmt;\nvar ExpressionStatement = (function(_super) {\n __extends(ExpressionStatement, _super);\n function ExpressionStatement(expr) {\n _super.call(this);\n this.expr = expr;\n }\n ExpressionStatement.prototype.visitStatement = function(visitor, context) {\n return visitor.visitExpressionStmt(this, context);\n };\n return ExpressionStatement;\n}(Statement));\nexports.ExpressionStatement = ExpressionStatement;\nvar ReturnStatement = (function(_super) {\n __extends(ReturnStatement, _super);\n function ReturnStatement(value) {\n _super.call(this);\n this.value = value;\n }\n ReturnStatement.prototype.visitStatement = function(visitor, context) {\n return visitor.visitReturnStmt(this, context);\n };\n return ReturnStatement;\n}(Statement));\nexports.ReturnStatement = ReturnStatement;\nvar AbstractClassPart = (function() {\n function AbstractClassPart(type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n this.type = type;\n this.modifiers = modifiers;\n if (lang_1.isBlank(modifiers)) {\n this.modifiers = [];\n }\n }\n AbstractClassPart.prototype.hasModifier = function(modifier) {\n return this.modifiers.indexOf(modifier) !== -1;\n };\n return AbstractClassPart;\n}());\nexports.AbstractClassPart = AbstractClassPart;\nvar ClassField = (function(_super) {\n __extends(ClassField, _super);\n function ClassField(name, type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, type, modifiers);\n this.name = name;\n }\n return ClassField;\n}(AbstractClassPart));\nexports.ClassField = ClassField;\nvar ClassMethod = (function(_super) {\n __extends(ClassMethod, _super);\n function ClassMethod(name, params, body, type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, type, modifiers);\n this.name = name;\n this.params = params;\n this.body = body;\n }\n return ClassMethod;\n}(AbstractClassPart));\nexports.ClassMethod = ClassMethod;\nvar ClassGetter = (function(_super) {\n __extends(ClassGetter, _super);\n function ClassGetter(name, body, type, modifiers) {\n if (type === void 0) {\n type = null;\n }\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, type, modifiers);\n this.name = name;\n this.body = body;\n }\n return ClassGetter;\n}(AbstractClassPart));\nexports.ClassGetter = ClassGetter;\nvar ClassStmt = (function(_super) {\n __extends(ClassStmt, _super);\n function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\n if (modifiers === void 0) {\n modifiers = null;\n }\n _super.call(this, modifiers);\n this.name = name;\n this.parent = parent;\n this.fields = fields;\n this.getters = getters;\n this.constructorMethod = constructorMethod;\n this.methods = methods;\n }\n ClassStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitDeclareClassStmt(this, context);\n };\n return ClassStmt;\n}(Statement));\nexports.ClassStmt = ClassStmt;\nvar IfStmt = (function(_super) {\n __extends(IfStmt, _super);\n function IfStmt(condition, trueCase, falseCase) {\n if (falseCase === void 0) {\n falseCase = [];\n }\n _super.call(this);\n this.condition = condition;\n this.trueCase = trueCase;\n this.falseCase = falseCase;\n }\n IfStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitIfStmt(this, context);\n };\n return IfStmt;\n}(Statement));\nexports.IfStmt = IfStmt;\nvar CommentStmt = (function(_super) {\n __extends(CommentStmt, _super);\n function CommentStmt(comment) {\n _super.call(this);\n this.comment = comment;\n }\n CommentStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitCommentStmt(this, context);\n };\n return CommentStmt;\n}(Statement));\nexports.CommentStmt = CommentStmt;\nvar TryCatchStmt = (function(_super) {\n __extends(TryCatchStmt, _super);\n function TryCatchStmt(bodyStmts, catchStmts) {\n _super.call(this);\n this.bodyStmts = bodyStmts;\n this.catchStmts = catchStmts;\n }\n TryCatchStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitTryCatchStmt(this, context);\n };\n return TryCatchStmt;\n}(Statement));\nexports.TryCatchStmt = TryCatchStmt;\nvar ThrowStmt = (function(_super) {\n __extends(ThrowStmt, _super);\n function ThrowStmt(error) {\n _super.call(this);\n this.error = error;\n }\n ThrowStmt.prototype.visitStatement = function(visitor, context) {\n return visitor.visitThrowStmt(this, context);\n };\n return ThrowStmt;\n}(Statement));\nexports.ThrowStmt = ThrowStmt;\nvar ExpressionTransformer = (function() {\n function ExpressionTransformer() {}\n ExpressionTransformer.prototype.visitReadVarExpr = function(ast, context) {\n return ast;\n };\n ExpressionTransformer.prototype.visitWriteVarExpr = function(expr, context) {\n return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWriteKeyExpr = function(expr, context) {\n return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWritePropExpr = function(expr, context) {\n return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitInvokeMethodExpr = function(ast, context) {\n var method = lang_1.isPresent(ast.builtin) ? ast.builtin : ast.name;\n return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInvokeFunctionExpr = function(ast, context) {\n return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInstantiateExpr = function(ast, context) {\n return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralExpr = function(ast, context) {\n return ast;\n };\n ExpressionTransformer.prototype.visitExternalExpr = function(ast, context) {\n return ast;\n };\n ExpressionTransformer.prototype.visitConditionalExpr = function(ast, context) {\n return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitNotExpr = function(ast, context) {\n return new NotExpr(ast.condition.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCastExpr = function(ast, context) {\n return new CastExpr(ast.value.visitExpression(this, context), context);\n };\n ExpressionTransformer.prototype.visitFunctionExpr = function(ast, context) {\n return ast;\n };\n ExpressionTransformer.prototype.visitBinaryOperatorExpr = function(ast, context) {\n return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitReadPropExpr = function(ast, context) {\n return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\n };\n ExpressionTransformer.prototype.visitReadKeyExpr = function(ast, context) {\n return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralArrayExpr = function(ast, context) {\n return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\n };\n ExpressionTransformer.prototype.visitLiteralMapExpr = function(ast, context) {\n var _this = this;\n return new LiteralMapExpr(ast.entries.map(function(entry) {\n return [entry[0], entry[1].visitExpression(_this, context)];\n }));\n };\n ExpressionTransformer.prototype.visitAllExpressions = function(exprs, context) {\n var _this = this;\n return exprs.map(function(expr) {\n return expr.visitExpression(_this, context);\n });\n };\n ExpressionTransformer.prototype.visitDeclareVarStmt = function(stmt, context) {\n return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\n };\n ExpressionTransformer.prototype.visitDeclareFunctionStmt = function(stmt, context) {\n return stmt;\n };\n ExpressionTransformer.prototype.visitExpressionStmt = function(stmt, context) {\n return new ExpressionStatement(stmt.expr.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitReturnStmt = function(stmt, context) {\n return new ReturnStatement(stmt.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitDeclareClassStmt = function(stmt, context) {\n return stmt;\n };\n ExpressionTransformer.prototype.visitIfStmt = function(stmt, context) {\n return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\n };\n ExpressionTransformer.prototype.visitTryCatchStmt = function(stmt, context) {\n return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\n };\n ExpressionTransformer.prototype.visitThrowStmt = function(stmt, context) {\n return new ThrowStmt(stmt.error.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCommentStmt = function(stmt, context) {\n return stmt;\n };\n ExpressionTransformer.prototype.visitAllStatements = function(stmts, context) {\n var _this = this;\n return stmts.map(function(stmt) {\n return stmt.visitStatement(_this, context);\n });\n };\n return ExpressionTransformer;\n}());\nexports.ExpressionTransformer = ExpressionTransformer;\nvar RecursiveExpressionVisitor = (function() {\n function RecursiveExpressionVisitor() {}\n RecursiveExpressionVisitor.prototype.visitReadVarExpr = function(ast, context) {\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function(expr, context) {\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function(expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.index.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWritePropExpr = function(expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function(ast, context) {\n ast.receiver.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function(ast, context) {\n ast.fn.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function(ast, context) {\n ast.classExpr.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralExpr = function(ast, context) {\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitExternalExpr = function(ast, context) {\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitConditionalExpr = function(ast, context) {\n ast.condition.visitExpression(this, context);\n ast.trueCase.visitExpression(this, context);\n ast.falseCase.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitNotExpr = function(ast, context) {\n ast.condition.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitCastExpr = function(ast, context) {\n ast.value.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitFunctionExpr = function(ast, context) {\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function(ast, context) {\n ast.lhs.visitExpression(this, context);\n ast.rhs.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadPropExpr = function(ast, context) {\n ast.receiver.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function(ast, context) {\n ast.receiver.visitExpression(this, context);\n ast.index.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function(ast, context) {\n this.visitAllExpressions(ast.entries, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function(ast, context) {\n var _this = this;\n ast.entries.forEach(function(entry) {\n return entry[1].visitExpression(_this, context);\n });\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitAllExpressions = function(exprs, context) {\n var _this = this;\n exprs.forEach(function(expr) {\n return expr.visitExpression(_this, context);\n });\n };\n RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function(stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function(stmt, context) {\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitExpressionStmt = function(stmt, context) {\n stmt.expr.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitReturnStmt = function(stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function(stmt, context) {\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitIfStmt = function(stmt, context) {\n stmt.condition.visitExpression(this, context);\n this.visitAllStatements(stmt.trueCase, context);\n this.visitAllStatements(stmt.falseCase, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function(stmt, context) {\n this.visitAllStatements(stmt.bodyStmts, context);\n this.visitAllStatements(stmt.catchStmts, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitThrowStmt = function(stmt, context) {\n stmt.error.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitCommentStmt = function(stmt, context) {\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitAllStatements = function(stmts, context) {\n var _this = this;\n stmts.forEach(function(stmt) {\n return stmt.visitStatement(_this, context);\n });\n };\n return RecursiveExpressionVisitor;\n}());\nexports.RecursiveExpressionVisitor = RecursiveExpressionVisitor;\nfunction replaceVarInExpression(varName, newValue, expression) {\n var transformer = new _ReplaceVariableTransformer(varName, newValue);\n return expression.visitExpression(transformer, null);\n}\nexports.replaceVarInExpression = replaceVarInExpression;\nvar _ReplaceVariableTransformer = (function(_super) {\n __extends(_ReplaceVariableTransformer, _super);\n function _ReplaceVariableTransformer(_varName, _newValue) {\n _super.call(this);\n this._varName = _varName;\n this._newValue = _newValue;\n }\n _ReplaceVariableTransformer.prototype.visitReadVarExpr = function(ast, context) {\n return ast.name == this._varName ? this._newValue : ast;\n };\n return _ReplaceVariableTransformer;\n}(ExpressionTransformer));\nfunction findReadVarNames(stmts) {\n var finder = new _VariableFinder();\n finder.visitAllStatements(stmts, null);\n return finder.varNames;\n}\nexports.findReadVarNames = findReadVarNames;\nvar _VariableFinder = (function(_super) {\n __extends(_VariableFinder, _super);\n function _VariableFinder() {\n _super.apply(this, arguments);\n this.varNames = new Set();\n }\n _VariableFinder.prototype.visitReadVarExpr = function(ast, context) {\n this.varNames.add(ast.name);\n return null;\n };\n return _VariableFinder;\n}(RecursiveExpressionVisitor));\nfunction variable(name, type) {\n if (type === void 0) {\n type = null;\n }\n return new ReadVarExpr(name, type);\n}\nexports.variable = variable;\nfunction importExpr(id, typeParams) {\n if (typeParams === void 0) {\n typeParams = null;\n }\n return new ExternalExpr(id, null, typeParams);\n}\nexports.importExpr = importExpr;\nfunction importType(id, typeParams, typeModifiers) {\n if (typeParams === void 0) {\n typeParams = null;\n }\n if (typeModifiers === void 0) {\n typeModifiers = null;\n }\n return lang_1.isPresent(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\n}\nexports.importType = importType;\nfunction literal(value, type) {\n if (type === void 0) {\n type = null;\n }\n return new LiteralExpr(value, type);\n}\nexports.literal = literal;\nfunction literalArr(values, type) {\n if (type === void 0) {\n type = null;\n }\n return new LiteralArrayExpr(values, type);\n}\nexports.literalArr = literalArr;\nfunction literalMap(values, type) {\n if (type === void 0) {\n type = null;\n }\n return new LiteralMapExpr(values, type);\n}\nexports.literalMap = literalMap;\nfunction not(expr) {\n return new NotExpr(expr);\n}\nexports.not = not;\nfunction fn(params, body, type) {\n if (type === void 0) {\n type = null;\n }\n return new FunctionExpr(params, body, type);\n}\nexports.fn = fn;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar compile_metadata_1 = require('../compile_metadata');\nvar o = require('../output/output_ast');\nvar identifiers_1 = require('../identifiers');\nfunction _enumExpression(classIdentifier, value) {\n if (lang_1.isBlank(value))\n return o.NULL_EXPR;\n var name = lang_1.resolveEnumToken(classIdentifier.runtime, value);\n return o.importExpr(new compile_metadata_1.CompileIdentifierMetadata({\n name: classIdentifier.name + \".\" + name,\n moduleUrl: classIdentifier.moduleUrl,\n runtime: value\n }));\n}\nvar ViewTypeEnum = (function() {\n function ViewTypeEnum() {}\n ViewTypeEnum.fromValue = function(value) {\n return _enumExpression(identifiers_1.Identifiers.ViewType, value);\n };\n ViewTypeEnum.HOST = ViewTypeEnum.fromValue(core_private_1.ViewType.HOST);\n ViewTypeEnum.COMPONENT = ViewTypeEnum.fromValue(core_private_1.ViewType.COMPONENT);\n ViewTypeEnum.EMBEDDED = ViewTypeEnum.fromValue(core_private_1.ViewType.EMBEDDED);\n return ViewTypeEnum;\n}());\nexports.ViewTypeEnum = ViewTypeEnum;\nvar ViewEncapsulationEnum = (function() {\n function ViewEncapsulationEnum() {}\n ViewEncapsulationEnum.fromValue = function(value) {\n return _enumExpression(identifiers_1.Identifiers.ViewEncapsulation, value);\n };\n ViewEncapsulationEnum.Emulated = ViewEncapsulationEnum.fromValue(core_1.ViewEncapsulation.Emulated);\n ViewEncapsulationEnum.Native = ViewEncapsulationEnum.fromValue(core_1.ViewEncapsulation.Native);\n ViewEncapsulationEnum.None = ViewEncapsulationEnum.fromValue(core_1.ViewEncapsulation.None);\n return ViewEncapsulationEnum;\n}());\nexports.ViewEncapsulationEnum = ViewEncapsulationEnum;\nvar ChangeDetectorStateEnum = (function() {\n function ChangeDetectorStateEnum() {}\n ChangeDetectorStateEnum.fromValue = function(value) {\n return _enumExpression(identifiers_1.Identifiers.ChangeDetectorState, value);\n };\n ChangeDetectorStateEnum.NeverChecked = ChangeDetectorStateEnum.fromValue(core_private_1.ChangeDetectorState.NeverChecked);\n ChangeDetectorStateEnum.CheckedBefore = ChangeDetectorStateEnum.fromValue(core_private_1.ChangeDetectorState.CheckedBefore);\n ChangeDetectorStateEnum.Errored = ChangeDetectorStateEnum.fromValue(core_private_1.ChangeDetectorState.Errored);\n return ChangeDetectorStateEnum;\n}());\nexports.ChangeDetectorStateEnum = ChangeDetectorStateEnum;\nvar ChangeDetectionStrategyEnum = (function() {\n function ChangeDetectionStrategyEnum() {}\n ChangeDetectionStrategyEnum.fromValue = function(value) {\n return _enumExpression(identifiers_1.Identifiers.ChangeDetectionStrategy, value);\n };\n ChangeDetectionStrategyEnum.CheckOnce = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.CheckOnce);\n ChangeDetectionStrategyEnum.Checked = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.Checked);\n ChangeDetectionStrategyEnum.CheckAlways = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.CheckAlways);\n ChangeDetectionStrategyEnum.Detached = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.Detached);\n ChangeDetectionStrategyEnum.OnPush = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.OnPush);\n ChangeDetectionStrategyEnum.Default = ChangeDetectionStrategyEnum.fromValue(core_1.ChangeDetectionStrategy.Default);\n return ChangeDetectionStrategyEnum;\n}());\nexports.ChangeDetectionStrategyEnum = ChangeDetectionStrategyEnum;\nvar ViewConstructorVars = (function() {\n function ViewConstructorVars() {}\n ViewConstructorVars.viewUtils = o.variable('viewUtils');\n ViewConstructorVars.parentInjector = o.variable('parentInjector');\n ViewConstructorVars.declarationEl = o.variable('declarationEl');\n return ViewConstructorVars;\n}());\nexports.ViewConstructorVars = ViewConstructorVars;\nvar ViewProperties = (function() {\n function ViewProperties() {}\n ViewProperties.renderer = o.THIS_EXPR.prop('renderer');\n ViewProperties.projectableNodes = o.THIS_EXPR.prop('projectableNodes');\n ViewProperties.viewUtils = o.THIS_EXPR.prop('viewUtils');\n return ViewProperties;\n}());\nexports.ViewProperties = ViewProperties;\nvar EventHandlerVars = (function() {\n function EventHandlerVars() {}\n EventHandlerVars.event = o.variable('$event');\n return EventHandlerVars;\n}());\nexports.EventHandlerVars = EventHandlerVars;\nvar InjectMethodVars = (function() {\n function InjectMethodVars() {}\n InjectMethodVars.token = o.variable('token');\n InjectMethodVars.requestNodeIndex = o.variable('requestNodeIndex');\n InjectMethodVars.notFoundResult = o.variable('notFoundResult');\n return InjectMethodVars;\n}());\nexports.InjectMethodVars = InjectMethodVars;\nvar DetectChangesVars = (function() {\n function DetectChangesVars() {}\n DetectChangesVars.throwOnChange = o.variable(\"throwOnChange\");\n DetectChangesVars.changes = o.variable(\"changes\");\n DetectChangesVars.changed = o.variable(\"changed\");\n DetectChangesVars.valUnwrapper = o.variable(\"valUnwrapper\");\n return DetectChangesVars;\n}());\nexports.DetectChangesVars = DetectChangesVars;\n","/* */ \n\"use strict\";\nvar core_private_1 = require('../../core_private');\nvar o = require('../output/output_ast');\nvar constants_1 = require('./constants');\nvar STATE_IS_NEVER_CHECKED = o.THIS_EXPR.prop('cdState').identical(constants_1.ChangeDetectorStateEnum.NeverChecked);\nvar NOT_THROW_ON_CHANGES = o.not(constants_1.DetectChangesVars.throwOnChange);\nfunction bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement) {\n var view = compileElement.view;\n var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\n var lifecycleHooks = directiveAst.directive.lifecycleHooks;\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.OnChanges) !== -1 && directiveAst.inputs.length > 0) {\n detectChangesInInputsMethod.addStmt(new o.IfStmt(constants_1.DetectChangesVars.changes.notIdentical(o.NULL_EXPR), [directiveInstance.callMethod('ngOnChanges', [constants_1.DetectChangesVars.changes]).toStmt()]));\n }\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.OnInit) !== -1) {\n detectChangesInInputsMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED.and(NOT_THROW_ON_CHANGES), [directiveInstance.callMethod('ngOnInit', []).toStmt()]));\n }\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.DoCheck) !== -1) {\n detectChangesInInputsMethod.addStmt(new o.IfStmt(NOT_THROW_ON_CHANGES, [directiveInstance.callMethod('ngDoCheck', []).toStmt()]));\n }\n}\nexports.bindDirectiveDetectChangesLifecycleCallbacks = bindDirectiveDetectChangesLifecycleCallbacks;\nfunction bindDirectiveAfterContentLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n var view = compileElement.view;\n var lifecycleHooks = directiveMeta.lifecycleHooks;\n var afterContentLifecycleCallbacksMethod = view.afterContentLifecycleCallbacksMethod;\n afterContentLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.AfterContentInit) !== -1) {\n afterContentLifecycleCallbacksMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterContentInit', []).toStmt()]));\n }\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.AfterContentChecked) !== -1) {\n afterContentLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterContentChecked', []).toStmt());\n }\n}\nexports.bindDirectiveAfterContentLifecycleCallbacks = bindDirectiveAfterContentLifecycleCallbacks;\nfunction bindDirectiveAfterViewLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n var view = compileElement.view;\n var lifecycleHooks = directiveMeta.lifecycleHooks;\n var afterViewLifecycleCallbacksMethod = view.afterViewLifecycleCallbacksMethod;\n afterViewLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.AfterViewInit) !== -1) {\n afterViewLifecycleCallbacksMethod.addStmt(new o.IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterViewInit', []).toStmt()]));\n }\n if (lifecycleHooks.indexOf(core_private_1.LifecycleHooks.AfterViewChecked) !== -1) {\n afterViewLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterViewChecked', []).toStmt());\n }\n}\nexports.bindDirectiveAfterViewLifecycleCallbacks = bindDirectiveAfterViewLifecycleCallbacks;\nfunction bindDirectiveDestroyLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n var onDestroyMethod = compileElement.view.destroyMethod;\n onDestroyMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (directiveMeta.lifecycleHooks.indexOf(core_private_1.LifecycleHooks.OnDestroy) !== -1) {\n onDestroyMethod.addStmt(directiveInstance.callMethod('ngOnDestroy', []).toStmt());\n }\n}\nexports.bindDirectiveDestroyLifecycleCallbacks = bindDirectiveDestroyLifecycleCallbacks;\nfunction bindPipeDestroyLifecycleCallbacks(pipeMeta, pipeInstance, view) {\n var onDestroyMethod = view.destroyMethod;\n if (pipeMeta.lifecycleHooks.indexOf(core_private_1.LifecycleHooks.OnDestroy) !== -1) {\n onDestroyMethod.addStmt(pipeInstance.callMethod('ngOnDestroy', []).toStmt());\n }\n}\nexports.bindPipeDestroyLifecycleCallbacks = bindPipeDestroyLifecycleCallbacks;\n","/* */ \n\"use strict\";\nvar collection_1 = require('../facade/collection');\nvar template_ast_1 = require('../template_ast');\nvar property_binder_1 = require('./property_binder');\nvar event_binder_1 = require('./event_binder');\nvar lifecycle_binder_1 = require('./lifecycle_binder');\nfunction bindView(view, parsedTemplate) {\n var visitor = new ViewBinderVisitor(view);\n template_ast_1.templateVisitAll(visitor, parsedTemplate);\n view.pipes.forEach(function(pipe) {\n lifecycle_binder_1.bindPipeDestroyLifecycleCallbacks(pipe.meta, pipe.instance, pipe.view);\n });\n}\nexports.bindView = bindView;\nvar ViewBinderVisitor = (function() {\n function ViewBinderVisitor(view) {\n this.view = view;\n this._nodeIndex = 0;\n }\n ViewBinderVisitor.prototype.visitBoundText = function(ast, parent) {\n var node = this.view.nodes[this._nodeIndex++];\n property_binder_1.bindRenderText(ast, node, this.view);\n return null;\n };\n ViewBinderVisitor.prototype.visitText = function(ast, parent) {\n this._nodeIndex++;\n return null;\n };\n ViewBinderVisitor.prototype.visitNgContent = function(ast, parent) {\n return null;\n };\n ViewBinderVisitor.prototype.visitElement = function(ast, parent) {\n var compileElement = this.view.nodes[this._nodeIndex++];\n var eventListeners = event_binder_1.collectEventListeners(ast.outputs, ast.directives, compileElement);\n property_binder_1.bindRenderInputs(ast.inputs, compileElement);\n event_binder_1.bindRenderOutputs(eventListeners);\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function(directiveAst, index) {\n var directiveInstance = compileElement.directiveInstances[index];\n property_binder_1.bindDirectiveInputs(directiveAst, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement);\n property_binder_1.bindDirectiveHostProps(directiveAst, directiveInstance, compileElement);\n event_binder_1.bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners);\n });\n template_ast_1.templateVisitAll(this, ast.children, compileElement);\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function(directiveAst, index) {\n var directiveInstance = compileElement.directiveInstances[index];\n lifecycle_binder_1.bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveDestroyLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n });\n return null;\n };\n ViewBinderVisitor.prototype.visitEmbeddedTemplate = function(ast, parent) {\n var compileElement = this.view.nodes[this._nodeIndex++];\n var eventListeners = event_binder_1.collectEventListeners(ast.outputs, ast.directives, compileElement);\n collection_1.ListWrapper.forEachWithIndex(ast.directives, function(directiveAst, index) {\n var directiveInstance = compileElement.directiveInstances[index];\n property_binder_1.bindDirectiveInputs(directiveAst, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveDetectChangesLifecycleCallbacks(directiveAst, directiveInstance, compileElement);\n event_binder_1.bindDirectiveOutputs(directiveAst, directiveInstance, eventListeners);\n lifecycle_binder_1.bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n lifecycle_binder_1.bindDirectiveDestroyLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n });\n bindView(compileElement.embeddedView, ast.children);\n return null;\n };\n ViewBinderVisitor.prototype.visitAttr = function(ast, ctx) {\n return null;\n };\n ViewBinderVisitor.prototype.visitDirective = function(ast, ctx) {\n return null;\n };\n ViewBinderVisitor.prototype.visitEvent = function(ast, eventTargetAndNames) {\n return null;\n };\n ViewBinderVisitor.prototype.visitReference = function(ast, ctx) {\n return null;\n };\n ViewBinderVisitor.prototype.visitVariable = function(ast, ctx) {\n return null;\n };\n ViewBinderVisitor.prototype.visitDirectiveProperty = function(ast, context) {\n return null;\n };\n ViewBinderVisitor.prototype.visitElementProperty = function(ast, context) {\n return null;\n };\n return ViewBinderVisitor;\n}());\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar _ASSET_SCHEME = 'asset:';\nfunction createUrlResolverWithoutPackagePrefix() {\n return new UrlResolver();\n}\nexports.createUrlResolverWithoutPackagePrefix = createUrlResolverWithoutPackagePrefix;\nfunction createOfflineCompileUrlResolver() {\n return new UrlResolver(_ASSET_SCHEME);\n}\nexports.createOfflineCompileUrlResolver = createOfflineCompileUrlResolver;\nexports.DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: core_1.PACKAGE_ROOT_URL,\n useValue: \"/\"\n};\nvar UrlResolver = (function() {\n function UrlResolver(_packagePrefix) {\n if (_packagePrefix === void 0) {\n _packagePrefix = null;\n }\n this._packagePrefix = _packagePrefix;\n }\n UrlResolver.prototype.resolve = function(baseUrl, url) {\n var resolvedUrl = url;\n if (lang_1.isPresent(baseUrl) && baseUrl.length > 0) {\n resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n }\n var resolvedParts = _split(resolvedUrl);\n var prefix = this._packagePrefix;\n if (lang_1.isPresent(prefix) && lang_1.isPresent(resolvedParts) && resolvedParts[_ComponentIndex.Scheme] == \"package\") {\n var path = resolvedParts[_ComponentIndex.Path];\n if (this._packagePrefix === _ASSET_SCHEME) {\n var pathSegements = path.split(/\\//);\n resolvedUrl = \"asset:\" + pathSegements[0] + \"/lib/\" + pathSegements.slice(1).join('/');\n } else {\n prefix = lang_1.StringWrapper.stripRight(prefix, '/');\n path = lang_1.StringWrapper.stripLeft(path, '/');\n return prefix + \"/\" + path;\n }\n }\n return resolvedUrl;\n };\n UrlResolver.decorators = [{type: core_1.Injectable}];\n UrlResolver.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Inject,\n args: [core_1.PACKAGE_ROOT_URL]\n }]\n }];\n return UrlResolver;\n}());\nexports.UrlResolver = UrlResolver;\nfunction getUrlScheme(url) {\n var match = _split(url);\n return (match && match[_ComponentIndex.Scheme]) || \"\";\n}\nexports.getUrlScheme = getUrlScheme;\nfunction _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n var out = [];\n if (lang_1.isPresent(opt_scheme)) {\n out.push(opt_scheme + ':');\n }\n if (lang_1.isPresent(opt_domain)) {\n out.push('//');\n if (lang_1.isPresent(opt_userInfo)) {\n out.push(opt_userInfo + '@');\n }\n out.push(opt_domain);\n if (lang_1.isPresent(opt_port)) {\n out.push(':' + opt_port);\n }\n }\n if (lang_1.isPresent(opt_path)) {\n out.push(opt_path);\n }\n if (lang_1.isPresent(opt_queryData)) {\n out.push('?' + opt_queryData);\n }\n if (lang_1.isPresent(opt_fragment)) {\n out.push('#' + opt_fragment);\n }\n return out.join('');\n}\nvar _splitRe = lang_1.RegExpWrapper.create('^' + '(?:' + '([^:/?#.]+)' + ':)?' + '(?://' + '(?:([^/?#]*)@)?' + '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' + '(?::([0-9]+))?' + ')?' + '([^?#]+)?' + '(?:\\\\?([^#]*))?' + '(?:#(.*))?' + '$');\nvar _ComponentIndex;\n(function(_ComponentIndex) {\n _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n})(_ComponentIndex || (_ComponentIndex = {}));\nfunction _split(uri) {\n return lang_1.RegExpWrapper.firstMatch(_splitRe, uri);\n}\nfunction _removeDotSegments(path) {\n if (path == '/')\n return '/';\n var leadingSlash = path[0] == '/' ? '/' : '';\n var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n var segments = path.split('/');\n var out = [];\n var up = 0;\n for (var pos = 0; pos < segments.length; pos++) {\n var segment = segments[pos];\n switch (segment) {\n case '':\n case '.':\n break;\n case '..':\n if (out.length > 0) {\n out.pop();\n } else {\n up++;\n }\n break;\n default:\n out.push(segment);\n }\n }\n if (leadingSlash == '') {\n while (up-- > 0) {\n out.unshift('..');\n }\n if (out.length === 0)\n out.push('.');\n }\n return leadingSlash + out.join('/') + trailingSlash;\n}\nfunction _joinAndCanonicalizePath(parts) {\n var path = parts[_ComponentIndex.Path];\n path = lang_1.isBlank(path) ? '' : _removeDotSegments(path);\n parts[_ComponentIndex.Path] = path;\n return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n}\nfunction _resolveUrl(base, url) {\n var parts = _split(encodeURI(url));\n var baseParts = _split(base);\n if (lang_1.isPresent(parts[_ComponentIndex.Scheme])) {\n return _joinAndCanonicalizePath(parts);\n } else {\n parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n }\n for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n if (lang_1.isBlank(parts[i])) {\n parts[i] = baseParts[i];\n }\n }\n if (parts[_ComponentIndex.Path][0] == '/') {\n return _joinAndCanonicalizePath(parts);\n }\n var path = baseParts[_ComponentIndex.Path];\n if (lang_1.isBlank(path))\n path = '/';\n var index = path.lastIndexOf('/');\n path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n parts[_ComponentIndex.Path] = path;\n return _joinAndCanonicalizePath(parts);\n}\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar collection_1 = require('./facade/collection');\nvar selector_1 = require('./selector');\nvar util_1 = require('./util');\nvar url_resolver_1 = require('./url_resolver');\nvar HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))$/g;\nvar CompileMetadataWithIdentifier = (function() {\n function CompileMetadataWithIdentifier() {}\n Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return CompileMetadataWithIdentifier;\n}());\nexports.CompileMetadataWithIdentifier = CompileMetadataWithIdentifier;\nvar CompileMetadataWithType = (function(_super) {\n __extends(CompileMetadataWithType, _super);\n function CompileMetadataWithType() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(CompileMetadataWithType.prototype, \"type\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileMetadataWithType.prototype, \"identifier\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return CompileMetadataWithType;\n}(CompileMetadataWithIdentifier));\nexports.CompileMetadataWithType = CompileMetadataWithType;\nfunction metadataFromJson(data) {\n return _COMPILE_METADATA_FROM_JSON[data['class']](data);\n}\nexports.metadataFromJson = metadataFromJson;\nvar CompileIdentifierMetadata = (function() {\n function CompileIdentifierMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n runtime = _b.runtime,\n name = _b.name,\n moduleUrl = _b.moduleUrl,\n prefix = _b.prefix,\n value = _b.value;\n this.runtime = runtime;\n this.name = name;\n this.prefix = prefix;\n this.moduleUrl = moduleUrl;\n this.value = value;\n }\n CompileIdentifierMetadata.fromJson = function(data) {\n var value = lang_1.isArray(data['value']) ? _arrayFromJson(data['value'], metadataFromJson) : _objFromJson(data['value'], metadataFromJson);\n return new CompileIdentifierMetadata({\n name: data['name'],\n prefix: data['prefix'],\n moduleUrl: data['moduleUrl'],\n value: value\n });\n };\n CompileIdentifierMetadata.prototype.toJson = function() {\n var value = lang_1.isArray(this.value) ? _arrayToJson(this.value) : _objToJson(this.value);\n return {\n 'class': 'Identifier',\n 'name': this.name,\n 'moduleUrl': this.moduleUrl,\n 'prefix': this.prefix,\n 'value': value\n };\n };\n Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n return CompileIdentifierMetadata;\n}());\nexports.CompileIdentifierMetadata = CompileIdentifierMetadata;\nvar CompileDiDependencyMetadata = (function() {\n function CompileDiDependencyMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n isAttribute = _b.isAttribute,\n isSelf = _b.isSelf,\n isHost = _b.isHost,\n isSkipSelf = _b.isSkipSelf,\n isOptional = _b.isOptional,\n isValue = _b.isValue,\n query = _b.query,\n viewQuery = _b.viewQuery,\n token = _b.token,\n value = _b.value;\n this.isAttribute = lang_1.normalizeBool(isAttribute);\n this.isSelf = lang_1.normalizeBool(isSelf);\n this.isHost = lang_1.normalizeBool(isHost);\n this.isSkipSelf = lang_1.normalizeBool(isSkipSelf);\n this.isOptional = lang_1.normalizeBool(isOptional);\n this.isValue = lang_1.normalizeBool(isValue);\n this.query = query;\n this.viewQuery = viewQuery;\n this.token = token;\n this.value = value;\n }\n CompileDiDependencyMetadata.fromJson = function(data) {\n return new CompileDiDependencyMetadata({\n token: _objFromJson(data['token'], CompileTokenMetadata.fromJson),\n query: _objFromJson(data['query'], CompileQueryMetadata.fromJson),\n viewQuery: _objFromJson(data['viewQuery'], CompileQueryMetadata.fromJson),\n value: data['value'],\n isAttribute: data['isAttribute'],\n isSelf: data['isSelf'],\n isHost: data['isHost'],\n isSkipSelf: data['isSkipSelf'],\n isOptional: data['isOptional'],\n isValue: data['isValue']\n });\n };\n CompileDiDependencyMetadata.prototype.toJson = function() {\n return {\n 'token': _objToJson(this.token),\n 'query': _objToJson(this.query),\n 'viewQuery': _objToJson(this.viewQuery),\n 'value': this.value,\n 'isAttribute': this.isAttribute,\n 'isSelf': this.isSelf,\n 'isHost': this.isHost,\n 'isSkipSelf': this.isSkipSelf,\n 'isOptional': this.isOptional,\n 'isValue': this.isValue\n };\n };\n return CompileDiDependencyMetadata;\n}());\nexports.CompileDiDependencyMetadata = CompileDiDependencyMetadata;\nvar CompileProviderMetadata = (function() {\n function CompileProviderMetadata(_a) {\n var token = _a.token,\n useClass = _a.useClass,\n useValue = _a.useValue,\n useExisting = _a.useExisting,\n useFactory = _a.useFactory,\n deps = _a.deps,\n multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.deps = lang_1.normalizeBlank(deps);\n this.multi = lang_1.normalizeBool(multi);\n }\n CompileProviderMetadata.fromJson = function(data) {\n return new CompileProviderMetadata({\n token: _objFromJson(data['token'], CompileTokenMetadata.fromJson),\n useClass: _objFromJson(data['useClass'], CompileTypeMetadata.fromJson),\n useExisting: _objFromJson(data['useExisting'], CompileTokenMetadata.fromJson),\n useValue: _objFromJson(data['useValue'], CompileIdentifierMetadata.fromJson),\n useFactory: _objFromJson(data['useFactory'], CompileFactoryMetadata.fromJson),\n multi: data['multi'],\n deps: _arrayFromJson(data['deps'], CompileDiDependencyMetadata.fromJson)\n });\n };\n CompileProviderMetadata.prototype.toJson = function() {\n return {\n 'class': 'Provider',\n 'token': _objToJson(this.token),\n 'useClass': _objToJson(this.useClass),\n 'useExisting': _objToJson(this.useExisting),\n 'useValue': _objToJson(this.useValue),\n 'useFactory': _objToJson(this.useFactory),\n 'multi': this.multi,\n 'deps': _arrayToJson(this.deps)\n };\n };\n return CompileProviderMetadata;\n}());\nexports.CompileProviderMetadata = CompileProviderMetadata;\nvar CompileFactoryMetadata = (function() {\n function CompileFactoryMetadata(_a) {\n var runtime = _a.runtime,\n name = _a.name,\n moduleUrl = _a.moduleUrl,\n prefix = _a.prefix,\n diDeps = _a.diDeps,\n value = _a.value;\n this.runtime = runtime;\n this.name = name;\n this.prefix = prefix;\n this.moduleUrl = moduleUrl;\n this.diDeps = _normalizeArray(diDeps);\n this.value = value;\n }\n Object.defineProperty(CompileFactoryMetadata.prototype, \"identifier\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n CompileFactoryMetadata.fromJson = function(data) {\n return new CompileFactoryMetadata({\n name: data['name'],\n prefix: data['prefix'],\n moduleUrl: data['moduleUrl'],\n value: data['value'],\n diDeps: _arrayFromJson(data['diDeps'], CompileDiDependencyMetadata.fromJson)\n });\n };\n CompileFactoryMetadata.prototype.toJson = function() {\n return {\n 'class': 'Factory',\n 'name': this.name,\n 'prefix': this.prefix,\n 'moduleUrl': this.moduleUrl,\n 'value': this.value,\n 'diDeps': _arrayToJson(this.diDeps)\n };\n };\n return CompileFactoryMetadata;\n}());\nexports.CompileFactoryMetadata = CompileFactoryMetadata;\nvar CompileTokenMetadata = (function() {\n function CompileTokenMetadata(_a) {\n var value = _a.value,\n identifier = _a.identifier,\n identifierIsInstance = _a.identifierIsInstance;\n this.value = value;\n this.identifier = identifier;\n this.identifierIsInstance = lang_1.normalizeBool(identifierIsInstance);\n }\n CompileTokenMetadata.fromJson = function(data) {\n return new CompileTokenMetadata({\n value: data['value'],\n identifier: _objFromJson(data['identifier'], CompileIdentifierMetadata.fromJson),\n identifierIsInstance: data['identifierIsInstance']\n });\n };\n CompileTokenMetadata.prototype.toJson = function() {\n return {\n 'value': this.value,\n 'identifier': _objToJson(this.identifier),\n 'identifierIsInstance': this.identifierIsInstance\n };\n };\n Object.defineProperty(CompileTokenMetadata.prototype, \"runtimeCacheKey\", {\n get: function() {\n if (lang_1.isPresent(this.identifier)) {\n return this.identifier.runtime;\n } else {\n return this.value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileTokenMetadata.prototype, \"assetCacheKey\", {\n get: function() {\n if (lang_1.isPresent(this.identifier)) {\n return lang_1.isPresent(this.identifier.moduleUrl) && lang_1.isPresent(url_resolver_1.getUrlScheme(this.identifier.moduleUrl)) ? this.identifier.name + \"|\" + this.identifier.moduleUrl + \"|\" + this.identifierIsInstance : null;\n } else {\n return this.value;\n }\n },\n enumerable: true,\n configurable: true\n });\n CompileTokenMetadata.prototype.equalsTo = function(token2) {\n var rk = this.runtimeCacheKey;\n var ak = this.assetCacheKey;\n return (lang_1.isPresent(rk) && rk == token2.runtimeCacheKey) || (lang_1.isPresent(ak) && ak == token2.assetCacheKey);\n };\n Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\n get: function() {\n return lang_1.isPresent(this.value) ? util_1.sanitizeIdentifier(this.value) : this.identifier.name;\n },\n enumerable: true,\n configurable: true\n });\n return CompileTokenMetadata;\n}());\nexports.CompileTokenMetadata = CompileTokenMetadata;\nvar CompileTokenMap = (function() {\n function CompileTokenMap() {\n this._valueMap = new Map();\n this._values = [];\n }\n CompileTokenMap.prototype.add = function(token, value) {\n var existing = this.get(token);\n if (lang_1.isPresent(existing)) {\n throw new exceptions_1.BaseException(\"Can only add to a TokenMap! Token: \" + token.name);\n }\n this._values.push(value);\n var rk = token.runtimeCacheKey;\n if (lang_1.isPresent(rk)) {\n this._valueMap.set(rk, value);\n }\n var ak = token.assetCacheKey;\n if (lang_1.isPresent(ak)) {\n this._valueMap.set(ak, value);\n }\n };\n CompileTokenMap.prototype.get = function(token) {\n var rk = token.runtimeCacheKey;\n var ak = token.assetCacheKey;\n var result;\n if (lang_1.isPresent(rk)) {\n result = this._valueMap.get(rk);\n }\n if (lang_1.isBlank(result) && lang_1.isPresent(ak)) {\n result = this._valueMap.get(ak);\n }\n return result;\n };\n CompileTokenMap.prototype.values = function() {\n return this._values;\n };\n Object.defineProperty(CompileTokenMap.prototype, \"size\", {\n get: function() {\n return this._values.length;\n },\n enumerable: true,\n configurable: true\n });\n return CompileTokenMap;\n}());\nexports.CompileTokenMap = CompileTokenMap;\nvar CompileTypeMetadata = (function() {\n function CompileTypeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n runtime = _b.runtime,\n name = _b.name,\n moduleUrl = _b.moduleUrl,\n prefix = _b.prefix,\n isHost = _b.isHost,\n value = _b.value,\n diDeps = _b.diDeps;\n this.runtime = runtime;\n this.name = name;\n this.moduleUrl = moduleUrl;\n this.prefix = prefix;\n this.isHost = lang_1.normalizeBool(isHost);\n this.value = value;\n this.diDeps = _normalizeArray(diDeps);\n }\n CompileTypeMetadata.fromJson = function(data) {\n return new CompileTypeMetadata({\n name: data['name'],\n moduleUrl: data['moduleUrl'],\n prefix: data['prefix'],\n isHost: data['isHost'],\n value: data['value'],\n diDeps: _arrayFromJson(data['diDeps'], CompileDiDependencyMetadata.fromJson)\n });\n };\n Object.defineProperty(CompileTypeMetadata.prototype, \"identifier\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileTypeMetadata.prototype, \"type\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n CompileTypeMetadata.prototype.toJson = function() {\n return {\n 'class': 'Type',\n 'name': this.name,\n 'moduleUrl': this.moduleUrl,\n 'prefix': this.prefix,\n 'isHost': this.isHost,\n 'value': this.value,\n 'diDeps': _arrayToJson(this.diDeps)\n };\n };\n return CompileTypeMetadata;\n}());\nexports.CompileTypeMetadata = CompileTypeMetadata;\nvar CompileQueryMetadata = (function() {\n function CompileQueryMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n selectors = _b.selectors,\n descendants = _b.descendants,\n first = _b.first,\n propertyName = _b.propertyName,\n read = _b.read;\n this.selectors = selectors;\n this.descendants = lang_1.normalizeBool(descendants);\n this.first = lang_1.normalizeBool(first);\n this.propertyName = propertyName;\n this.read = read;\n }\n CompileQueryMetadata.fromJson = function(data) {\n return new CompileQueryMetadata({\n selectors: _arrayFromJson(data['selectors'], CompileTokenMetadata.fromJson),\n descendants: data['descendants'],\n first: data['first'],\n propertyName: data['propertyName'],\n read: _objFromJson(data['read'], CompileTokenMetadata.fromJson)\n });\n };\n CompileQueryMetadata.prototype.toJson = function() {\n return {\n 'selectors': _arrayToJson(this.selectors),\n 'descendants': this.descendants,\n 'first': this.first,\n 'propertyName': this.propertyName,\n 'read': _objToJson(this.read)\n };\n };\n return CompileQueryMetadata;\n}());\nexports.CompileQueryMetadata = CompileQueryMetadata;\nvar CompileTemplateMetadata = (function() {\n function CompileTemplateMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n encapsulation = _b.encapsulation,\n template = _b.template,\n templateUrl = _b.templateUrl,\n styles = _b.styles,\n styleUrls = _b.styleUrls,\n ngContentSelectors = _b.ngContentSelectors;\n this.encapsulation = lang_1.isPresent(encapsulation) ? encapsulation : core_1.ViewEncapsulation.Emulated;\n this.template = template;\n this.templateUrl = templateUrl;\n this.styles = lang_1.isPresent(styles) ? styles : [];\n this.styleUrls = lang_1.isPresent(styleUrls) ? styleUrls : [];\n this.ngContentSelectors = lang_1.isPresent(ngContentSelectors) ? ngContentSelectors : [];\n }\n CompileTemplateMetadata.fromJson = function(data) {\n return new CompileTemplateMetadata({\n encapsulation: lang_1.isPresent(data['encapsulation']) ? core_private_1.VIEW_ENCAPSULATION_VALUES[data['encapsulation']] : data['encapsulation'],\n template: data['template'],\n templateUrl: data['templateUrl'],\n styles: data['styles'],\n styleUrls: data['styleUrls'],\n ngContentSelectors: data['ngContentSelectors']\n });\n };\n CompileTemplateMetadata.prototype.toJson = function() {\n return {\n 'encapsulation': lang_1.isPresent(this.encapsulation) ? lang_1.serializeEnum(this.encapsulation) : this.encapsulation,\n 'template': this.template,\n 'templateUrl': this.templateUrl,\n 'styles': this.styles,\n 'styleUrls': this.styleUrls,\n 'ngContentSelectors': this.ngContentSelectors\n };\n };\n return CompileTemplateMetadata;\n}());\nexports.CompileTemplateMetadata = CompileTemplateMetadata;\nvar CompileDirectiveMetadata = (function() {\n function CompileDirectiveMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n type = _b.type,\n isComponent = _b.isComponent,\n selector = _b.selector,\n exportAs = _b.exportAs,\n changeDetection = _b.changeDetection,\n inputs = _b.inputs,\n outputs = _b.outputs,\n hostListeners = _b.hostListeners,\n hostProperties = _b.hostProperties,\n hostAttributes = _b.hostAttributes,\n lifecycleHooks = _b.lifecycleHooks,\n providers = _b.providers,\n viewProviders = _b.viewProviders,\n queries = _b.queries,\n viewQueries = _b.viewQueries,\n template = _b.template;\n this.type = type;\n this.isComponent = isComponent;\n this.selector = selector;\n this.exportAs = exportAs;\n this.changeDetection = changeDetection;\n this.inputs = inputs;\n this.outputs = outputs;\n this.hostListeners = hostListeners;\n this.hostProperties = hostProperties;\n this.hostAttributes = hostAttributes;\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n this.providers = _normalizeArray(providers);\n this.viewProviders = _normalizeArray(viewProviders);\n this.queries = _normalizeArray(queries);\n this.viewQueries = _normalizeArray(viewQueries);\n this.template = template;\n }\n CompileDirectiveMetadata.create = function(_a) {\n var _b = _a === void 0 ? {} : _a,\n type = _b.type,\n isComponent = _b.isComponent,\n selector = _b.selector,\n exportAs = _b.exportAs,\n changeDetection = _b.changeDetection,\n inputs = _b.inputs,\n outputs = _b.outputs,\n host = _b.host,\n lifecycleHooks = _b.lifecycleHooks,\n providers = _b.providers,\n viewProviders = _b.viewProviders,\n queries = _b.queries,\n viewQueries = _b.viewQueries,\n template = _b.template;\n var hostListeners = {};\n var hostProperties = {};\n var hostAttributes = {};\n if (lang_1.isPresent(host)) {\n collection_1.StringMapWrapper.forEach(host, function(value, key) {\n var matches = lang_1.RegExpWrapper.firstMatch(HOST_REG_EXP, key);\n if (lang_1.isBlank(matches)) {\n hostAttributes[key] = value;\n } else if (lang_1.isPresent(matches[1])) {\n hostProperties[matches[1]] = value;\n } else if (lang_1.isPresent(matches[2])) {\n hostListeners[matches[2]] = value;\n }\n });\n }\n var inputsMap = {};\n if (lang_1.isPresent(inputs)) {\n inputs.forEach(function(bindConfig) {\n var parts = util_1.splitAtColon(bindConfig, [bindConfig, bindConfig]);\n inputsMap[parts[0]] = parts[1];\n });\n }\n var outputsMap = {};\n if (lang_1.isPresent(outputs)) {\n outputs.forEach(function(bindConfig) {\n var parts = util_1.splitAtColon(bindConfig, [bindConfig, bindConfig]);\n outputsMap[parts[0]] = parts[1];\n });\n }\n return new CompileDirectiveMetadata({\n type: type,\n isComponent: lang_1.normalizeBool(isComponent),\n selector: selector,\n exportAs: exportAs,\n changeDetection: changeDetection,\n inputs: inputsMap,\n outputs: outputsMap,\n hostListeners: hostListeners,\n hostProperties: hostProperties,\n hostAttributes: hostAttributes,\n lifecycleHooks: lang_1.isPresent(lifecycleHooks) ? lifecycleHooks : [],\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries,\n template: template\n });\n };\n Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\n get: function() {\n return this.type;\n },\n enumerable: true,\n configurable: true\n });\n CompileDirectiveMetadata.fromJson = function(data) {\n return new CompileDirectiveMetadata({\n isComponent: data['isComponent'],\n selector: data['selector'],\n exportAs: data['exportAs'],\n type: lang_1.isPresent(data['type']) ? CompileTypeMetadata.fromJson(data['type']) : data['type'],\n changeDetection: lang_1.isPresent(data['changeDetection']) ? core_private_1.CHANGE_DETECTION_STRATEGY_VALUES[data['changeDetection']] : data['changeDetection'],\n inputs: data['inputs'],\n outputs: data['outputs'],\n hostListeners: data['hostListeners'],\n hostProperties: data['hostProperties'],\n hostAttributes: data['hostAttributes'],\n lifecycleHooks: data['lifecycleHooks'].map(function(hookValue) {\n return core_private_1.LIFECYCLE_HOOKS_VALUES[hookValue];\n }),\n template: lang_1.isPresent(data['template']) ? CompileTemplateMetadata.fromJson(data['template']) : data['template'],\n providers: _arrayFromJson(data['providers'], metadataFromJson),\n viewProviders: _arrayFromJson(data['viewProviders'], metadataFromJson),\n queries: _arrayFromJson(data['queries'], CompileQueryMetadata.fromJson),\n viewQueries: _arrayFromJson(data['viewQueries'], CompileQueryMetadata.fromJson)\n });\n };\n CompileDirectiveMetadata.prototype.toJson = function() {\n return {\n 'class': 'Directive',\n 'isComponent': this.isComponent,\n 'selector': this.selector,\n 'exportAs': this.exportAs,\n 'type': lang_1.isPresent(this.type) ? this.type.toJson() : this.type,\n 'changeDetection': lang_1.isPresent(this.changeDetection) ? lang_1.serializeEnum(this.changeDetection) : this.changeDetection,\n 'inputs': this.inputs,\n 'outputs': this.outputs,\n 'hostListeners': this.hostListeners,\n 'hostProperties': this.hostProperties,\n 'hostAttributes': this.hostAttributes,\n 'lifecycleHooks': this.lifecycleHooks.map(function(hook) {\n return lang_1.serializeEnum(hook);\n }),\n 'template': lang_1.isPresent(this.template) ? this.template.toJson() : this.template,\n 'providers': _arrayToJson(this.providers),\n 'viewProviders': _arrayToJson(this.viewProviders),\n 'queries': _arrayToJson(this.queries),\n 'viewQueries': _arrayToJson(this.viewQueries)\n };\n };\n return CompileDirectiveMetadata;\n}());\nexports.CompileDirectiveMetadata = CompileDirectiveMetadata;\nfunction createHostComponentMeta(componentType, componentSelector) {\n var template = selector_1.CssSelector.parse(componentSelector)[0].getMatchingElementTemplate();\n return CompileDirectiveMetadata.create({\n type: new CompileTypeMetadata({\n runtime: Object,\n name: componentType.name + \"_Host\",\n moduleUrl: componentType.moduleUrl,\n isHost: true\n }),\n template: new CompileTemplateMetadata({\n template: template,\n templateUrl: '',\n styles: [],\n styleUrls: [],\n ngContentSelectors: []\n }),\n changeDetection: core_1.ChangeDetectionStrategy.Default,\n inputs: [],\n outputs: [],\n host: {},\n lifecycleHooks: [],\n isComponent: true,\n selector: '*',\n providers: [],\n viewProviders: [],\n queries: [],\n viewQueries: []\n });\n}\nexports.createHostComponentMeta = createHostComponentMeta;\nvar CompilePipeMetadata = (function() {\n function CompilePipeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n type = _b.type,\n name = _b.name,\n pure = _b.pure,\n lifecycleHooks = _b.lifecycleHooks;\n this.type = type;\n this.name = name;\n this.pure = lang_1.normalizeBool(pure);\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n }\n Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\n get: function() {\n return this.type;\n },\n enumerable: true,\n configurable: true\n });\n CompilePipeMetadata.fromJson = function(data) {\n return new CompilePipeMetadata({\n type: lang_1.isPresent(data['type']) ? CompileTypeMetadata.fromJson(data['type']) : data['type'],\n name: data['name'],\n pure: data['pure']\n });\n };\n CompilePipeMetadata.prototype.toJson = function() {\n return {\n 'class': 'Pipe',\n 'type': lang_1.isPresent(this.type) ? this.type.toJson() : null,\n 'name': this.name,\n 'pure': this.pure\n };\n };\n return CompilePipeMetadata;\n}());\nexports.CompilePipeMetadata = CompilePipeMetadata;\nvar _COMPILE_METADATA_FROM_JSON = {\n 'Directive': CompileDirectiveMetadata.fromJson,\n 'Pipe': CompilePipeMetadata.fromJson,\n 'Type': CompileTypeMetadata.fromJson,\n 'Provider': CompileProviderMetadata.fromJson,\n 'Identifier': CompileIdentifierMetadata.fromJson,\n 'Factory': CompileFactoryMetadata.fromJson\n};\nfunction _arrayFromJson(obj, fn) {\n return lang_1.isBlank(obj) ? null : obj.map(function(o) {\n return _objFromJson(o, fn);\n });\n}\nfunction _arrayToJson(obj) {\n return lang_1.isBlank(obj) ? null : obj.map(_objToJson);\n}\nfunction _objFromJson(obj, fn) {\n if (lang_1.isArray(obj))\n return _arrayFromJson(obj, fn);\n if (lang_1.isString(obj) || lang_1.isBlank(obj) || lang_1.isBoolean(obj) || lang_1.isNumber(obj))\n return obj;\n return fn(obj);\n}\nfunction _objToJson(obj) {\n if (lang_1.isArray(obj))\n return _arrayToJson(obj);\n if (lang_1.isString(obj) || lang_1.isBlank(obj) || lang_1.isBoolean(obj) || lang_1.isNumber(obj))\n return obj;\n return obj.toJson();\n}\nfunction _normalizeArray(obj) {\n return lang_1.isPresent(obj) ? obj : [];\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar collection_1 = require('./facade/collection');\nexports.MODULE_SUFFIX = lang_1.IS_DART ? '.dart' : '';\nvar CAMEL_CASE_REGEXP = /([A-Z])/g;\nvar DASH_CASE_REGEXP = /-([a-z])/g;\nfunction camelCaseToDashCase(input) {\n return lang_1.StringWrapper.replaceAllMapped(input, CAMEL_CASE_REGEXP, function(m) {\n return '-' + m[1].toLowerCase();\n });\n}\nexports.camelCaseToDashCase = camelCaseToDashCase;\nfunction dashCaseToCamelCase(input) {\n return lang_1.StringWrapper.replaceAllMapped(input, DASH_CASE_REGEXP, function(m) {\n return m[1].toUpperCase();\n });\n}\nexports.dashCaseToCamelCase = dashCaseToCamelCase;\nfunction splitAtColon(input, defaultValues) {\n var parts = lang_1.StringWrapper.split(input.trim(), /\\s*:\\s*/g);\n if (parts.length > 1) {\n return parts;\n } else {\n return defaultValues;\n }\n}\nexports.splitAtColon = splitAtColon;\nfunction sanitizeIdentifier(name) {\n return lang_1.StringWrapper.replaceAll(name, /\\W/g, '_');\n}\nexports.sanitizeIdentifier = sanitizeIdentifier;\nfunction visitValue(value, visitor, context) {\n if (lang_1.isArray(value)) {\n return visitor.visitArray(value, context);\n } else if (lang_1.isStrictStringMap(value)) {\n return visitor.visitStringMap(value, context);\n } else if (lang_1.isBlank(value) || lang_1.isPrimitive(value)) {\n return visitor.visitPrimitive(value, context);\n } else {\n return visitor.visitOther(value, context);\n }\n}\nexports.visitValue = visitValue;\nvar ValueTransformer = (function() {\n function ValueTransformer() {}\n ValueTransformer.prototype.visitArray = function(arr, context) {\n var _this = this;\n return arr.map(function(value) {\n return visitValue(value, _this, context);\n });\n };\n ValueTransformer.prototype.visitStringMap = function(map, context) {\n var _this = this;\n var result = {};\n collection_1.StringMapWrapper.forEach(map, function(value, key) {\n result[key] = visitValue(value, _this, context);\n });\n return result;\n };\n ValueTransformer.prototype.visitPrimitive = function(value, context) {\n return value;\n };\n ValueTransformer.prototype.visitOther = function(value, context) {\n return value;\n };\n return ValueTransformer;\n}());\nexports.ValueTransformer = ValueTransformer;\nfunction assetUrl(pkg, path, type) {\n if (path === void 0) {\n path = null;\n }\n if (type === void 0) {\n type = 'src';\n }\n if (lang_1.IS_DART) {\n if (path == null) {\n return \"asset:angular2/\" + pkg + \"/\" + pkg + \".dart\";\n } else {\n return \"asset:angular2/lib/\" + pkg + \"/src/\" + path + \".dart\";\n }\n } else {\n if (path == null) {\n return \"asset:@angular/lib/\" + pkg + \"/index\";\n } else {\n return \"asset:@angular/lib/\" + pkg + \"/src/\" + path;\n }\n }\n}\nexports.assetUrl = assetUrl;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar core_private_2 = require('../core_private');\nvar compile_metadata_1 = require('./compile_metadata');\nvar util_1 = require('./util');\nvar APP_VIEW_MODULE_URL = util_1.assetUrl('core', 'linker/view');\nvar VIEW_UTILS_MODULE_URL = util_1.assetUrl('core', 'linker/view_utils');\nvar CD_MODULE_URL = util_1.assetUrl('core', 'change_detection/change_detection');\nvar impViewUtils = core_private_2.ViewUtils;\nvar impAppView = core_private_2.AppView;\nvar impDebugAppView = core_private_2.DebugAppView;\nvar impDebugContext = core_private_2.DebugContext;\nvar impAppElement = core_private_2.AppElement;\nvar impElementRef = core_1.ElementRef;\nvar impViewContainerRef = core_1.ViewContainerRef;\nvar impChangeDetectorRef = core_1.ChangeDetectorRef;\nvar impRenderComponentType = core_1.RenderComponentType;\nvar impQueryList = core_1.QueryList;\nvar impTemplateRef = core_1.TemplateRef;\nvar impTemplateRef_ = core_private_2.TemplateRef_;\nvar impValueUnwrapper = core_private_2.ValueUnwrapper;\nvar impInjector = core_1.Injector;\nvar impViewEncapsulation = core_1.ViewEncapsulation;\nvar impViewType = core_private_2.ViewType;\nvar impChangeDetectionStrategy = core_1.ChangeDetectionStrategy;\nvar impStaticNodeDebugInfo = core_private_2.StaticNodeDebugInfo;\nvar impRenderer = core_1.Renderer;\nvar impSimpleChange = core_1.SimpleChange;\nvar impUninitialized = core_private_2.uninitialized;\nvar impChangeDetectorState = core_private_2.ChangeDetectorState;\nvar impFlattenNestedViewRenderNodes = core_private_2.flattenNestedViewRenderNodes;\nvar impDevModeEqual = core_private_2.devModeEqual;\nvar impInterpolate = core_private_2.interpolate;\nvar impCheckBinding = core_private_2.checkBinding;\nvar impCastByValue = core_private_2.castByValue;\nvar impEMPTY_ARRAY = core_private_2.EMPTY_ARRAY;\nvar impEMPTY_MAP = core_private_2.EMPTY_MAP;\nvar Identifiers = (function() {\n function Identifiers() {}\n Identifiers.ViewUtils = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ViewUtils',\n moduleUrl: util_1.assetUrl('core', 'linker/view_utils'),\n runtime: impViewUtils\n });\n Identifiers.AppView = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'AppView',\n moduleUrl: APP_VIEW_MODULE_URL,\n runtime: impAppView\n });\n Identifiers.DebugAppView = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'DebugAppView',\n moduleUrl: APP_VIEW_MODULE_URL,\n runtime: impDebugAppView\n });\n Identifiers.AppElement = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'AppElement',\n moduleUrl: util_1.assetUrl('core', 'linker/element'),\n runtime: impAppElement\n });\n Identifiers.ElementRef = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ElementRef',\n moduleUrl: util_1.assetUrl('core', 'linker/element_ref'),\n runtime: impElementRef\n });\n Identifiers.ViewContainerRef = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ViewContainerRef',\n moduleUrl: util_1.assetUrl('core', 'linker/view_container_ref'),\n runtime: impViewContainerRef\n });\n Identifiers.ChangeDetectorRef = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ChangeDetectorRef',\n moduleUrl: util_1.assetUrl('core', 'change_detection/change_detector_ref'),\n runtime: impChangeDetectorRef\n });\n Identifiers.RenderComponentType = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'RenderComponentType',\n moduleUrl: util_1.assetUrl('core', 'render/api'),\n runtime: impRenderComponentType\n });\n Identifiers.QueryList = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'QueryList',\n moduleUrl: util_1.assetUrl('core', 'linker/query_list'),\n runtime: impQueryList\n });\n Identifiers.TemplateRef = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'TemplateRef',\n moduleUrl: util_1.assetUrl('core', 'linker/template_ref'),\n runtime: impTemplateRef\n });\n Identifiers.TemplateRef_ = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'TemplateRef_',\n moduleUrl: util_1.assetUrl('core', 'linker/template_ref'),\n runtime: impTemplateRef_\n });\n Identifiers.ValueUnwrapper = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ValueUnwrapper',\n moduleUrl: CD_MODULE_URL,\n runtime: impValueUnwrapper\n });\n Identifiers.Injector = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'Injector',\n moduleUrl: util_1.assetUrl('core', 'di/injector'),\n runtime: impInjector\n });\n Identifiers.ViewEncapsulation = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ViewEncapsulation',\n moduleUrl: util_1.assetUrl('core', 'metadata/view'),\n runtime: impViewEncapsulation\n });\n Identifiers.ViewType = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ViewType',\n moduleUrl: util_1.assetUrl('core', 'linker/view_type'),\n runtime: impViewType\n });\n Identifiers.ChangeDetectionStrategy = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ChangeDetectionStrategy',\n moduleUrl: CD_MODULE_URL,\n runtime: impChangeDetectionStrategy\n });\n Identifiers.StaticNodeDebugInfo = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'StaticNodeDebugInfo',\n moduleUrl: util_1.assetUrl('core', 'linker/debug_context'),\n runtime: impStaticNodeDebugInfo\n });\n Identifiers.DebugContext = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'DebugContext',\n moduleUrl: util_1.assetUrl('core', 'linker/debug_context'),\n runtime: impDebugContext\n });\n Identifiers.Renderer = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'Renderer',\n moduleUrl: util_1.assetUrl('core', 'render/api'),\n runtime: impRenderer\n });\n Identifiers.SimpleChange = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'SimpleChange',\n moduleUrl: CD_MODULE_URL,\n runtime: impSimpleChange\n });\n Identifiers.uninitialized = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'uninitialized',\n moduleUrl: CD_MODULE_URL,\n runtime: impUninitialized\n });\n Identifiers.ChangeDetectorState = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'ChangeDetectorState',\n moduleUrl: CD_MODULE_URL,\n runtime: impChangeDetectorState\n });\n Identifiers.checkBinding = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'checkBinding',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impCheckBinding\n });\n Identifiers.flattenNestedViewRenderNodes = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'flattenNestedViewRenderNodes',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impFlattenNestedViewRenderNodes\n });\n Identifiers.devModeEqual = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'devModeEqual',\n moduleUrl: CD_MODULE_URL,\n runtime: impDevModeEqual\n });\n Identifiers.interpolate = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'interpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impInterpolate\n });\n Identifiers.castByValue = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'castByValue',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impCastByValue\n });\n Identifiers.EMPTY_ARRAY = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'EMPTY_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impEMPTY_ARRAY\n });\n Identifiers.EMPTY_MAP = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'EMPTY_MAP',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: impEMPTY_MAP\n });\n Identifiers.pureProxies = [null, new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy1',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy1\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy2',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy2\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy3',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy3\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy4',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy4\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy5',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy5\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy6',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy6\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy7',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy7\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy8',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy8\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy9',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy9\n }), new compile_metadata_1.CompileIdentifierMetadata({\n name: 'pureProxy10',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: core_private_2.pureProxy10\n })];\n Identifiers.SecurityContext = new compile_metadata_1.CompileIdentifierMetadata({\n name: 'SecurityContext',\n moduleUrl: util_1.assetUrl('core', 'security'),\n runtime: core_private_1.SecurityContext\n });\n return Identifiers;\n}());\nexports.Identifiers = Identifiers;\nfunction identifierToken(identifier) {\n return new compile_metadata_1.CompileTokenMetadata({identifier: identifier});\n}\nexports.identifierToken = identifierToken;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar exceptions_1 = require('./facade/exceptions');\nvar identifiers_1 = require('./identifiers');\nvar CompilerConfig = (function() {\n function CompilerConfig(genDebugInfo, logBindingUpdate, useJit, renderTypes) {\n if (renderTypes === void 0) {\n renderTypes = null;\n }\n this.genDebugInfo = genDebugInfo;\n this.logBindingUpdate = logBindingUpdate;\n this.useJit = useJit;\n if (lang_1.isBlank(renderTypes)) {\n renderTypes = new DefaultRenderTypes();\n }\n this.renderTypes = renderTypes;\n }\n return CompilerConfig;\n}());\nexports.CompilerConfig = CompilerConfig;\nvar RenderTypes = (function() {\n function RenderTypes() {}\n Object.defineProperty(RenderTypes.prototype, \"renderer\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderText\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderElement\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderComment\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderNode\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderEvent\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return RenderTypes;\n}());\nexports.RenderTypes = RenderTypes;\nvar DefaultRenderTypes = (function() {\n function DefaultRenderTypes() {\n this.renderer = identifiers_1.Identifiers.Renderer;\n this.renderText = null;\n this.renderElement = null;\n this.renderComment = null;\n this.renderNode = null;\n this.renderEvent = null;\n }\n return DefaultRenderTypes;\n}());\nexports.DefaultRenderTypes = DefaultRenderTypes;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar compile_element_1 = require('./compile_element');\nvar compile_view_1 = require('./compile_view');\nvar view_builder_1 = require('./view_builder');\nvar view_binder_1 = require('./view_binder');\nvar config_1 = require('../config');\nvar ViewCompileResult = (function() {\n function ViewCompileResult(statements, viewFactoryVar, dependencies) {\n this.statements = statements;\n this.viewFactoryVar = viewFactoryVar;\n this.dependencies = dependencies;\n }\n return ViewCompileResult;\n}());\nexports.ViewCompileResult = ViewCompileResult;\nvar ViewCompiler = (function() {\n function ViewCompiler(_genConfig) {\n this._genConfig = _genConfig;\n }\n ViewCompiler.prototype.compileComponent = function(component, template, styles, pipes) {\n var statements = [];\n var dependencies = [];\n var view = new compile_view_1.CompileView(component, this._genConfig, pipes, styles, 0, compile_element_1.CompileElement.createNull(), []);\n view_builder_1.buildView(view, template, dependencies);\n view_binder_1.bindView(view, template);\n view_builder_1.finishView(view, statements);\n return new ViewCompileResult(statements, view.viewFactory.name, dependencies);\n };\n ViewCompiler.decorators = [{type: core_1.Injectable}];\n ViewCompiler.ctorParameters = [{type: config_1.CompilerConfig}];\n return ViewCompiler;\n}());\nexports.ViewCompiler = ViewCompiler;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nexports.isDefaultChangeDetectionStrategy = core_1.__core_private__.isDefaultChangeDetectionStrategy;\nexports.ChangeDetectorState = core_1.__core_private__.ChangeDetectorState;\nexports.CHANGE_DETECTION_STRATEGY_VALUES = core_1.__core_private__.CHANGE_DETECTION_STRATEGY_VALUES;\nexports.constructDependencies = core_1.__core_private__.constructDependencies;\nexports.LifecycleHooks = core_1.__core_private__.LifecycleHooks;\nexports.LIFECYCLE_HOOKS_VALUES = core_1.__core_private__.LIFECYCLE_HOOKS_VALUES;\nexports.ReflectorReader = core_1.__core_private__.ReflectorReader;\nexports.ReflectorComponentResolver = core_1.__core_private__.ReflectorComponentResolver;\nexports.AppElement = core_1.__core_private__.AppElement;\nexports.AppView = core_1.__core_private__.AppView;\nexports.DebugAppView = core_1.__core_private__.DebugAppView;\nexports.ViewType = core_1.__core_private__.ViewType;\nexports.MAX_INTERPOLATION_VALUES = core_1.__core_private__.MAX_INTERPOLATION_VALUES;\nexports.checkBinding = core_1.__core_private__.checkBinding;\nexports.flattenNestedViewRenderNodes = core_1.__core_private__.flattenNestedViewRenderNodes;\nexports.interpolate = core_1.__core_private__.interpolate;\nexports.ViewUtils = core_1.__core_private__.ViewUtils;\nexports.VIEW_ENCAPSULATION_VALUES = core_1.__core_private__.VIEW_ENCAPSULATION_VALUES;\nexports.DebugContext = core_1.__core_private__.DebugContext;\nexports.StaticNodeDebugInfo = core_1.__core_private__.StaticNodeDebugInfo;\nexports.devModeEqual = core_1.__core_private__.devModeEqual;\nexports.uninitialized = core_1.__core_private__.uninitialized;\nexports.ValueUnwrapper = core_1.__core_private__.ValueUnwrapper;\nexports.TemplateRef_ = core_1.__core_private__.TemplateRef_;\nexports.RenderDebugInfo = core_1.__core_private__.RenderDebugInfo;\nexports.SecurityContext = core_1.__core_private__.SecurityContext;\nexports.SanitizationService = core_1.__core_private__.SanitizationService;\nexports.createProvider = core_1.__core_private__.createProvider;\nexports.isProviderLiteral = core_1.__core_private__.isProviderLiteral;\nexports.EMPTY_ARRAY = core_1.__core_private__.EMPTY_ARRAY;\nexports.EMPTY_MAP = core_1.__core_private__.EMPTY_MAP;\nexports.pureProxy1 = core_1.__core_private__.pureProxy1;\nexports.pureProxy2 = core_1.__core_private__.pureProxy2;\nexports.pureProxy3 = core_1.__core_private__.pureProxy3;\nexports.pureProxy4 = core_1.__core_private__.pureProxy4;\nexports.pureProxy5 = core_1.__core_private__.pureProxy5;\nexports.pureProxy6 = core_1.__core_private__.pureProxy6;\nexports.pureProxy7 = core_1.__core_private__.pureProxy7;\nexports.pureProxy8 = core_1.__core_private__.pureProxy8;\nexports.pureProxy9 = core_1.__core_private__.pureProxy9;\nexports.pureProxy10 = core_1.__core_private__.pureProxy10;\nexports.castByValue = core_1.__core_private__.castByValue;\nexports.Console = core_1.__core_private__.Console;\n//# sourceMappingURL=core_private.js.map","/* */ \n\"use strict\";\nvar ElementSchemaRegistry = (function () {\n function ElementSchemaRegistry() {\n }\n return ElementSchemaRegistry;\n}());\nexports.ElementSchemaRegistry = ElementSchemaRegistry;\n//# sourceMappingURL=element_schema_registry.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../../core_private');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar element_schema_registry_1 = require('./element_schema_registry');\nvar EVENT = 'event';\nvar BOOLEAN = 'boolean';\nvar NUMBER = 'number';\nvar STRING = 'string';\nvar OBJECT = 'object';\nvar SCHEMA = (['*|%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop', '^*|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*autocomplete,*autocompleteerror,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate', 'media|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,#volume', '@svg:^*|*abort,*autocomplete,*autocompleteerror,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex', '@svg:graphics^@svg:|', '@svg:animation^@svg:|*begin,*end,*repeat', '@svg:geometry^@svg:|', '@svg:componentTransferFunction^@svg:|', '@svg:gradient^@svg:|', '@svg:textContent^@svg:graphics|', '@svg:textPositioning^@svg:textContent|', 'a|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,rel,rev,search,shape,target,text,type,username', 'area|alt,coords,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,search,shape,target,username', 'audio^media|', 'br|clear', 'base|href,target', 'body|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink', 'button|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value', 'canvas|#height,#width', 'content|select', 'dl|!compact', 'datalist|', 'details|!open', 'dialog|!open,returnValue', 'dir|!compact', 'div|align', 'embed|align,height,name,src,type,width', 'fieldset|!disabled,name', 'font|color,face,size', 'form|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target', 'frame|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src', 'frameset|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows', 'hr|align,color,!noShade,size,width', 'head|', 'h1,h2,h3,h4,h5,h6|align', 'html|version', 'iframe|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,%sandbox,scrolling,src,srcdoc,width', 'img|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,sizes,src,srcset,useMap,#vspace,#width', 'input|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width', 'keygen|!autofocus,challenge,!disabled,keytype,name', 'li|type,#value', 'label|htmlFor', 'legend|align', 'link|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,rel,%relList,rev,%sizes,target,type', 'map|name', 'marquee|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width', 'menu|!compact', 'meta|content,httpEquiv,name,scheme', 'meter|#high,#low,#max,#min,#optimum,#value', 'ins,del|cite,dateTime', 'ol|!compact,!reversed,#start,type', 'object|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width', 'optgroup|!disabled,label', 'option|!defaultSelected,!disabled,label,!selected,text,value', 'output|defaultValue,%htmlFor,name,value', 'p|align', 'param|name,type,value,valueType', 'picture|', 'pre|#width', 'progress|#max,#value', 'q,blockquote,cite|', 'script|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type', 'select|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value', 'shadow|', 'source|media,sizes,src,srcset,type', 'span|', 'style|!disabled,media,type', 'caption|align', 'th,td|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width', 'col,colgroup|align,ch,chOff,#span,vAlign,width', 'table|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width', 'tr|align,bgColor,ch,chOff,vAlign', 'tfoot,thead,tbody|align,ch,chOff,vAlign', 'template|', 'textarea|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap', 'title|text', 'track|!default,kind,label,src,srclang', 'ul|!compact,type', 'unknown|', 'video^media|#height,poster,#width', '@svg:a^@svg:graphics|', '@svg:animate^@svg:animation|', '@svg:animateMotion^@svg:animation|', '@svg:animateTransform^@svg:animation|', '@svg:circle^@svg:geometry|', '@svg:clipPath^@svg:graphics|', '@svg:cursor^@svg:|', '@svg:defs^@svg:graphics|', '@svg:desc^@svg:|', '@svg:discard^@svg:|', '@svg:ellipse^@svg:geometry|', '@svg:feBlend^@svg:|', '@svg:feColorMatrix^@svg:|', '@svg:feComponentTransfer^@svg:|', '@svg:feComposite^@svg:|', '@svg:feConvolveMatrix^@svg:|', '@svg:feDiffuseLighting^@svg:|', '@svg:feDisplacementMap^@svg:|', '@svg:feDistantLight^@svg:|', '@svg:feDropShadow^@svg:|', '@svg:feFlood^@svg:|', '@svg:feFuncA^@svg:componentTransferFunction|', '@svg:feFuncB^@svg:componentTransferFunction|', '@svg:feFuncG^@svg:componentTransferFunction|', '@svg:feFuncR^@svg:componentTransferFunction|', '@svg:feGaussianBlur^@svg:|', '@svg:feImage^@svg:|', '@svg:feMerge^@svg:|', '@svg:feMergeNode^@svg:|', '@svg:feMorphology^@svg:|', '@svg:feOffset^@svg:|', '@svg:fePointLight^@svg:|', '@svg:feSpecularLighting^@svg:|', '@svg:feSpotLight^@svg:|', '@svg:feTile^@svg:|', '@svg:feTurbulence^@svg:|', '@svg:filter^@svg:|', '@svg:foreignObject^@svg:graphics|', '@svg:g^@svg:graphics|', '@svg:image^@svg:graphics|', '@svg:line^@svg:geometry|', '@svg:linearGradient^@svg:gradient|', '@svg:mpath^@svg:|', '@svg:marker^@svg:|', '@svg:mask^@svg:|', '@svg:metadata^@svg:|', '@svg:path^@svg:geometry|', '@svg:pattern^@svg:|', '@svg:polygon^@svg:geometry|', '@svg:polyline^@svg:geometry|', '@svg:radialGradient^@svg:gradient|', '@svg:rect^@svg:geometry|', '@svg:svg^@svg:graphics|#currentScale,#zoomAndPan', '@svg:script^@svg:|type', '@svg:set^@svg:animation|', '@svg:stop^@svg:|', '@svg:style^@svg:|!disabled,media,title,type', '@svg:switch^@svg:graphics|', '@svg:symbol^@svg:|', '@svg:tspan^@svg:textPositioning|', '@svg:text^@svg:textPositioning|', '@svg:textPath^@svg:textContent|', '@svg:title^@svg:|', '@svg:use^@svg:graphics|', '@svg:view^@svg:|#zoomAndPan']);\nvar attrToPropMap = {\n 'class': 'className',\n 'innerHtml': 'innerHTML',\n 'readonly': 'readOnly',\n 'tabindex': 'tabIndex'\n};\nvar DomElementSchemaRegistry = (function(_super) {\n __extends(DomElementSchemaRegistry, _super);\n function DomElementSchemaRegistry() {\n var _this = this;\n _super.call(this);\n this.schema = {};\n SCHEMA.forEach(function(encodedType) {\n var parts = encodedType.split('|');\n var properties = parts[1].split(',');\n var typeParts = (parts[0] + '^').split('^');\n var typeName = typeParts[0];\n var type = {};\n typeName.split(',').forEach(function(tag) {\n return _this.schema[tag] = type;\n });\n var superType = _this.schema[typeParts[1]];\n if (lang_1.isPresent(superType)) {\n collection_1.StringMapWrapper.forEach(superType, function(v, k) {\n return type[k] = v;\n });\n }\n properties.forEach(function(property) {\n if (property == '') {} else if (property.startsWith('*')) {} else if (property.startsWith('!')) {\n type[property.substring(1)] = BOOLEAN;\n } else if (property.startsWith('#')) {\n type[property.substring(1)] = NUMBER;\n } else if (property.startsWith('%')) {\n type[property.substring(1)] = OBJECT;\n } else {\n type[property] = STRING;\n }\n });\n });\n }\n DomElementSchemaRegistry.prototype.hasProperty = function(tagName, propName) {\n if (tagName.indexOf('-') !== -1) {\n return true;\n } else {\n var elementProperties = this.schema[tagName.toLowerCase()];\n if (!lang_1.isPresent(elementProperties)) {\n elementProperties = this.schema['unknown'];\n }\n return lang_1.isPresent(elementProperties[propName]);\n }\n };\n DomElementSchemaRegistry.prototype.securityContext = function(tagName, propName) {\n if (propName === 'style')\n return core_private_1.SecurityContext.STYLE;\n if (tagName === 'a' && propName === 'href')\n return core_private_1.SecurityContext.URL;\n if (propName === 'innerHTML')\n return core_private_1.SecurityContext.HTML;\n return core_private_1.SecurityContext.NONE;\n };\n DomElementSchemaRegistry.prototype.getMappedPropName = function(propName) {\n var mappedPropName = collection_1.StringMapWrapper.get(attrToPropMap, propName);\n return lang_1.isPresent(mappedPropName) ? mappedPropName : propName;\n };\n DomElementSchemaRegistry.decorators = [{type: core_1.Injectable}];\n DomElementSchemaRegistry.ctorParameters = [];\n return DomElementSchemaRegistry;\n}(element_schema_registry_1.ElementSchemaRegistry));\nexports.DomElementSchemaRegistry = DomElementSchemaRegistry;\n","/* */ \n(function(process) {\n \"use strict\";\n var __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var collection_1 = require('../facade/collection');\n var AST = (function() {\n function AST() {}\n AST.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return null;\n };\n AST.prototype.toString = function() {\n return \"AST\";\n };\n return AST;\n }());\n exports.AST = AST;\n var Quote = (function(_super) {\n __extends(Quote, _super);\n function Quote(prefix, uninterpretedExpression, location) {\n _super.call(this);\n this.prefix = prefix;\n this.uninterpretedExpression = uninterpretedExpression;\n this.location = location;\n }\n Quote.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitQuote(this, context);\n };\n Quote.prototype.toString = function() {\n return \"Quote\";\n };\n return Quote;\n }(AST));\n exports.Quote = Quote;\n var EmptyExpr = (function(_super) {\n __extends(EmptyExpr, _super);\n function EmptyExpr() {\n _super.apply(this, arguments);\n }\n EmptyExpr.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n };\n return EmptyExpr;\n }(AST));\n exports.EmptyExpr = EmptyExpr;\n var ImplicitReceiver = (function(_super) {\n __extends(ImplicitReceiver, _super);\n function ImplicitReceiver() {\n _super.apply(this, arguments);\n }\n ImplicitReceiver.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitImplicitReceiver(this, context);\n };\n return ImplicitReceiver;\n }(AST));\n exports.ImplicitReceiver = ImplicitReceiver;\n var Chain = (function(_super) {\n __extends(Chain, _super);\n function Chain(expressions) {\n _super.call(this);\n this.expressions = expressions;\n }\n Chain.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitChain(this, context);\n };\n return Chain;\n }(AST));\n exports.Chain = Chain;\n var Conditional = (function(_super) {\n __extends(Conditional, _super);\n function Conditional(condition, trueExp, falseExp) {\n _super.call(this);\n this.condition = condition;\n this.trueExp = trueExp;\n this.falseExp = falseExp;\n }\n Conditional.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitConditional(this, context);\n };\n return Conditional;\n }(AST));\n exports.Conditional = Conditional;\n var PropertyRead = (function(_super) {\n __extends(PropertyRead, _super);\n function PropertyRead(receiver, name) {\n _super.call(this);\n this.receiver = receiver;\n this.name = name;\n }\n PropertyRead.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitPropertyRead(this, context);\n };\n return PropertyRead;\n }(AST));\n exports.PropertyRead = PropertyRead;\n var PropertyWrite = (function(_super) {\n __extends(PropertyWrite, _super);\n function PropertyWrite(receiver, name, value) {\n _super.call(this);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n PropertyWrite.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitPropertyWrite(this, context);\n };\n return PropertyWrite;\n }(AST));\n exports.PropertyWrite = PropertyWrite;\n var SafePropertyRead = (function(_super) {\n __extends(SafePropertyRead, _super);\n function SafePropertyRead(receiver, name) {\n _super.call(this);\n this.receiver = receiver;\n this.name = name;\n }\n SafePropertyRead.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitSafePropertyRead(this, context);\n };\n return SafePropertyRead;\n }(AST));\n exports.SafePropertyRead = SafePropertyRead;\n var KeyedRead = (function(_super) {\n __extends(KeyedRead, _super);\n function KeyedRead(obj, key) {\n _super.call(this);\n this.obj = obj;\n this.key = key;\n }\n KeyedRead.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitKeyedRead(this, context);\n };\n return KeyedRead;\n }(AST));\n exports.KeyedRead = KeyedRead;\n var KeyedWrite = (function(_super) {\n __extends(KeyedWrite, _super);\n function KeyedWrite(obj, key, value) {\n _super.call(this);\n this.obj = obj;\n this.key = key;\n this.value = value;\n }\n KeyedWrite.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitKeyedWrite(this, context);\n };\n return KeyedWrite;\n }(AST));\n exports.KeyedWrite = KeyedWrite;\n var BindingPipe = (function(_super) {\n __extends(BindingPipe, _super);\n function BindingPipe(exp, name, args) {\n _super.call(this);\n this.exp = exp;\n this.name = name;\n this.args = args;\n }\n BindingPipe.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitPipe(this, context);\n };\n return BindingPipe;\n }(AST));\n exports.BindingPipe = BindingPipe;\n var LiteralPrimitive = (function(_super) {\n __extends(LiteralPrimitive, _super);\n function LiteralPrimitive(value) {\n _super.call(this);\n this.value = value;\n }\n LiteralPrimitive.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitLiteralPrimitive(this, context);\n };\n return LiteralPrimitive;\n }(AST));\n exports.LiteralPrimitive = LiteralPrimitive;\n var LiteralArray = (function(_super) {\n __extends(LiteralArray, _super);\n function LiteralArray(expressions) {\n _super.call(this);\n this.expressions = expressions;\n }\n LiteralArray.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitLiteralArray(this, context);\n };\n return LiteralArray;\n }(AST));\n exports.LiteralArray = LiteralArray;\n var LiteralMap = (function(_super) {\n __extends(LiteralMap, _super);\n function LiteralMap(keys, values) {\n _super.call(this);\n this.keys = keys;\n this.values = values;\n }\n LiteralMap.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitLiteralMap(this, context);\n };\n return LiteralMap;\n }(AST));\n exports.LiteralMap = LiteralMap;\n var Interpolation = (function(_super) {\n __extends(Interpolation, _super);\n function Interpolation(strings, expressions) {\n _super.call(this);\n this.strings = strings;\n this.expressions = expressions;\n }\n Interpolation.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitInterpolation(this, context);\n };\n return Interpolation;\n }(AST));\n exports.Interpolation = Interpolation;\n var Binary = (function(_super) {\n __extends(Binary, _super);\n function Binary(operation, left, right) {\n _super.call(this);\n this.operation = operation;\n this.left = left;\n this.right = right;\n }\n Binary.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitBinary(this, context);\n };\n return Binary;\n }(AST));\n exports.Binary = Binary;\n var PrefixNot = (function(_super) {\n __extends(PrefixNot, _super);\n function PrefixNot(expression) {\n _super.call(this);\n this.expression = expression;\n }\n PrefixNot.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitPrefixNot(this, context);\n };\n return PrefixNot;\n }(AST));\n exports.PrefixNot = PrefixNot;\n var MethodCall = (function(_super) {\n __extends(MethodCall, _super);\n function MethodCall(receiver, name, args) {\n _super.call(this);\n this.receiver = receiver;\n this.name = name;\n this.args = args;\n }\n MethodCall.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitMethodCall(this, context);\n };\n return MethodCall;\n }(AST));\n exports.MethodCall = MethodCall;\n var SafeMethodCall = (function(_super) {\n __extends(SafeMethodCall, _super);\n function SafeMethodCall(receiver, name, args) {\n _super.call(this);\n this.receiver = receiver;\n this.name = name;\n this.args = args;\n }\n SafeMethodCall.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitSafeMethodCall(this, context);\n };\n return SafeMethodCall;\n }(AST));\n exports.SafeMethodCall = SafeMethodCall;\n var FunctionCall = (function(_super) {\n __extends(FunctionCall, _super);\n function FunctionCall(target, args) {\n _super.call(this);\n this.target = target;\n this.args = args;\n }\n FunctionCall.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return visitor.visitFunctionCall(this, context);\n };\n return FunctionCall;\n }(AST));\n exports.FunctionCall = FunctionCall;\n var ASTWithSource = (function(_super) {\n __extends(ASTWithSource, _super);\n function ASTWithSource(ast, source, location) {\n _super.call(this);\n this.ast = ast;\n this.source = source;\n this.location = location;\n }\n ASTWithSource.prototype.visit = function(visitor, context) {\n if (context === void 0) {\n context = null;\n }\n return this.ast.visit(visitor, context);\n };\n ASTWithSource.prototype.toString = function() {\n return this.source + \" in \" + this.location;\n };\n return ASTWithSource;\n }(AST));\n exports.ASTWithSource = ASTWithSource;\n var TemplateBinding = (function() {\n function TemplateBinding(key, keyIsVar, name, expression) {\n this.key = key;\n this.keyIsVar = keyIsVar;\n this.name = name;\n this.expression = expression;\n }\n return TemplateBinding;\n }());\n exports.TemplateBinding = TemplateBinding;\n var RecursiveAstVisitor = (function() {\n function RecursiveAstVisitor() {}\n RecursiveAstVisitor.prototype.visitBinary = function(ast, context) {\n ast.left.visit(this);\n ast.right.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitChain = function(ast, context) {\n return this.visitAll(ast.expressions, context);\n };\n RecursiveAstVisitor.prototype.visitConditional = function(ast, context) {\n ast.condition.visit(this);\n ast.trueExp.visit(this);\n ast.falseExp.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPipe = function(ast, context) {\n ast.exp.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n RecursiveAstVisitor.prototype.visitFunctionCall = function(ast, context) {\n ast.target.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n RecursiveAstVisitor.prototype.visitImplicitReceiver = function(ast, context) {\n return null;\n };\n RecursiveAstVisitor.prototype.visitInterpolation = function(ast, context) {\n return this.visitAll(ast.expressions, context);\n };\n RecursiveAstVisitor.prototype.visitKeyedRead = function(ast, context) {\n ast.obj.visit(this);\n ast.key.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitKeyedWrite = function(ast, context) {\n ast.obj.visit(this);\n ast.key.visit(this);\n ast.value.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitLiteralArray = function(ast, context) {\n return this.visitAll(ast.expressions, context);\n };\n RecursiveAstVisitor.prototype.visitLiteralMap = function(ast, context) {\n return this.visitAll(ast.values, context);\n };\n RecursiveAstVisitor.prototype.visitLiteralPrimitive = function(ast, context) {\n return null;\n };\n RecursiveAstVisitor.prototype.visitMethodCall = function(ast, context) {\n ast.receiver.visit(this);\n return this.visitAll(ast.args, context);\n };\n RecursiveAstVisitor.prototype.visitPrefixNot = function(ast, context) {\n ast.expression.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPropertyRead = function(ast, context) {\n ast.receiver.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPropertyWrite = function(ast, context) {\n ast.receiver.visit(this);\n ast.value.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitSafePropertyRead = function(ast, context) {\n ast.receiver.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitSafeMethodCall = function(ast, context) {\n ast.receiver.visit(this);\n return this.visitAll(ast.args, context);\n };\n RecursiveAstVisitor.prototype.visitAll = function(asts, context) {\n var _this = this;\n asts.forEach(function(ast) {\n return ast.visit(_this, context);\n });\n return null;\n };\n RecursiveAstVisitor.prototype.visitQuote = function(ast, context) {\n return null;\n };\n return RecursiveAstVisitor;\n }());\n exports.RecursiveAstVisitor = RecursiveAstVisitor;\n var AstTransformer = (function() {\n function AstTransformer() {}\n AstTransformer.prototype.visitImplicitReceiver = function(ast, context) {\n return ast;\n };\n AstTransformer.prototype.visitInterpolation = function(ast, context) {\n return new Interpolation(ast.strings, this.visitAll(ast.expressions));\n };\n AstTransformer.prototype.visitLiteralPrimitive = function(ast, context) {\n return new LiteralPrimitive(ast.value);\n };\n AstTransformer.prototype.visitPropertyRead = function(ast, context) {\n return new PropertyRead(ast.receiver.visit(this), ast.name);\n };\n AstTransformer.prototype.visitPropertyWrite = function(ast, context) {\n return new PropertyWrite(ast.receiver.visit(this), ast.name, ast.value);\n };\n AstTransformer.prototype.visitSafePropertyRead = function(ast, context) {\n return new SafePropertyRead(ast.receiver.visit(this), ast.name);\n };\n AstTransformer.prototype.visitMethodCall = function(ast, context) {\n return new MethodCall(ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n };\n AstTransformer.prototype.visitSafeMethodCall = function(ast, context) {\n return new SafeMethodCall(ast.receiver.visit(this), ast.name, this.visitAll(ast.args));\n };\n AstTransformer.prototype.visitFunctionCall = function(ast, context) {\n return new FunctionCall(ast.target.visit(this), this.visitAll(ast.args));\n };\n AstTransformer.prototype.visitLiteralArray = function(ast, context) {\n return new LiteralArray(this.visitAll(ast.expressions));\n };\n AstTransformer.prototype.visitLiteralMap = function(ast, context) {\n return new LiteralMap(ast.keys, this.visitAll(ast.values));\n };\n AstTransformer.prototype.visitBinary = function(ast, context) {\n return new Binary(ast.operation, ast.left.visit(this), ast.right.visit(this));\n };\n AstTransformer.prototype.visitPrefixNot = function(ast, context) {\n return new PrefixNot(ast.expression.visit(this));\n };\n AstTransformer.prototype.visitConditional = function(ast, context) {\n return new Conditional(ast.condition.visit(this), ast.trueExp.visit(this), ast.falseExp.visit(this));\n };\n AstTransformer.prototype.visitPipe = function(ast, context) {\n return new BindingPipe(ast.exp.visit(this), ast.name, this.visitAll(ast.args));\n };\n AstTransformer.prototype.visitKeyedRead = function(ast, context) {\n return new KeyedRead(ast.obj.visit(this), ast.key.visit(this));\n };\n AstTransformer.prototype.visitKeyedWrite = function(ast, context) {\n return new KeyedWrite(ast.obj.visit(this), ast.key.visit(this), ast.value.visit(this));\n };\n AstTransformer.prototype.visitAll = function(asts) {\n var res = collection_1.ListWrapper.createFixedSize(asts.length);\n for (var i = 0; i < asts.length; ++i) {\n res[i] = asts[i].visit(this);\n }\n return res;\n };\n AstTransformer.prototype.visitChain = function(ast, context) {\n return new Chain(this.visitAll(ast.expressions));\n };\n AstTransformer.prototype.visitQuote = function(ast, context) {\n return new Quote(ast.prefix, ast.uninterpretedExpression, ast.location);\n };\n return AstTransformer;\n }());\n exports.AstTransformer = AstTransformer;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar collection_1 = require('../facade/collection');\nvar lexer_1 = require('./lexer');\nvar ast_1 = require('./ast');\nvar _implicitReceiver = new ast_1.ImplicitReceiver();\nvar INTERPOLATION_REGEXP = /\\{\\{([\\s\\S]*?)\\}\\}/g;\nvar ParseException = (function(_super) {\n __extends(ParseException, _super);\n function ParseException(message, input, errLocation, ctxLocation) {\n _super.call(this, \"Parser Error: \" + message + \" \" + errLocation + \" [\" + input + \"] in \" + ctxLocation);\n }\n return ParseException;\n}(exceptions_1.BaseException));\nvar SplitInterpolation = (function() {\n function SplitInterpolation(strings, expressions) {\n this.strings = strings;\n this.expressions = expressions;\n }\n return SplitInterpolation;\n}());\nexports.SplitInterpolation = SplitInterpolation;\nvar TemplateBindingParseResult = (function() {\n function TemplateBindingParseResult(templateBindings, warnings) {\n this.templateBindings = templateBindings;\n this.warnings = warnings;\n }\n return TemplateBindingParseResult;\n}());\nexports.TemplateBindingParseResult = TemplateBindingParseResult;\nvar Parser = (function() {\n function Parser(_lexer) {\n this._lexer = _lexer;\n }\n Parser.prototype.parseAction = function(input, location) {\n this._checkNoInterpolation(input, location);\n var tokens = this._lexer.tokenize(this._stripComments(input));\n var ast = new _ParseAST(input, location, tokens, true).parseChain();\n return new ast_1.ASTWithSource(ast, input, location);\n };\n Parser.prototype.parseBinding = function(input, location) {\n var ast = this._parseBindingAst(input, location);\n return new ast_1.ASTWithSource(ast, input, location);\n };\n Parser.prototype.parseSimpleBinding = function(input, location) {\n var ast = this._parseBindingAst(input, location);\n if (!SimpleExpressionChecker.check(ast)) {\n throw new ParseException('Host binding expression can only contain field access and constants', input, location);\n }\n return new ast_1.ASTWithSource(ast, input, location);\n };\n Parser.prototype._parseBindingAst = function(input, location) {\n var quote = this._parseQuote(input, location);\n if (lang_1.isPresent(quote)) {\n return quote;\n }\n this._checkNoInterpolation(input, location);\n var tokens = this._lexer.tokenize(this._stripComments(input));\n return new _ParseAST(input, location, tokens, false).parseChain();\n };\n Parser.prototype._parseQuote = function(input, location) {\n if (lang_1.isBlank(input))\n return null;\n var prefixSeparatorIndex = input.indexOf(':');\n if (prefixSeparatorIndex == -1)\n return null;\n var prefix = input.substring(0, prefixSeparatorIndex).trim();\n if (!lexer_1.isIdentifier(prefix))\n return null;\n var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n return new ast_1.Quote(prefix, uninterpretedExpression, location);\n };\n Parser.prototype.parseTemplateBindings = function(input, location) {\n var tokens = this._lexer.tokenize(input);\n return new _ParseAST(input, location, tokens, false).parseTemplateBindings();\n };\n Parser.prototype.parseInterpolation = function(input, location) {\n var split = this.splitInterpolation(input, location);\n if (split == null)\n return null;\n var expressions = [];\n for (var i = 0; i < split.expressions.length; ++i) {\n var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));\n var ast = new _ParseAST(input, location, tokens, false).parseChain();\n expressions.push(ast);\n }\n return new ast_1.ASTWithSource(new ast_1.Interpolation(split.strings, expressions), input, location);\n };\n Parser.prototype.splitInterpolation = function(input, location) {\n var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);\n if (parts.length <= 1) {\n return null;\n }\n var strings = [];\n var expressions = [];\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n if (i % 2 === 0) {\n strings.push(part);\n } else if (part.trim().length > 0) {\n expressions.push(part);\n } else {\n throw new ParseException('Blank expressions are not allowed in interpolated strings', input, \"at column \" + this._findInterpolationErrorColumn(parts, i) + \" in\", location);\n }\n }\n return new SplitInterpolation(strings, expressions);\n };\n Parser.prototype.wrapLiteralPrimitive = function(input, location) {\n return new ast_1.ASTWithSource(new ast_1.LiteralPrimitive(input), input, location);\n };\n Parser.prototype._stripComments = function(input) {\n var i = this._commentStart(input);\n return lang_1.isPresent(i) ? input.substring(0, i).trim() : input;\n };\n Parser.prototype._commentStart = function(input) {\n var outerQuote = null;\n for (var i = 0; i < input.length - 1; i++) {\n var char = lang_1.StringWrapper.charCodeAt(input, i);\n var nextChar = lang_1.StringWrapper.charCodeAt(input, i + 1);\n if (char === lexer_1.$SLASH && nextChar == lexer_1.$SLASH && lang_1.isBlank(outerQuote))\n return i;\n if (outerQuote === char) {\n outerQuote = null;\n } else if (lang_1.isBlank(outerQuote) && lexer_1.isQuote(char)) {\n outerQuote = char;\n }\n }\n return null;\n };\n Parser.prototype._checkNoInterpolation = function(input, location) {\n var parts = lang_1.StringWrapper.split(input, INTERPOLATION_REGEXP);\n if (parts.length > 1) {\n throw new ParseException('Got interpolation ({{}}) where expression was expected', input, \"at column \" + this._findInterpolationErrorColumn(parts, 1) + \" in\", location);\n }\n };\n Parser.prototype._findInterpolationErrorColumn = function(parts, partInErrIdx) {\n var errLocation = '';\n for (var j = 0; j < partInErrIdx; j++) {\n errLocation += j % 2 === 0 ? parts[j] : \"{{\" + parts[j] + \"}}\";\n }\n return errLocation.length;\n };\n Parser.decorators = [{type: core_1.Injectable}];\n Parser.ctorParameters = [{type: lexer_1.Lexer}];\n return Parser;\n}());\nexports.Parser = Parser;\nvar _ParseAST = (function() {\n function _ParseAST(input, location, tokens, parseAction) {\n this.input = input;\n this.location = location;\n this.tokens = tokens;\n this.parseAction = parseAction;\n this.index = 0;\n }\n _ParseAST.prototype.peek = function(offset) {\n var i = this.index + offset;\n return i < this.tokens.length ? this.tokens[i] : lexer_1.EOF;\n };\n Object.defineProperty(_ParseAST.prototype, \"next\", {\n get: function() {\n return this.peek(0);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(_ParseAST.prototype, \"inputIndex\", {\n get: function() {\n return (this.index < this.tokens.length) ? this.next.index : this.input.length;\n },\n enumerable: true,\n configurable: true\n });\n _ParseAST.prototype.advance = function() {\n this.index++;\n };\n _ParseAST.prototype.optionalCharacter = function(code) {\n if (this.next.isCharacter(code)) {\n this.advance();\n return true;\n } else {\n return false;\n }\n };\n _ParseAST.prototype.peekKeywordLet = function() {\n return this.next.isKeywordLet();\n };\n _ParseAST.prototype.peekDeprecatedKeywordVar = function() {\n return this.next.isKeywordDeprecatedVar();\n };\n _ParseAST.prototype.peekDeprecatedOperatorHash = function() {\n return this.next.isOperator('#');\n };\n _ParseAST.prototype.expectCharacter = function(code) {\n if (this.optionalCharacter(code))\n return;\n this.error(\"Missing expected \" + lang_1.StringWrapper.fromCharCode(code));\n };\n _ParseAST.prototype.optionalOperator = function(op) {\n if (this.next.isOperator(op)) {\n this.advance();\n return true;\n } else {\n return false;\n }\n };\n _ParseAST.prototype.expectOperator = function(operator) {\n if (this.optionalOperator(operator))\n return;\n this.error(\"Missing expected operator \" + operator);\n };\n _ParseAST.prototype.expectIdentifierOrKeyword = function() {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword()) {\n this.error(\"Unexpected token \" + n + \", expected identifier or keyword\");\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.expectIdentifierOrKeywordOrString = function() {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n this.error(\"Unexpected token \" + n + \", expected identifier, keyword, or string\");\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.parseChain = function() {\n var exprs = [];\n while (this.index < this.tokens.length) {\n var expr = this.parsePipe();\n exprs.push(expr);\n if (this.optionalCharacter(lexer_1.$SEMICOLON)) {\n if (!this.parseAction) {\n this.error(\"Binding expression cannot contain chained expression\");\n }\n while (this.optionalCharacter(lexer_1.$SEMICOLON)) {}\n } else if (this.index < this.tokens.length) {\n this.error(\"Unexpected token '\" + this.next + \"'\");\n }\n }\n if (exprs.length == 0)\n return new ast_1.EmptyExpr();\n if (exprs.length == 1)\n return exprs[0];\n return new ast_1.Chain(exprs);\n };\n _ParseAST.prototype.parsePipe = function() {\n var result = this.parseExpression();\n if (this.optionalOperator(\"|\")) {\n if (this.parseAction) {\n this.error(\"Cannot have a pipe in an action expression\");\n }\n do {\n var name = this.expectIdentifierOrKeyword();\n var args = [];\n while (this.optionalCharacter(lexer_1.$COLON)) {\n args.push(this.parseExpression());\n }\n result = new ast_1.BindingPipe(result, name, args);\n } while (this.optionalOperator(\"|\"));\n }\n return result;\n };\n _ParseAST.prototype.parseExpression = function() {\n return this.parseConditional();\n };\n _ParseAST.prototype.parseConditional = function() {\n var start = this.inputIndex;\n var result = this.parseLogicalOr();\n if (this.optionalOperator('?')) {\n var yes = this.parsePipe();\n if (!this.optionalCharacter(lexer_1.$COLON)) {\n var end = this.inputIndex;\n var expression = this.input.substring(start, end);\n this.error(\"Conditional expression \" + expression + \" requires all 3 expressions\");\n }\n var no = this.parsePipe();\n return new ast_1.Conditional(result, yes, no);\n } else {\n return result;\n }\n };\n _ParseAST.prototype.parseLogicalOr = function() {\n var result = this.parseLogicalAnd();\n while (this.optionalOperator('||')) {\n result = new ast_1.Binary('||', result, this.parseLogicalAnd());\n }\n return result;\n };\n _ParseAST.prototype.parseLogicalAnd = function() {\n var result = this.parseEquality();\n while (this.optionalOperator('&&')) {\n result = new ast_1.Binary('&&', result, this.parseEquality());\n }\n return result;\n };\n _ParseAST.prototype.parseEquality = function() {\n var result = this.parseRelational();\n while (true) {\n if (this.optionalOperator('==')) {\n result = new ast_1.Binary('==', result, this.parseRelational());\n } else if (this.optionalOperator('===')) {\n result = new ast_1.Binary('===', result, this.parseRelational());\n } else if (this.optionalOperator('!=')) {\n result = new ast_1.Binary('!=', result, this.parseRelational());\n } else if (this.optionalOperator('!==')) {\n result = new ast_1.Binary('!==', result, this.parseRelational());\n } else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parseRelational = function() {\n var result = this.parseAdditive();\n while (true) {\n if (this.optionalOperator('<')) {\n result = new ast_1.Binary('<', result, this.parseAdditive());\n } else if (this.optionalOperator('>')) {\n result = new ast_1.Binary('>', result, this.parseAdditive());\n } else if (this.optionalOperator('<=')) {\n result = new ast_1.Binary('<=', result, this.parseAdditive());\n } else if (this.optionalOperator('>=')) {\n result = new ast_1.Binary('>=', result, this.parseAdditive());\n } else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parseAdditive = function() {\n var result = this.parseMultiplicative();\n while (true) {\n if (this.optionalOperator('+')) {\n result = new ast_1.Binary('+', result, this.parseMultiplicative());\n } else if (this.optionalOperator('-')) {\n result = new ast_1.Binary('-', result, this.parseMultiplicative());\n } else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parseMultiplicative = function() {\n var result = this.parsePrefix();\n while (true) {\n if (this.optionalOperator('*')) {\n result = new ast_1.Binary('*', result, this.parsePrefix());\n } else if (this.optionalOperator('%')) {\n result = new ast_1.Binary('%', result, this.parsePrefix());\n } else if (this.optionalOperator('/')) {\n result = new ast_1.Binary('/', result, this.parsePrefix());\n } else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parsePrefix = function() {\n if (this.optionalOperator('+')) {\n return this.parsePrefix();\n } else if (this.optionalOperator('-')) {\n return new ast_1.Binary('-', new ast_1.LiteralPrimitive(0), this.parsePrefix());\n } else if (this.optionalOperator('!')) {\n return new ast_1.PrefixNot(this.parsePrefix());\n } else {\n return this.parseCallChain();\n }\n };\n _ParseAST.prototype.parseCallChain = function() {\n var result = this.parsePrimary();\n while (true) {\n if (this.optionalCharacter(lexer_1.$PERIOD)) {\n result = this.parseAccessMemberOrMethodCall(result, false);\n } else if (this.optionalOperator('?.')) {\n result = this.parseAccessMemberOrMethodCall(result, true);\n } else if (this.optionalCharacter(lexer_1.$LBRACKET)) {\n var key = this.parsePipe();\n this.expectCharacter(lexer_1.$RBRACKET);\n if (this.optionalOperator(\"=\")) {\n var value = this.parseConditional();\n result = new ast_1.KeyedWrite(result, key, value);\n } else {\n result = new ast_1.KeyedRead(result, key);\n }\n } else if (this.optionalCharacter(lexer_1.$LPAREN)) {\n var args = this.parseCallArguments();\n this.expectCharacter(lexer_1.$RPAREN);\n result = new ast_1.FunctionCall(result, args);\n } else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parsePrimary = function() {\n if (this.optionalCharacter(lexer_1.$LPAREN)) {\n var result = this.parsePipe();\n this.expectCharacter(lexer_1.$RPAREN);\n return result;\n } else if (this.next.isKeywordNull() || this.next.isKeywordUndefined()) {\n this.advance();\n return new ast_1.LiteralPrimitive(null);\n } else if (this.next.isKeywordTrue()) {\n this.advance();\n return new ast_1.LiteralPrimitive(true);\n } else if (this.next.isKeywordFalse()) {\n this.advance();\n return new ast_1.LiteralPrimitive(false);\n } else if (this.optionalCharacter(lexer_1.$LBRACKET)) {\n var elements = this.parseExpressionList(lexer_1.$RBRACKET);\n this.expectCharacter(lexer_1.$RBRACKET);\n return new ast_1.LiteralArray(elements);\n } else if (this.next.isCharacter(lexer_1.$LBRACE)) {\n return this.parseLiteralMap();\n } else if (this.next.isIdentifier()) {\n return this.parseAccessMemberOrMethodCall(_implicitReceiver, false);\n } else if (this.next.isNumber()) {\n var value = this.next.toNumber();\n this.advance();\n return new ast_1.LiteralPrimitive(value);\n } else if (this.next.isString()) {\n var literalValue = this.next.toString();\n this.advance();\n return new ast_1.LiteralPrimitive(literalValue);\n } else if (this.index >= this.tokens.length) {\n this.error(\"Unexpected end of expression: \" + this.input);\n } else {\n this.error(\"Unexpected token \" + this.next);\n }\n throw new exceptions_1.BaseException(\"Fell through all cases in parsePrimary\");\n };\n _ParseAST.prototype.parseExpressionList = function(terminator) {\n var result = [];\n if (!this.next.isCharacter(terminator)) {\n do {\n result.push(this.parsePipe());\n } while (this.optionalCharacter(lexer_1.$COMMA));\n }\n return result;\n };\n _ParseAST.prototype.parseLiteralMap = function() {\n var keys = [];\n var values = [];\n this.expectCharacter(lexer_1.$LBRACE);\n if (!this.optionalCharacter(lexer_1.$RBRACE)) {\n do {\n var key = this.expectIdentifierOrKeywordOrString();\n keys.push(key);\n this.expectCharacter(lexer_1.$COLON);\n values.push(this.parsePipe());\n } while (this.optionalCharacter(lexer_1.$COMMA));\n this.expectCharacter(lexer_1.$RBRACE);\n }\n return new ast_1.LiteralMap(keys, values);\n };\n _ParseAST.prototype.parseAccessMemberOrMethodCall = function(receiver, isSafe) {\n if (isSafe === void 0) {\n isSafe = false;\n }\n var id = this.expectIdentifierOrKeyword();\n if (this.optionalCharacter(lexer_1.$LPAREN)) {\n var args = this.parseCallArguments();\n this.expectCharacter(lexer_1.$RPAREN);\n return isSafe ? new ast_1.SafeMethodCall(receiver, id, args) : new ast_1.MethodCall(receiver, id, args);\n } else {\n if (isSafe) {\n if (this.optionalOperator(\"=\")) {\n this.error(\"The '?.' operator cannot be used in the assignment\");\n } else {\n return new ast_1.SafePropertyRead(receiver, id);\n }\n } else {\n if (this.optionalOperator(\"=\")) {\n if (!this.parseAction) {\n this.error(\"Bindings cannot contain assignments\");\n }\n var value = this.parseConditional();\n return new ast_1.PropertyWrite(receiver, id, value);\n } else {\n return new ast_1.PropertyRead(receiver, id);\n }\n }\n }\n return null;\n };\n _ParseAST.prototype.parseCallArguments = function() {\n if (this.next.isCharacter(lexer_1.$RPAREN))\n return [];\n var positionals = [];\n do {\n positionals.push(this.parsePipe());\n } while (this.optionalCharacter(lexer_1.$COMMA));\n return positionals;\n };\n _ParseAST.prototype.parseBlockContent = function() {\n if (!this.parseAction) {\n this.error(\"Binding expression cannot contain chained expression\");\n }\n var exprs = [];\n while (this.index < this.tokens.length && !this.next.isCharacter(lexer_1.$RBRACE)) {\n var expr = this.parseExpression();\n exprs.push(expr);\n if (this.optionalCharacter(lexer_1.$SEMICOLON)) {\n while (this.optionalCharacter(lexer_1.$SEMICOLON)) {}\n }\n }\n if (exprs.length == 0)\n return new ast_1.EmptyExpr();\n if (exprs.length == 1)\n return exprs[0];\n return new ast_1.Chain(exprs);\n };\n _ParseAST.prototype.expectTemplateBindingKey = function() {\n var result = '';\n var operatorFound = false;\n do {\n result += this.expectIdentifierOrKeywordOrString();\n operatorFound = this.optionalOperator('-');\n if (operatorFound) {\n result += '-';\n }\n } while (operatorFound);\n return result.toString();\n };\n _ParseAST.prototype.parseTemplateBindings = function() {\n var bindings = [];\n var prefix = null;\n var warnings = [];\n while (this.index < this.tokens.length) {\n var keyIsVar = this.peekKeywordLet();\n if (!keyIsVar && this.peekDeprecatedKeywordVar()) {\n keyIsVar = true;\n warnings.push(\"\\\"var\\\" inside of expressions is deprecated. Use \\\"let\\\" instead!\");\n }\n if (!keyIsVar && this.peekDeprecatedOperatorHash()) {\n keyIsVar = true;\n warnings.push(\"\\\"#\\\" inside of expressions is deprecated. Use \\\"let\\\" instead!\");\n }\n if (keyIsVar) {\n this.advance();\n }\n var key = this.expectTemplateBindingKey();\n if (!keyIsVar) {\n if (prefix == null) {\n prefix = key;\n } else {\n key = prefix + key[0].toUpperCase() + key.substring(1);\n }\n }\n this.optionalCharacter(lexer_1.$COLON);\n var name = null;\n var expression = null;\n if (keyIsVar) {\n if (this.optionalOperator(\"=\")) {\n name = this.expectTemplateBindingKey();\n } else {\n name = '\\$implicit';\n }\n } else if (this.next !== lexer_1.EOF && !this.peekKeywordLet() && !this.peekDeprecatedKeywordVar() && !this.peekDeprecatedOperatorHash()) {\n var start = this.inputIndex;\n var ast = this.parsePipe();\n var source = this.input.substring(start, this.inputIndex);\n expression = new ast_1.ASTWithSource(ast, source, this.location);\n }\n bindings.push(new ast_1.TemplateBinding(key, keyIsVar, name, expression));\n if (!this.optionalCharacter(lexer_1.$SEMICOLON)) {\n this.optionalCharacter(lexer_1.$COMMA);\n }\n }\n return new TemplateBindingParseResult(bindings, warnings);\n };\n _ParseAST.prototype.error = function(message, index) {\n if (index === void 0) {\n index = null;\n }\n if (lang_1.isBlank(index))\n index = this.index;\n var location = (index < this.tokens.length) ? \"at column \" + (this.tokens[index].index + 1) + \" in\" : \"at the end of the expression\";\n throw new ParseException(message, this.input, location, this.location);\n };\n return _ParseAST;\n}());\nexports._ParseAST = _ParseAST;\nvar SimpleExpressionChecker = (function() {\n function SimpleExpressionChecker() {\n this.simple = true;\n }\n SimpleExpressionChecker.check = function(ast) {\n var s = new SimpleExpressionChecker();\n ast.visit(s);\n return s.simple;\n };\n SimpleExpressionChecker.prototype.visitImplicitReceiver = function(ast, context) {};\n SimpleExpressionChecker.prototype.visitInterpolation = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitLiteralPrimitive = function(ast, context) {};\n SimpleExpressionChecker.prototype.visitPropertyRead = function(ast, context) {};\n SimpleExpressionChecker.prototype.visitPropertyWrite = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitSafePropertyRead = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitMethodCall = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitSafeMethodCall = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitFunctionCall = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitLiteralArray = function(ast, context) {\n this.visitAll(ast.expressions);\n };\n SimpleExpressionChecker.prototype.visitLiteralMap = function(ast, context) {\n this.visitAll(ast.values);\n };\n SimpleExpressionChecker.prototype.visitBinary = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitPrefixNot = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitConditional = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitPipe = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitKeyedRead = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitKeyedWrite = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitAll = function(asts) {\n var res = collection_1.ListWrapper.createFixedSize(asts.length);\n for (var i = 0; i < asts.length; ++i) {\n res[i] = asts[i].visit(this);\n }\n return res;\n };\n SimpleExpressionChecker.prototype.visitChain = function(ast, context) {\n this.simple = false;\n };\n SimpleExpressionChecker.prototype.visitQuote = function(ast, context) {\n this.simple = false;\n };\n return SimpleExpressionChecker;\n}());\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\n(function(TokenType) {\n TokenType[TokenType[\"Character\"] = 0] = \"Character\";\n TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\n TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\n TokenType[TokenType[\"String\"] = 3] = \"String\";\n TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\n TokenType[TokenType[\"Number\"] = 5] = \"Number\";\n})(exports.TokenType || (exports.TokenType = {}));\nvar TokenType = exports.TokenType;\nvar Lexer = (function() {\n function Lexer() {}\n Lexer.prototype.tokenize = function(text) {\n var scanner = new _Scanner(text);\n var tokens = [];\n var token = scanner.scanToken();\n while (token != null) {\n tokens.push(token);\n token = scanner.scanToken();\n }\n return tokens;\n };\n Lexer.decorators = [{type: core_1.Injectable}];\n return Lexer;\n}());\nexports.Lexer = Lexer;\nvar Token = (function() {\n function Token(index, type, numValue, strValue) {\n this.index = index;\n this.type = type;\n this.numValue = numValue;\n this.strValue = strValue;\n }\n Token.prototype.isCharacter = function(code) {\n return (this.type == TokenType.Character && this.numValue == code);\n };\n Token.prototype.isNumber = function() {\n return (this.type == TokenType.Number);\n };\n Token.prototype.isString = function() {\n return (this.type == TokenType.String);\n };\n Token.prototype.isOperator = function(operater) {\n return (this.type == TokenType.Operator && this.strValue == operater);\n };\n Token.prototype.isIdentifier = function() {\n return (this.type == TokenType.Identifier);\n };\n Token.prototype.isKeyword = function() {\n return (this.type == TokenType.Keyword);\n };\n Token.prototype.isKeywordDeprecatedVar = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"var\");\n };\n Token.prototype.isKeywordLet = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"let\");\n };\n Token.prototype.isKeywordNull = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"null\");\n };\n Token.prototype.isKeywordUndefined = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"undefined\");\n };\n Token.prototype.isKeywordTrue = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"true\");\n };\n Token.prototype.isKeywordFalse = function() {\n return (this.type == TokenType.Keyword && this.strValue == \"false\");\n };\n Token.prototype.toNumber = function() {\n return (this.type == TokenType.Number) ? this.numValue : -1;\n };\n Token.prototype.toString = function() {\n switch (this.type) {\n case TokenType.Character:\n case TokenType.Identifier:\n case TokenType.Keyword:\n case TokenType.Operator:\n case TokenType.String:\n return this.strValue;\n case TokenType.Number:\n return this.numValue.toString();\n default:\n return null;\n }\n };\n return Token;\n}());\nexports.Token = Token;\nfunction newCharacterToken(index, code) {\n return new Token(index, TokenType.Character, code, lang_1.StringWrapper.fromCharCode(code));\n}\nfunction newIdentifierToken(index, text) {\n return new Token(index, TokenType.Identifier, 0, text);\n}\nfunction newKeywordToken(index, text) {\n return new Token(index, TokenType.Keyword, 0, text);\n}\nfunction newOperatorToken(index, text) {\n return new Token(index, TokenType.Operator, 0, text);\n}\nfunction newStringToken(index, text) {\n return new Token(index, TokenType.String, 0, text);\n}\nfunction newNumberToken(index, n) {\n return new Token(index, TokenType.Number, n, \"\");\n}\nexports.EOF = new Token(-1, TokenType.Character, 0, \"\");\nexports.$EOF = 0;\nexports.$TAB = 9;\nexports.$LF = 10;\nexports.$VTAB = 11;\nexports.$FF = 12;\nexports.$CR = 13;\nexports.$SPACE = 32;\nexports.$BANG = 33;\nexports.$DQ = 34;\nexports.$HASH = 35;\nexports.$$ = 36;\nexports.$PERCENT = 37;\nexports.$AMPERSAND = 38;\nexports.$SQ = 39;\nexports.$LPAREN = 40;\nexports.$RPAREN = 41;\nexports.$STAR = 42;\nexports.$PLUS = 43;\nexports.$COMMA = 44;\nexports.$MINUS = 45;\nexports.$PERIOD = 46;\nexports.$SLASH = 47;\nexports.$COLON = 58;\nexports.$SEMICOLON = 59;\nexports.$LT = 60;\nexports.$EQ = 61;\nexports.$GT = 62;\nexports.$QUESTION = 63;\nvar $0 = 48;\nvar $9 = 57;\nvar $A = 65,\n $E = 69,\n $Z = 90;\nexports.$LBRACKET = 91;\nexports.$BACKSLASH = 92;\nexports.$RBRACKET = 93;\nvar $CARET = 94;\nvar $_ = 95;\nexports.$BT = 96;\nvar $a = 97,\n $e = 101,\n $f = 102;\nvar $n = 110,\n $r = 114,\n $t = 116,\n $u = 117,\n $v = 118,\n $z = 122;\nexports.$LBRACE = 123;\nexports.$BAR = 124;\nexports.$RBRACE = 125;\nvar $NBSP = 160;\nvar ScannerError = (function(_super) {\n __extends(ScannerError, _super);\n function ScannerError(message) {\n _super.call(this);\n this.message = message;\n }\n ScannerError.prototype.toString = function() {\n return this.message;\n };\n return ScannerError;\n}(exceptions_1.BaseException));\nexports.ScannerError = ScannerError;\nvar _Scanner = (function() {\n function _Scanner(input) {\n this.input = input;\n this.peek = 0;\n this.index = -1;\n this.length = input.length;\n this.advance();\n }\n _Scanner.prototype.advance = function() {\n this.peek = ++this.index >= this.length ? exports.$EOF : lang_1.StringWrapper.charCodeAt(this.input, this.index);\n };\n _Scanner.prototype.scanToken = function() {\n var input = this.input,\n length = this.length,\n peek = this.peek,\n index = this.index;\n while (peek <= exports.$SPACE) {\n if (++index >= length) {\n peek = exports.$EOF;\n break;\n } else {\n peek = lang_1.StringWrapper.charCodeAt(input, index);\n }\n }\n this.peek = peek;\n this.index = index;\n if (index >= length) {\n return null;\n }\n if (isIdentifierStart(peek))\n return this.scanIdentifier();\n if (isDigit(peek))\n return this.scanNumber(index);\n var start = index;\n switch (peek) {\n case exports.$PERIOD:\n this.advance();\n return isDigit(this.peek) ? this.scanNumber(start) : newCharacterToken(start, exports.$PERIOD);\n case exports.$LPAREN:\n case exports.$RPAREN:\n case exports.$LBRACE:\n case exports.$RBRACE:\n case exports.$LBRACKET:\n case exports.$RBRACKET:\n case exports.$COMMA:\n case exports.$COLON:\n case exports.$SEMICOLON:\n return this.scanCharacter(start, peek);\n case exports.$SQ:\n case exports.$DQ:\n return this.scanString();\n case exports.$HASH:\n case exports.$PLUS:\n case exports.$MINUS:\n case exports.$STAR:\n case exports.$SLASH:\n case exports.$PERCENT:\n case $CARET:\n return this.scanOperator(start, lang_1.StringWrapper.fromCharCode(peek));\n case exports.$QUESTION:\n return this.scanComplexOperator(start, '?', exports.$PERIOD, '.');\n case exports.$LT:\n case exports.$GT:\n return this.scanComplexOperator(start, lang_1.StringWrapper.fromCharCode(peek), exports.$EQ, '=');\n case exports.$BANG:\n case exports.$EQ:\n return this.scanComplexOperator(start, lang_1.StringWrapper.fromCharCode(peek), exports.$EQ, '=', exports.$EQ, '=');\n case exports.$AMPERSAND:\n return this.scanComplexOperator(start, '&', exports.$AMPERSAND, '&');\n case exports.$BAR:\n return this.scanComplexOperator(start, '|', exports.$BAR, '|');\n case $NBSP:\n while (isWhitespace(this.peek))\n this.advance();\n return this.scanToken();\n }\n this.error(\"Unexpected character [\" + lang_1.StringWrapper.fromCharCode(peek) + \"]\", 0);\n return null;\n };\n _Scanner.prototype.scanCharacter = function(start, code) {\n this.advance();\n return newCharacterToken(start, code);\n };\n _Scanner.prototype.scanOperator = function(start, str) {\n this.advance();\n return newOperatorToken(start, str);\n };\n _Scanner.prototype.scanComplexOperator = function(start, one, twoCode, two, threeCode, three) {\n this.advance();\n var str = one;\n if (this.peek == twoCode) {\n this.advance();\n str += two;\n }\n if (lang_1.isPresent(threeCode) && this.peek == threeCode) {\n this.advance();\n str += three;\n }\n return newOperatorToken(start, str);\n };\n _Scanner.prototype.scanIdentifier = function() {\n var start = this.index;\n this.advance();\n while (isIdentifierPart(this.peek))\n this.advance();\n var str = this.input.substring(start, this.index);\n if (collection_1.SetWrapper.has(KEYWORDS, str)) {\n return newKeywordToken(start, str);\n } else {\n return newIdentifierToken(start, str);\n }\n };\n _Scanner.prototype.scanNumber = function(start) {\n var simple = (this.index === start);\n this.advance();\n while (true) {\n if (isDigit(this.peek)) {} else if (this.peek == exports.$PERIOD) {\n simple = false;\n } else if (isExponentStart(this.peek)) {\n this.advance();\n if (isExponentSign(this.peek))\n this.advance();\n if (!isDigit(this.peek))\n this.error('Invalid exponent', -1);\n simple = false;\n } else {\n break;\n }\n this.advance();\n }\n var str = this.input.substring(start, this.index);\n var value = simple ? lang_1.NumberWrapper.parseIntAutoRadix(str) : lang_1.NumberWrapper.parseFloat(str);\n return newNumberToken(start, value);\n };\n _Scanner.prototype.scanString = function() {\n var start = this.index;\n var quote = this.peek;\n this.advance();\n var buffer;\n var marker = this.index;\n var input = this.input;\n while (this.peek != quote) {\n if (this.peek == exports.$BACKSLASH) {\n if (buffer == null)\n buffer = new lang_1.StringJoiner();\n buffer.add(input.substring(marker, this.index));\n this.advance();\n var unescapedCode;\n if (this.peek == $u) {\n var hex = input.substring(this.index + 1, this.index + 5);\n try {\n unescapedCode = lang_1.NumberWrapper.parseInt(hex, 16);\n } catch (e) {\n this.error(\"Invalid unicode escape [\\\\u\" + hex + \"]\", 0);\n }\n for (var i = 0; i < 5; i++) {\n this.advance();\n }\n } else {\n unescapedCode = unescape(this.peek);\n this.advance();\n }\n buffer.add(lang_1.StringWrapper.fromCharCode(unescapedCode));\n marker = this.index;\n } else if (this.peek == exports.$EOF) {\n this.error('Unterminated quote', 0);\n } else {\n this.advance();\n }\n }\n var last = input.substring(marker, this.index);\n this.advance();\n var unescaped = last;\n if (buffer != null) {\n buffer.add(last);\n unescaped = buffer.toString();\n }\n return newStringToken(start, unescaped);\n };\n _Scanner.prototype.error = function(message, offset) {\n var position = this.index + offset;\n throw new ScannerError(\"Lexer Error: \" + message + \" at column \" + position + \" in expression [\" + this.input + \"]\");\n };\n return _Scanner;\n}());\nfunction isWhitespace(code) {\n return (code >= exports.$TAB && code <= exports.$SPACE) || (code == $NBSP);\n}\nfunction isIdentifierStart(code) {\n return ($a <= code && code <= $z) || ($A <= code && code <= $Z) || (code == $_) || (code == exports.$$);\n}\nfunction isIdentifier(input) {\n if (input.length == 0)\n return false;\n var scanner = new _Scanner(input);\n if (!isIdentifierStart(scanner.peek))\n return false;\n scanner.advance();\n while (scanner.peek !== exports.$EOF) {\n if (!isIdentifierPart(scanner.peek))\n return false;\n scanner.advance();\n }\n return true;\n}\nexports.isIdentifier = isIdentifier;\nfunction isIdentifierPart(code) {\n return ($a <= code && code <= $z) || ($A <= code && code <= $Z) || ($0 <= code && code <= $9) || (code == $_) || (code == exports.$$);\n}\nfunction isDigit(code) {\n return $0 <= code && code <= $9;\n}\nfunction isExponentStart(code) {\n return code == $e || code == $E;\n}\nfunction isExponentSign(code) {\n return code == exports.$MINUS || code == exports.$PLUS;\n}\nfunction isQuote(code) {\n return code === exports.$SQ || code === exports.$DQ || code === exports.$BT;\n}\nexports.isQuote = isQuote;\nfunction unescape(code) {\n switch (code) {\n case $n:\n return exports.$LF;\n case $f:\n return exports.$FF;\n case $r:\n return exports.$CR;\n case $t:\n return exports.$TAB;\n case $v:\n return exports.$VTAB;\n default:\n return code;\n }\n}\nvar OPERATORS = collection_1.SetWrapper.createFromList(['+', '-', '*', '/', '%', '^', '=', '==', '!=', '===', '!==', '<', '>', '<=', '>=', '&&', '||', '&', '|', '!', '?', '#', '?.']);\nvar KEYWORDS = collection_1.SetWrapper.createFromList(['var', 'let', 'null', 'undefined', 'true', 'false', 'if', 'else']);\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\n__export(require('./template_ast'));\nvar template_parser_1 = require('./template_parser');\nexports.TEMPLATE_TRANSFORMS = template_parser_1.TEMPLATE_TRANSFORMS;\nvar config_1 = require('./config');\nexports.CompilerConfig = config_1.CompilerConfig;\nexports.RenderTypes = config_1.RenderTypes;\n__export(require('./compile_metadata'));\n__export(require('./offline_compiler'));\nvar runtime_compiler_1 = require('./runtime_compiler');\nexports.RuntimeCompiler = runtime_compiler_1.RuntimeCompiler;\n__export(require('./url_resolver'));\n__export(require('./xhr'));\nvar view_resolver_1 = require('./view_resolver');\nexports.ViewResolver = view_resolver_1.ViewResolver;\nvar directive_resolver_1 = require('./directive_resolver');\nexports.DirectiveResolver = directive_resolver_1.DirectiveResolver;\nvar pipe_resolver_1 = require('./pipe_resolver');\nexports.PipeResolver = pipe_resolver_1.PipeResolver;\nvar template_parser_2 = require('./template_parser');\nvar html_parser_1 = require('./html_parser');\nvar directive_normalizer_1 = require('./directive_normalizer');\nvar metadata_resolver_1 = require('./metadata_resolver');\nvar style_compiler_1 = require('./style_compiler');\nvar view_compiler_1 = require('./view_compiler/view_compiler');\nvar config_2 = require('./config');\nvar runtime_compiler_2 = require('./runtime_compiler');\nvar element_schema_registry_1 = require('./schema/element_schema_registry');\nvar dom_element_schema_registry_1 = require('./schema/dom_element_schema_registry');\nvar url_resolver_2 = require('./url_resolver');\nvar parser_1 = require('./expression_parser/parser');\nvar lexer_1 = require('./expression_parser/lexer');\nvar view_resolver_2 = require('./view_resolver');\nvar directive_resolver_2 = require('./directive_resolver');\nvar pipe_resolver_2 = require('./pipe_resolver');\nfunction _createCompilerConfig() {\n return new config_2.CompilerConfig(lang_1.assertionsEnabled(), false, true);\n}\nexports.COMPILER_PROVIDERS = [lexer_1.Lexer, parser_1.Parser, html_parser_1.HtmlParser, template_parser_2.TemplateParser, directive_normalizer_1.DirectiveNormalizer, metadata_resolver_1.CompileMetadataResolver, url_resolver_2.DEFAULT_PACKAGE_URL_PROVIDER, style_compiler_1.StyleCompiler, view_compiler_1.ViewCompiler, {\n provide: config_2.CompilerConfig,\n useFactory: _createCompilerConfig,\n deps: []\n}, runtime_compiler_2.RuntimeCompiler, {\n provide: core_1.ComponentResolver,\n useExisting: runtime_compiler_2.RuntimeCompiler\n}, dom_element_schema_registry_1.DomElementSchemaRegistry, {\n provide: element_schema_registry_1.ElementSchemaRegistry,\n useExisting: dom_element_schema_registry_1.DomElementSchemaRegistry\n}, url_resolver_2.UrlResolver, view_resolver_2.ViewResolver, directive_resolver_2.DirectiveResolver, pipe_resolver_2.PipeResolver];\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar TextAst = (function() {\n function TextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n TextAst.prototype.visit = function(visitor, context) {\n return visitor.visitText(this, context);\n };\n return TextAst;\n}());\nexports.TextAst = TextAst;\nvar BoundTextAst = (function() {\n function BoundTextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n BoundTextAst.prototype.visit = function(visitor, context) {\n return visitor.visitBoundText(this, context);\n };\n return BoundTextAst;\n}());\nexports.BoundTextAst = BoundTextAst;\nvar AttrAst = (function() {\n function AttrAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n AttrAst.prototype.visit = function(visitor, context) {\n return visitor.visitAttr(this, context);\n };\n return AttrAst;\n}());\nexports.AttrAst = AttrAst;\nvar BoundElementPropertyAst = (function() {\n function BoundElementPropertyAst(name, type, securityContext, value, unit, sourceSpan) {\n this.name = name;\n this.type = type;\n this.securityContext = securityContext;\n this.value = value;\n this.unit = unit;\n this.sourceSpan = sourceSpan;\n }\n BoundElementPropertyAst.prototype.visit = function(visitor, context) {\n return visitor.visitElementProperty(this, context);\n };\n return BoundElementPropertyAst;\n}());\nexports.BoundElementPropertyAst = BoundElementPropertyAst;\nvar BoundEventAst = (function() {\n function BoundEventAst(name, target, handler, sourceSpan) {\n this.name = name;\n this.target = target;\n this.handler = handler;\n this.sourceSpan = sourceSpan;\n }\n BoundEventAst.prototype.visit = function(visitor, context) {\n return visitor.visitEvent(this, context);\n };\n Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\n get: function() {\n if (lang_1.isPresent(this.target)) {\n return this.target + \":\" + this.name;\n } else {\n return this.name;\n }\n },\n enumerable: true,\n configurable: true\n });\n return BoundEventAst;\n}());\nexports.BoundEventAst = BoundEventAst;\nvar ReferenceAst = (function() {\n function ReferenceAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n ReferenceAst.prototype.visit = function(visitor, context) {\n return visitor.visitReference(this, context);\n };\n return ReferenceAst;\n}());\nexports.ReferenceAst = ReferenceAst;\nvar VariableAst = (function() {\n function VariableAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n VariableAst.prototype.visit = function(visitor, context) {\n return visitor.visitVariable(this, context);\n };\n return VariableAst;\n}());\nexports.VariableAst = VariableAst;\nvar ElementAst = (function() {\n function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.inputs = inputs;\n this.outputs = outputs;\n this.references = references;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n ElementAst.prototype.visit = function(visitor, context) {\n return visitor.visitElement(this, context);\n };\n return ElementAst;\n}());\nexports.ElementAst = ElementAst;\nvar EmbeddedTemplateAst = (function() {\n function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\n this.attrs = attrs;\n this.outputs = outputs;\n this.references = references;\n this.variables = variables;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n EmbeddedTemplateAst.prototype.visit = function(visitor, context) {\n return visitor.visitEmbeddedTemplate(this, context);\n };\n return EmbeddedTemplateAst;\n}());\nexports.EmbeddedTemplateAst = EmbeddedTemplateAst;\nvar BoundDirectivePropertyAst = (function() {\n function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\n this.directiveName = directiveName;\n this.templateName = templateName;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n BoundDirectivePropertyAst.prototype.visit = function(visitor, context) {\n return visitor.visitDirectiveProperty(this, context);\n };\n return BoundDirectivePropertyAst;\n}());\nexports.BoundDirectivePropertyAst = BoundDirectivePropertyAst;\nvar DirectiveAst = (function() {\n function DirectiveAst(directive, inputs, hostProperties, hostEvents, sourceSpan) {\n this.directive = directive;\n this.inputs = inputs;\n this.hostProperties = hostProperties;\n this.hostEvents = hostEvents;\n this.sourceSpan = sourceSpan;\n }\n DirectiveAst.prototype.visit = function(visitor, context) {\n return visitor.visitDirective(this, context);\n };\n return DirectiveAst;\n}());\nexports.DirectiveAst = DirectiveAst;\nvar ProviderAst = (function() {\n function ProviderAst(token, multiProvider, eager, providers, providerType, sourceSpan) {\n this.token = token;\n this.multiProvider = multiProvider;\n this.eager = eager;\n this.providers = providers;\n this.providerType = providerType;\n this.sourceSpan = sourceSpan;\n }\n ProviderAst.prototype.visit = function(visitor, context) {\n return null;\n };\n return ProviderAst;\n}());\nexports.ProviderAst = ProviderAst;\n(function(ProviderAstType) {\n ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n})(exports.ProviderAstType || (exports.ProviderAstType = {}));\nvar ProviderAstType = exports.ProviderAstType;\nvar NgContentAst = (function() {\n function NgContentAst(index, ngContentIndex, sourceSpan) {\n this.index = index;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n NgContentAst.prototype.visit = function(visitor, context) {\n return visitor.visitNgContent(this, context);\n };\n return NgContentAst;\n}());\nexports.NgContentAst = NgContentAst;\n(function(PropertyBindingType) {\n PropertyBindingType[PropertyBindingType[\"Property\"] = 0] = \"Property\";\n PropertyBindingType[PropertyBindingType[\"Attribute\"] = 1] = \"Attribute\";\n PropertyBindingType[PropertyBindingType[\"Class\"] = 2] = \"Class\";\n PropertyBindingType[PropertyBindingType[\"Style\"] = 3] = \"Style\";\n})(exports.PropertyBindingType || (exports.PropertyBindingType = {}));\nvar PropertyBindingType = exports.PropertyBindingType;\nfunction templateVisitAll(visitor, asts, context) {\n if (context === void 0) {\n context = null;\n }\n var result = [];\n asts.forEach(function(ast) {\n var astResult = ast.visit(visitor, context);\n if (lang_1.isPresent(astResult)) {\n result.push(astResult);\n }\n });\n return result;\n}\nexports.templateVisitAll = templateVisitAll;\n","/* */ \n(function(process) {\n \"use strict\";\n var collection_1 = require('./facade/collection');\n var lang_1 = require('./facade/lang');\n var exceptions_1 = require('./facade/exceptions');\n var _EMPTY_ATTR_VALUE = '';\n var _SELECTOR_REGEXP = lang_1.RegExpWrapper.create('(\\\\:not\\\\()|' + '([-\\\\w]+)|' + '(?:\\\\.([-\\\\w]+))|' + '(?:\\\\[([-\\\\w*]+)(?:=([^\\\\]]*))?\\\\])|' + '(\\\\))|' + '(\\\\s*,\\\\s*)');\n var CssSelector = (function() {\n function CssSelector() {\n this.element = null;\n this.classNames = [];\n this.attrs = [];\n this.notSelectors = [];\n }\n CssSelector.parse = function(selector) {\n var results = [];\n var _addResult = function(res, cssSel) {\n if (cssSel.notSelectors.length > 0 && lang_1.isBlank(cssSel.element) && collection_1.ListWrapper.isEmpty(cssSel.classNames) && collection_1.ListWrapper.isEmpty(cssSel.attrs)) {\n cssSel.element = \"*\";\n }\n res.push(cssSel);\n };\n var cssSelector = new CssSelector();\n var matcher = lang_1.RegExpWrapper.matcher(_SELECTOR_REGEXP, selector);\n var match;\n var current = cssSelector;\n var inNot = false;\n while (lang_1.isPresent(match = lang_1.RegExpMatcherWrapper.next(matcher))) {\n if (lang_1.isPresent(match[1])) {\n if (inNot) {\n throw new exceptions_1.BaseException('Nesting :not is not allowed in a selector');\n }\n inNot = true;\n current = new CssSelector();\n cssSelector.notSelectors.push(current);\n }\n if (lang_1.isPresent(match[2])) {\n current.setElement(match[2]);\n }\n if (lang_1.isPresent(match[3])) {\n current.addClassName(match[3]);\n }\n if (lang_1.isPresent(match[4])) {\n current.addAttribute(match[4], match[5]);\n }\n if (lang_1.isPresent(match[6])) {\n inNot = false;\n current = cssSelector;\n }\n if (lang_1.isPresent(match[7])) {\n if (inNot) {\n throw new exceptions_1.BaseException('Multiple selectors in :not are not supported');\n }\n _addResult(results, cssSelector);\n cssSelector = current = new CssSelector();\n }\n }\n _addResult(results, cssSelector);\n return results;\n };\n CssSelector.prototype.isElementSelector = function() {\n return lang_1.isPresent(this.element) && collection_1.ListWrapper.isEmpty(this.classNames) && collection_1.ListWrapper.isEmpty(this.attrs) && this.notSelectors.length === 0;\n };\n CssSelector.prototype.setElement = function(element) {\n if (element === void 0) {\n element = null;\n }\n this.element = element;\n };\n CssSelector.prototype.getMatchingElementTemplate = function() {\n var tagName = lang_1.isPresent(this.element) ? this.element : 'div';\n var classAttr = this.classNames.length > 0 ? \" class=\\\"\" + this.classNames.join(' ') + \"\\\"\" : '';\n var attrs = '';\n for (var i = 0; i < this.attrs.length; i += 2) {\n var attrName = this.attrs[i];\n var attrValue = this.attrs[i + 1] !== '' ? \"=\\\"\" + this.attrs[i + 1] + \"\\\"\" : '';\n attrs += \" \" + attrName + attrValue;\n }\n return \"<\" + tagName + classAttr + attrs + \"></\" + tagName + \">\";\n };\n CssSelector.prototype.addAttribute = function(name, value) {\n if (value === void 0) {\n value = _EMPTY_ATTR_VALUE;\n }\n this.attrs.push(name);\n if (lang_1.isPresent(value)) {\n value = value.toLowerCase();\n } else {\n value = _EMPTY_ATTR_VALUE;\n }\n this.attrs.push(value);\n };\n CssSelector.prototype.addClassName = function(name) {\n this.classNames.push(name.toLowerCase());\n };\n CssSelector.prototype.toString = function() {\n var res = '';\n if (lang_1.isPresent(this.element)) {\n res += this.element;\n }\n if (lang_1.isPresent(this.classNames)) {\n for (var i = 0; i < this.classNames.length; i++) {\n res += '.' + this.classNames[i];\n }\n }\n if (lang_1.isPresent(this.attrs)) {\n for (var i = 0; i < this.attrs.length; ) {\n var attrName = this.attrs[i++];\n var attrValue = this.attrs[i++];\n res += '[' + attrName;\n if (attrValue.length > 0) {\n res += '=' + attrValue;\n }\n res += ']';\n }\n }\n this.notSelectors.forEach(function(notSelector) {\n return res += \":not(\" + notSelector + \")\";\n });\n return res;\n };\n return CssSelector;\n }());\n exports.CssSelector = CssSelector;\n var SelectorMatcher = (function() {\n function SelectorMatcher() {\n this._elementMap = new collection_1.Map();\n this._elementPartialMap = new collection_1.Map();\n this._classMap = new collection_1.Map();\n this._classPartialMap = new collection_1.Map();\n this._attrValueMap = new collection_1.Map();\n this._attrValuePartialMap = new collection_1.Map();\n this._listContexts = [];\n }\n SelectorMatcher.createNotMatcher = function(notSelectors) {\n var notMatcher = new SelectorMatcher();\n notMatcher.addSelectables(notSelectors, null);\n return notMatcher;\n };\n SelectorMatcher.prototype.addSelectables = function(cssSelectors, callbackCtxt) {\n var listContext = null;\n if (cssSelectors.length > 1) {\n listContext = new SelectorListContext(cssSelectors);\n this._listContexts.push(listContext);\n }\n for (var i = 0; i < cssSelectors.length; i++) {\n this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\n }\n };\n SelectorMatcher.prototype._addSelectable = function(cssSelector, callbackCtxt, listContext) {\n var matcher = this;\n var element = cssSelector.element;\n var classNames = cssSelector.classNames;\n var attrs = cssSelector.attrs;\n var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\n if (lang_1.isPresent(element)) {\n var isTerminal = attrs.length === 0 && classNames.length === 0;\n if (isTerminal) {\n this._addTerminal(matcher._elementMap, element, selectable);\n } else {\n matcher = this._addPartial(matcher._elementPartialMap, element);\n }\n }\n if (lang_1.isPresent(classNames)) {\n for (var index = 0; index < classNames.length; index++) {\n var isTerminal = attrs.length === 0 && index === classNames.length - 1;\n var className = classNames[index];\n if (isTerminal) {\n this._addTerminal(matcher._classMap, className, selectable);\n } else {\n matcher = this._addPartial(matcher._classPartialMap, className);\n }\n }\n }\n if (lang_1.isPresent(attrs)) {\n for (var index = 0; index < attrs.length; ) {\n var isTerminal = index === attrs.length - 2;\n var attrName = attrs[index++];\n var attrValue = attrs[index++];\n if (isTerminal) {\n var terminalMap = matcher._attrValueMap;\n var terminalValuesMap = terminalMap.get(attrName);\n if (lang_1.isBlank(terminalValuesMap)) {\n terminalValuesMap = new collection_1.Map();\n terminalMap.set(attrName, terminalValuesMap);\n }\n this._addTerminal(terminalValuesMap, attrValue, selectable);\n } else {\n var parttialMap = matcher._attrValuePartialMap;\n var partialValuesMap = parttialMap.get(attrName);\n if (lang_1.isBlank(partialValuesMap)) {\n partialValuesMap = new collection_1.Map();\n parttialMap.set(attrName, partialValuesMap);\n }\n matcher = this._addPartial(partialValuesMap, attrValue);\n }\n }\n }\n };\n SelectorMatcher.prototype._addTerminal = function(map, name, selectable) {\n var terminalList = map.get(name);\n if (lang_1.isBlank(terminalList)) {\n terminalList = [];\n map.set(name, terminalList);\n }\n terminalList.push(selectable);\n };\n SelectorMatcher.prototype._addPartial = function(map, name) {\n var matcher = map.get(name);\n if (lang_1.isBlank(matcher)) {\n matcher = new SelectorMatcher();\n map.set(name, matcher);\n }\n return matcher;\n };\n SelectorMatcher.prototype.match = function(cssSelector, matchedCallback) {\n var result = false;\n var element = cssSelector.element;\n var classNames = cssSelector.classNames;\n var attrs = cssSelector.attrs;\n for (var i = 0; i < this._listContexts.length; i++) {\n this._listContexts[i].alreadyMatched = false;\n }\n result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\n result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) || result;\n if (lang_1.isPresent(classNames)) {\n for (var index = 0; index < classNames.length; index++) {\n var className = classNames[index];\n result = this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\n result = this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) || result;\n }\n }\n if (lang_1.isPresent(attrs)) {\n for (var index = 0; index < attrs.length; ) {\n var attrName = attrs[index++];\n var attrValue = attrs[index++];\n var terminalValuesMap = this._attrValueMap.get(attrName);\n if (!lang_1.StringWrapper.equals(attrValue, _EMPTY_ATTR_VALUE)) {\n result = this._matchTerminal(terminalValuesMap, _EMPTY_ATTR_VALUE, cssSelector, matchedCallback) || result;\n }\n result = this._matchTerminal(terminalValuesMap, attrValue, cssSelector, matchedCallback) || result;\n var partialValuesMap = this._attrValuePartialMap.get(attrName);\n if (!lang_1.StringWrapper.equals(attrValue, _EMPTY_ATTR_VALUE)) {\n result = this._matchPartial(partialValuesMap, _EMPTY_ATTR_VALUE, cssSelector, matchedCallback) || result;\n }\n result = this._matchPartial(partialValuesMap, attrValue, cssSelector, matchedCallback) || result;\n }\n }\n return result;\n };\n SelectorMatcher.prototype._matchTerminal = function(map, name, cssSelector, matchedCallback) {\n if (lang_1.isBlank(map) || lang_1.isBlank(name)) {\n return false;\n }\n var selectables = map.get(name);\n var starSelectables = map.get(\"*\");\n if (lang_1.isPresent(starSelectables)) {\n selectables = selectables.concat(starSelectables);\n }\n if (lang_1.isBlank(selectables)) {\n return false;\n }\n var selectable;\n var result = false;\n for (var index = 0; index < selectables.length; index++) {\n selectable = selectables[index];\n result = selectable.finalize(cssSelector, matchedCallback) || result;\n }\n return result;\n };\n SelectorMatcher.prototype._matchPartial = function(map, name, cssSelector, matchedCallback) {\n if (lang_1.isBlank(map) || lang_1.isBlank(name)) {\n return false;\n }\n var nestedSelector = map.get(name);\n if (lang_1.isBlank(nestedSelector)) {\n return false;\n }\n return nestedSelector.match(cssSelector, matchedCallback);\n };\n return SelectorMatcher;\n }());\n exports.SelectorMatcher = SelectorMatcher;\n var SelectorListContext = (function() {\n function SelectorListContext(selectors) {\n this.selectors = selectors;\n this.alreadyMatched = false;\n }\n return SelectorListContext;\n }());\n exports.SelectorListContext = SelectorListContext;\n var SelectorContext = (function() {\n function SelectorContext(selector, cbContext, listContext) {\n this.selector = selector;\n this.cbContext = cbContext;\n this.listContext = listContext;\n this.notSelectors = selector.notSelectors;\n }\n SelectorContext.prototype.finalize = function(cssSelector, callback) {\n var result = true;\n if (this.notSelectors.length > 0 && (lang_1.isBlank(this.listContext) || !this.listContext.alreadyMatched)) {\n var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\n result = !notMatcher.match(cssSelector, null);\n }\n if (result && lang_1.isPresent(callback) && (lang_1.isBlank(this.listContext) || !this.listContext.alreadyMatched)) {\n if (lang_1.isPresent(this.listContext)) {\n this.listContext.alreadyMatched = true;\n }\n callback(this.selector, this.cbContext);\n }\n return result;\n };\n return SelectorContext;\n }());\n exports.SelectorContext = SelectorContext;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n* A base class for the WrappedException that can be used to identify\n* a WrappedException from ExceptionHandler without adding circular\n* dependency.\n*/\nvar BaseWrappedException = (function (_super) {\n __extends(BaseWrappedException, _super);\n function BaseWrappedException(message) {\n _super.call(this, message);\n }\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n return BaseWrappedException;\n}(Error));\nexports.BaseWrappedException = BaseWrappedException;\n//# sourceMappingURL=base_wrapped_exception.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Map = lang_1.global.Map;\nexports.Set = lang_1.global.Set;\nvar createMapFromPairs = (function() {\n try {\n if (new exports.Map([[1, 2]]).size === 1) {\n return function createMapFromPairs(pairs) {\n return new exports.Map(pairs);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromPairs(pairs) {\n var map = new exports.Map();\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n map.set(pair[0], pair[1]);\n }\n return map;\n };\n})();\nvar createMapFromMap = (function() {\n try {\n if (new exports.Map(new exports.Map())) {\n return function createMapFromMap(m) {\n return new exports.Map(m);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromMap(m) {\n var map = new exports.Map();\n m.forEach(function(v, k) {\n map.set(k, v);\n });\n return map;\n };\n})();\nvar _clearValues = (function() {\n if ((new exports.Map()).keys().next) {\n return function _clearValues(m) {\n var keyIterator = m.keys();\n var k;\n while (!((k = keyIterator.next()).done)) {\n m.set(k.value, null);\n }\n };\n } else {\n return function _clearValuesWithForeEach(m) {\n m.forEach(function(v, k) {\n m.set(k, null);\n });\n };\n }\n})();\nvar _arrayFromMap = (function() {\n try {\n if ((new exports.Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n } catch (e) {}\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = ListWrapper.createFixedSize(m.size),\n i = 0;\n m.forEach(function(v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function() {\n function MapWrapper() {}\n MapWrapper.clone = function(m) {\n return createMapFromMap(m);\n };\n MapWrapper.createFromStringMap = function(stringMap) {\n var result = new exports.Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.toStringMap = function(m) {\n var r = {};\n m.forEach(function(v, k) {\n return r[k] = v;\n });\n return r;\n };\n MapWrapper.createFromPairs = function(pairs) {\n return createMapFromPairs(pairs);\n };\n MapWrapper.clearValues = function(m) {\n _clearValues(m);\n };\n MapWrapper.iterable = function(m) {\n return m;\n };\n MapWrapper.keys = function(m) {\n return _arrayFromMap(m, false);\n };\n MapWrapper.values = function(m) {\n return _arrayFromMap(m, true);\n };\n return MapWrapper;\n}());\nexports.MapWrapper = MapWrapper;\nvar StringMapWrapper = (function() {\n function StringMapWrapper() {}\n StringMapWrapper.create = function() {\n return {};\n };\n StringMapWrapper.contains = function(map, key) {\n return map.hasOwnProperty(key);\n };\n StringMapWrapper.get = function(map, key) {\n return map.hasOwnProperty(key) ? map[key] : undefined;\n };\n StringMapWrapper.set = function(map, key, value) {\n map[key] = value;\n };\n StringMapWrapper.keys = function(map) {\n return Object.keys(map);\n };\n StringMapWrapper.values = function(map) {\n return Object.keys(map).reduce(function(r, a) {\n r.push(map[a]);\n return r;\n }, []);\n };\n StringMapWrapper.isEmpty = function(map) {\n for (var prop in map) {\n return false;\n }\n return true;\n };\n StringMapWrapper.delete = function(map, key) {\n delete map[key];\n };\n StringMapWrapper.forEach = function(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n };\n StringMapWrapper.merge = function(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n };\n StringMapWrapper.equals = function(m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nexports.StringMapWrapper = StringMapWrapper;\nvar ListWrapper = (function() {\n function ListWrapper() {}\n ListWrapper.createFixedSize = function(size) {\n return new Array(size);\n };\n ListWrapper.createGrowableSize = function(size) {\n return new Array(size);\n };\n ListWrapper.clone = function(array) {\n return array.slice(0);\n };\n ListWrapper.forEachWithIndex = function(array, fn) {\n for (var i = 0; i < array.length; i++) {\n fn(array[i], i);\n }\n };\n ListWrapper.first = function(array) {\n if (!array)\n return null;\n return array[0];\n };\n ListWrapper.last = function(array) {\n if (!array || array.length == 0)\n return null;\n return array[array.length - 1];\n };\n ListWrapper.indexOf = function(array, value, startIndex) {\n if (startIndex === void 0) {\n startIndex = 0;\n }\n return array.indexOf(value, startIndex);\n };\n ListWrapper.contains = function(list, el) {\n return list.indexOf(el) !== -1;\n };\n ListWrapper.reversed = function(array) {\n var a = ListWrapper.clone(array);\n return a.reverse();\n };\n ListWrapper.concat = function(a, b) {\n return a.concat(b);\n };\n ListWrapper.insert = function(list, index, value) {\n list.splice(index, 0, value);\n };\n ListWrapper.removeAt = function(list, index) {\n var res = list[index];\n list.splice(index, 1);\n return res;\n };\n ListWrapper.removeAll = function(list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.clear = function(list) {\n list.length = 0;\n };\n ListWrapper.isEmpty = function(list) {\n return list.length == 0;\n };\n ListWrapper.fill = function(list, value, start, end) {\n if (start === void 0) {\n start = 0;\n }\n if (end === void 0) {\n end = null;\n }\n list.fill(value, start, end === null ? list.length : end);\n };\n ListWrapper.equals = function(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.slice = function(l, from, to) {\n if (from === void 0) {\n from = 0;\n }\n if (to === void 0) {\n to = null;\n }\n return l.slice(from, to === null ? undefined : to);\n };\n ListWrapper.splice = function(l, from, length) {\n return l.splice(from, length);\n };\n ListWrapper.sort = function(l, compareFn) {\n if (lang_1.isPresent(compareFn)) {\n l.sort(compareFn);\n } else {\n l.sort();\n }\n };\n ListWrapper.toString = function(l) {\n return l.toString();\n };\n ListWrapper.toJSON = function(l) {\n return JSON.stringify(l);\n };\n ListWrapper.maximum = function(list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (lang_1.isBlank(candidate)) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function(list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n ListWrapper.addAll = function(list, source) {\n for (var i = 0; i < source.length; i++) {\n list.push(source[i]);\n }\n };\n return ListWrapper;\n}());\nexports.ListWrapper = ListWrapper;\nfunction _flattenArray(source, target) {\n if (lang_1.isPresent(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (lang_1.isArray(item)) {\n _flattenArray(item, target);\n } else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!lang_1.isJsObject(obj))\n return false;\n return lang_1.isArray(obj) || (!(obj instanceof exports.Map) && lang_1.getSymbolIterator() in obj);\n}\nexports.isListLikeIterable = isListLikeIterable;\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[lang_1.getSymbolIterator()]();\n var iterator2 = b[lang_1.getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nexports.areIterablesEqual = areIterablesEqual;\nfunction iterateListLike(obj, fn) {\n if (lang_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n } else {\n var iterator = obj[lang_1.getSymbolIterator()]();\n var item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nexports.iterateListLike = iterateListLike;\nvar createSetFromList = (function() {\n var test = new exports.Set([1, 2, 3]);\n if (test.size === 3) {\n return function createSetFromList(lst) {\n return new exports.Set(lst);\n };\n } else {\n return function createSetAndPopulateFromList(lst) {\n var res = new exports.Set(lst);\n if (res.size !== lst.length) {\n for (var i = 0; i < lst.length; i++) {\n res.add(lst[i]);\n }\n }\n return res;\n };\n }\n})();\nvar SetWrapper = (function() {\n function SetWrapper() {}\n SetWrapper.createFromList = function(lst) {\n return createSetFromList(lst);\n };\n SetWrapper.has = function(s, key) {\n return s.has(key);\n };\n SetWrapper.delete = function(m, k) {\n m.delete(k);\n };\n return SetWrapper;\n}());\nexports.SetWrapper = SetWrapper;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar collection_1 = require('./collection');\nvar _ArrayLogger = (function() {\n function _ArrayLogger() {\n this.res = [];\n }\n _ArrayLogger.prototype.log = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logError = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroup = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroupEnd = function() {};\n ;\n return _ArrayLogger;\n}());\nvar ExceptionHandler = (function() {\n function ExceptionHandler(_logger, _rethrowException) {\n if (_rethrowException === void 0) {\n _rethrowException = true;\n }\n this._logger = _logger;\n this._rethrowException = _rethrowException;\n }\n ExceptionHandler.exceptionToString = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var l = new _ArrayLogger();\n var e = new ExceptionHandler(l, false);\n e.call(exception, stackTrace, reason);\n return l.res.join(\"\\n\");\n };\n ExceptionHandler.prototype.call = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var originalException = this._findOriginalException(exception);\n var originalStack = this._findOriginalStack(exception);\n var context = this._findContext(exception);\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\n this._logger.logError(\"STACKTRACE:\");\n this._logger.logError(this._longStackTrace(stackTrace));\n }\n if (lang_1.isPresent(reason)) {\n this._logger.logError(\"REASON: \" + reason);\n }\n if (lang_1.isPresent(originalException)) {\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\n }\n if (lang_1.isPresent(originalStack)) {\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\n this._logger.logError(this._longStackTrace(originalStack));\n }\n if (lang_1.isPresent(context)) {\n this._logger.logError(\"ERROR CONTEXT:\");\n this._logger.logError(context);\n }\n this._logger.logGroupEnd();\n if (this._rethrowException)\n throw exception;\n };\n ExceptionHandler.prototype._extractMessage = function(exception) {\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage : exception.toString();\n };\n ExceptionHandler.prototype._longStackTrace = function(stackTrace) {\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") : stackTrace.toString();\n };\n ExceptionHandler.prototype._findContext = function(exception) {\n try {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n return lang_1.isPresent(exception.context) ? exception.context : this._findContext(exception.originalException);\n } catch (e) {\n return null;\n }\n };\n ExceptionHandler.prototype._findOriginalException = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception.originalException;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n }\n return e;\n };\n ExceptionHandler.prototype._findOriginalStack = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception;\n var stack = exception.originalStack;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n stack = e.originalStack;\n }\n }\n return stack;\n };\n return ExceptionHandler;\n}());\nexports.ExceptionHandler = ExceptionHandler;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar exception_handler_1 = require('./exception_handler');\nvar exception_handler_2 = require('./exception_handler');\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\nvar BaseException = (function(_super) {\n __extends(BaseException, _super);\n function BaseException(message) {\n if (message === void 0) {\n message = \"--\";\n }\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n BaseException.prototype.toString = function() {\n return this.message;\n };\n return BaseException;\n}(Error));\nexports.BaseException = BaseException;\nvar WrappedException = (function(_super) {\n __extends(WrappedException, _super);\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\n _super.call(this, _wrapperMessage);\n this._wrapperMessage = _wrapperMessage;\n this._originalException = _originalException;\n this._originalStack = _originalStack;\n this._context = _context;\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\n }\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\n get: function() {\n return this._wrapperMessage;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\n get: function() {\n return this._wrapperStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\n get: function() {\n return this._originalException;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\n get: function() {\n return this._originalStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"context\", {\n get: function() {\n return this._context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"message\", {\n get: function() {\n return exception_handler_1.ExceptionHandler.exceptionToString(this);\n },\n enumerable: true,\n configurable: true\n });\n WrappedException.prototype.toString = function() {\n return this.message;\n };\n return WrappedException;\n}(base_wrapped_exception_1.BaseWrappedException));\nexports.WrappedException = WrappedException;\nfunction makeTypeError(message) {\n return new TypeError(message);\n}\nexports.makeTypeError = makeTypeError;\nfunction unimplemented() {\n throw new BaseException('unimplemented');\n}\nexports.unimplemented = unimplemented;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\nexports.scheduleMicroTask = scheduleMicroTask;\nexports.IS_DART = false;\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\nexports.global = _global;\nexports.Type = Function;\nfunction getTypeNameForDebugging(type) {\n if (type['name']) {\n return type['name'];\n }\n return typeof type;\n}\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\nexports.Math = _global.Math;\nexports.Date = _global.Date;\nvar _devMode = true;\nvar _modeLocked = false;\nfunction lockMode() {\n _modeLocked = true;\n}\nexports.lockMode = lockMode;\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n */\nfunction enableProdMode() {\n if (_modeLocked) {\n // Cannot use BaseException as that ends up importing from facade/lang.\n throw 'Cannot enable prod mode after platform setup.';\n }\n _devMode = false;\n}\nexports.enableProdMode = enableProdMode;\nfunction assertionsEnabled() {\n return _devMode;\n}\nexports.assertionsEnabled = assertionsEnabled;\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj !== undefined && obj !== null;\n}\nexports.isPresent = isPresent;\nfunction isBlank(obj) {\n return obj === undefined || obj === null;\n}\nexports.isBlank = isBlank;\nfunction isBoolean(obj) {\n return typeof obj === \"boolean\";\n}\nexports.isBoolean = isBoolean;\nfunction isNumber(obj) {\n return typeof obj === \"number\";\n}\nexports.isNumber = isNumber;\nfunction isString(obj) {\n return typeof obj === \"string\";\n}\nexports.isString = isString;\nfunction isFunction(obj) {\n return typeof obj === \"function\";\n}\nexports.isFunction = isFunction;\nfunction isType(obj) {\n return isFunction(obj);\n}\nexports.isType = isType;\nfunction isStringMap(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nexports.isStringMap = isStringMap;\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nexports.isStrictStringMap = isStrictStringMap;\nfunction isPromise(obj) {\n return obj instanceof _global.Promise;\n}\nexports.isPromise = isPromise;\nfunction isArray(obj) {\n return Array.isArray(obj);\n}\nexports.isArray = isArray;\nfunction isDate(obj) {\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\n}\nexports.isDate = isDate;\nfunction noop() { }\nexports.noop = noop;\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.name) {\n return token.name;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf(\"\\n\");\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\n}\nexports.stringify = stringify;\n// serialize / deserialize enum exist only for consistency with dart API\n// enums in typescript don't need to be serialized\nfunction serializeEnum(val) {\n return val;\n}\nexports.serializeEnum = serializeEnum;\nfunction deserializeEnum(val, values) {\n return val;\n}\nexports.deserializeEnum = deserializeEnum;\nfunction resolveEnumToken(enumValue, val) {\n return enumValue[val];\n}\nexports.resolveEnumToken = resolveEnumToken;\nvar StringWrapper = (function () {\n function StringWrapper() {\n }\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\n StringWrapper.equals = function (s, s2) { return s === s2; };\n StringWrapper.stripLeft = function (s, charVal) {\n if (s && s.length) {\n var pos = 0;\n for (var i = 0; i < s.length; i++) {\n if (s[i] != charVal)\n break;\n pos++;\n }\n s = s.substring(pos);\n }\n return s;\n };\n StringWrapper.stripRight = function (s, charVal) {\n if (s && s.length) {\n var pos = s.length;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] != charVal)\n break;\n pos--;\n }\n s = s.substring(0, pos);\n }\n return s;\n };\n StringWrapper.replace = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.replaceAll = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.slice = function (s, from, to) {\n if (from === void 0) { from = 0; }\n if (to === void 0) { to = null; }\n return s.slice(from, to === null ? undefined : to);\n };\n StringWrapper.replaceAllMapped = function (s, from, cb) {\n return s.replace(from, function () {\n var matches = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n matches[_i - 0] = arguments[_i];\n }\n // Remove offset & string from the result array\n matches.splice(-2, 2);\n // The callback receives match, p1, ..., pn\n return cb(matches);\n });\n };\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\n StringWrapper.compare = function (a, b) {\n if (a < b) {\n return -1;\n }\n else if (a > b) {\n return 1;\n }\n else {\n return 0;\n }\n };\n return StringWrapper;\n}());\nexports.StringWrapper = StringWrapper;\nvar StringJoiner = (function () {\n function StringJoiner(parts) {\n if (parts === void 0) { parts = []; }\n this.parts = parts;\n }\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\n return StringJoiner;\n}());\nexports.StringJoiner = StringJoiner;\nvar NumberParseError = (function (_super) {\n __extends(NumberParseError, _super);\n function NumberParseError(message) {\n _super.call(this);\n this.message = message;\n }\n NumberParseError.prototype.toString = function () { return this.message; };\n return NumberParseError;\n}(Error));\nexports.NumberParseError = NumberParseError;\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\n NumberWrapper.equal = function (a, b) { return a === b; };\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\n radix);\n };\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\n Object.defineProperty(NumberWrapper, \"NaN\", {\n get: function () { return NaN; },\n enumerable: true,\n configurable: true\n });\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\n return NumberWrapper;\n}());\nexports.NumberWrapper = NumberWrapper;\nexports.RegExp = _global.RegExp;\nvar RegExpWrapper = (function () {\n function RegExpWrapper() {\n }\n RegExpWrapper.create = function (regExpStr, flags) {\n if (flags === void 0) { flags = ''; }\n flags = flags.replace(/g/g, '');\n return new _global.RegExp(regExpStr, flags + 'g');\n };\n RegExpWrapper.firstMatch = function (regExp, input) {\n // Reset multimatch regex state\n regExp.lastIndex = 0;\n return regExp.exec(input);\n };\n RegExpWrapper.test = function (regExp, input) {\n regExp.lastIndex = 0;\n return regExp.test(input);\n };\n RegExpWrapper.matcher = function (regExp, input) {\n // Reset regex state for the case\n // someone did not loop over all matches\n // last time.\n regExp.lastIndex = 0;\n return { re: regExp, input: input };\n };\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\n var c = regExp.exec(input);\n var res = '';\n regExp.lastIndex = 0;\n var prev = 0;\n while (c) {\n res += input.substring(prev, c.index);\n res += replace(c);\n prev = c.index + c[0].length;\n regExp.lastIndex = prev;\n c = regExp.exec(input);\n }\n res += input.substring(prev);\n return res;\n };\n return RegExpWrapper;\n}());\nexports.RegExpWrapper = RegExpWrapper;\nvar RegExpMatcherWrapper = (function () {\n function RegExpMatcherWrapper() {\n }\n RegExpMatcherWrapper.next = function (matcher) {\n return matcher.re.exec(matcher.input);\n };\n return RegExpMatcherWrapper;\n}());\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\nvar FunctionWrapper = (function () {\n function FunctionWrapper() {\n }\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\n return FunctionWrapper;\n}());\nexports.FunctionWrapper = FunctionWrapper;\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\nexports.looseIdentical = looseIdentical;\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\nfunction getMapKey(value) {\n return value;\n}\nexports.getMapKey = getMapKey;\nfunction normalizeBlank(obj) {\n return isBlank(obj) ? null : obj;\n}\nexports.normalizeBlank = normalizeBlank;\nfunction normalizeBool(obj) {\n return isBlank(obj) ? false : obj;\n}\nexports.normalizeBool = normalizeBool;\nfunction isJsObject(o) {\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\n}\nexports.isJsObject = isJsObject;\nfunction print(obj) {\n console.log(obj);\n}\nexports.print = print;\nfunction warn(obj) {\n console.warn(obj);\n}\nexports.warn = warn;\n// Can't be all uppercase as our transpiler would think it is a special directive...\nvar Json = (function () {\n function Json() {\n }\n Json.parse = function (s) { return _global.JSON.parse(s); };\n Json.stringify = function (data) {\n // Dart doesn't take 3 arguments\n return _global.JSON.stringify(data, null, 2);\n };\n return Json;\n}());\nexports.Json = Json;\nvar DateWrapper = (function () {\n function DateWrapper() {\n }\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\n if (month === void 0) { month = 1; }\n if (day === void 0) { day = 1; }\n if (hour === void 0) { hour = 0; }\n if (minutes === void 0) { minutes = 0; }\n if (seconds === void 0) { seconds = 0; }\n if (milliseconds === void 0) { milliseconds = 0; }\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\n };\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\n DateWrapper.toMillis = function (date) { return date.getTime(); };\n DateWrapper.now = function () { return new exports.Date(); };\n DateWrapper.toJson = function (date) { return date.toJSON(); };\n return DateWrapper;\n}());\nexports.DateWrapper = DateWrapper;\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nexports.setValueOnPath = setValueOnPath;\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (isBlank(_symbolIterator)) {\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nexports.getSymbolIterator = getSymbolIterator;\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n}\nexports.evalExpression = evalExpression;\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nexports.isPrimitive = isPrimitive;\nfunction hasConstructor(value, type) {\n return value.constructor === type;\n}\nexports.hasConstructor = hasConstructor;\nfunction bitWiseOr(values) {\n return values.reduce(function (a, b) { return a | b; });\n}\nexports.bitWiseOr = bitWiseOr;\nfunction bitWiseAnd(values) {\n return values.reduce(function (a, b) { return a & b; });\n}\nexports.bitWiseAnd = bitWiseAnd;\nfunction escape(s) {\n return _global.encodeURI(s);\n}\nexports.escape = escape;\n//# sourceMappingURL=lang.js.map","/* */ \n\"use strict\";\nvar exceptions_1 = require('../facade/exceptions');\nvar lang_1 = require('../facade/lang');\nvar _ASSET_URL_RE = /asset:([^\\/]+)\\/([^\\/]+)\\/(.+)/g;\nvar ImportGenerator = (function() {\n function ImportGenerator() {}\n ImportGenerator.parseAssetUrl = function(url) {\n return AssetUrl.parse(url);\n };\n return ImportGenerator;\n}());\nexports.ImportGenerator = ImportGenerator;\nvar AssetUrl = (function() {\n function AssetUrl(packageName, firstLevelDir, modulePath) {\n this.packageName = packageName;\n this.firstLevelDir = firstLevelDir;\n this.modulePath = modulePath;\n }\n AssetUrl.parse = function(url, allowNonMatching) {\n if (allowNonMatching === void 0) {\n allowNonMatching = true;\n }\n var match = lang_1.RegExpWrapper.firstMatch(_ASSET_URL_RE, url);\n if (lang_1.isPresent(match)) {\n return new AssetUrl(match[1], match[2], match[3]);\n }\n if (allowNonMatching) {\n return null;\n }\n throw new exceptions_1.BaseException(\"Url \" + url + \" is not a valid asset: url\");\n };\n return AssetUrl;\n}());\nexports.AssetUrl = AssetUrl;\n","/* */ \n\"use strict\";\nvar selector = require('./src/selector');\nvar pathUtil = require('./src/output/path_util');\nvar __compiler_private__;\n(function(__compiler_private__) {\n __compiler_private__.SelectorMatcher = selector.SelectorMatcher;\n __compiler_private__.CssSelector = selector.CssSelector;\n __compiler_private__.AssetUrl = pathUtil.AssetUrl;\n __compiler_private__.ImportGenerator = pathUtil.ImportGenerator;\n})(__compiler_private__ = exports.__compiler_private__ || (exports.__compiler_private__ = {}));\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\nvar element_schema_registry_1 = require('./src/schema/element_schema_registry');\nexports.ElementSchemaRegistry = element_schema_registry_1.ElementSchemaRegistry;\nvar compiler_1 = require('./src/compiler');\nexports.COMPILER_PROVIDERS = compiler_1.COMPILER_PROVIDERS;\nexports.TEMPLATE_TRANSFORMS = compiler_1.TEMPLATE_TRANSFORMS;\nexports.CompilerConfig = compiler_1.CompilerConfig;\nexports.RenderTypes = compiler_1.RenderTypes;\nexports.UrlResolver = compiler_1.UrlResolver;\nexports.DEFAULT_PACKAGE_URL_PROVIDER = compiler_1.DEFAULT_PACKAGE_URL_PROVIDER;\nexports.createOfflineCompileUrlResolver = compiler_1.createOfflineCompileUrlResolver;\nexports.XHR = compiler_1.XHR;\nexports.ViewResolver = compiler_1.ViewResolver;\nexports.DirectiveResolver = compiler_1.DirectiveResolver;\nexports.PipeResolver = compiler_1.PipeResolver;\nexports.SourceModule = compiler_1.SourceModule;\nexports.NormalizedComponentWithViewDirectives = compiler_1.NormalizedComponentWithViewDirectives;\nexports.OfflineCompiler = compiler_1.OfflineCompiler;\nexports.CompileMetadataWithIdentifier = compiler_1.CompileMetadataWithIdentifier;\nexports.CompileMetadataWithType = compiler_1.CompileMetadataWithType;\nexports.CompileIdentifierMetadata = compiler_1.CompileIdentifierMetadata;\nexports.CompileDiDependencyMetadata = compiler_1.CompileDiDependencyMetadata;\nexports.CompileProviderMetadata = compiler_1.CompileProviderMetadata;\nexports.CompileFactoryMetadata = compiler_1.CompileFactoryMetadata;\nexports.CompileTokenMetadata = compiler_1.CompileTokenMetadata;\nexports.CompileTypeMetadata = compiler_1.CompileTypeMetadata;\nexports.CompileQueryMetadata = compiler_1.CompileQueryMetadata;\nexports.CompileTemplateMetadata = compiler_1.CompileTemplateMetadata;\nexports.CompileDirectiveMetadata = compiler_1.CompileDirectiveMetadata;\nexports.CompilePipeMetadata = compiler_1.CompilePipeMetadata;\n__export(require('./src/template_ast'));\n__export(require('./private_export'));\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./compiler'));\n","module.exports = require(\"npm:@angular/compiler@2.0.0-rc.1/index.js\");","/* */ \n\"use strict\";\nvar PromiseCompleter = (function () {\n function PromiseCompleter() {\n var _this = this;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n return PromiseCompleter;\n}());\nexports.PromiseCompleter = PromiseCompleter;\nvar PromiseWrapper = (function () {\n function PromiseWrapper() {\n }\n PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj); };\n PromiseWrapper.reject = function (obj, _) { return Promise.reject(obj); };\n // Note: We can't rename this method into `catch`, as this is not a valid\n // method name in Dart.\n PromiseWrapper.catchError = function (promise, onError) {\n return promise.catch(onError);\n };\n PromiseWrapper.all = function (promises) {\n if (promises.length == 0)\n return Promise.resolve([]);\n return Promise.all(promises);\n };\n PromiseWrapper.then = function (promise, success, rejection) {\n return promise.then(success, rejection);\n };\n PromiseWrapper.wrap = function (computation) {\n return new Promise(function (res, rej) {\n try {\n res(computation());\n }\n catch (e) {\n rej(e);\n }\n });\n };\n PromiseWrapper.scheduleMicrotask = function (computation) {\n PromiseWrapper.then(PromiseWrapper.resolve(null), computation, function (_) { });\n };\n PromiseWrapper.isPromise = function (obj) { return obj instanceof Promise; };\n PromiseWrapper.completer = function () { return new PromiseCompleter(); };\n return PromiseWrapper;\n}());\nexports.PromiseWrapper = PromiseWrapper;\n//# sourceMappingURL=promise.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\nexports.scheduleMicroTask = scheduleMicroTask;\nexports.IS_DART = false;\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\nexports.global = _global;\nexports.Type = Function;\nfunction getTypeNameForDebugging(type) {\n if (type['name']) {\n return type['name'];\n }\n return typeof type;\n}\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\nexports.Math = _global.Math;\nexports.Date = _global.Date;\nvar _devMode = true;\nvar _modeLocked = false;\nfunction lockMode() {\n _modeLocked = true;\n}\nexports.lockMode = lockMode;\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n */\nfunction enableProdMode() {\n if (_modeLocked) {\n // Cannot use BaseException as that ends up importing from facade/lang.\n throw 'Cannot enable prod mode after platform setup.';\n }\n _devMode = false;\n}\nexports.enableProdMode = enableProdMode;\nfunction assertionsEnabled() {\n return _devMode;\n}\nexports.assertionsEnabled = assertionsEnabled;\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj !== undefined && obj !== null;\n}\nexports.isPresent = isPresent;\nfunction isBlank(obj) {\n return obj === undefined || obj === null;\n}\nexports.isBlank = isBlank;\nfunction isBoolean(obj) {\n return typeof obj === \"boolean\";\n}\nexports.isBoolean = isBoolean;\nfunction isNumber(obj) {\n return typeof obj === \"number\";\n}\nexports.isNumber = isNumber;\nfunction isString(obj) {\n return typeof obj === \"string\";\n}\nexports.isString = isString;\nfunction isFunction(obj) {\n return typeof obj === \"function\";\n}\nexports.isFunction = isFunction;\nfunction isType(obj) {\n return isFunction(obj);\n}\nexports.isType = isType;\nfunction isStringMap(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nexports.isStringMap = isStringMap;\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nexports.isStrictStringMap = isStrictStringMap;\nfunction isPromise(obj) {\n return obj instanceof _global.Promise;\n}\nexports.isPromise = isPromise;\nfunction isArray(obj) {\n return Array.isArray(obj);\n}\nexports.isArray = isArray;\nfunction isDate(obj) {\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\n}\nexports.isDate = isDate;\nfunction noop() { }\nexports.noop = noop;\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.name) {\n return token.name;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf(\"\\n\");\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\n}\nexports.stringify = stringify;\n// serialize / deserialize enum exist only for consistency with dart API\n// enums in typescript don't need to be serialized\nfunction serializeEnum(val) {\n return val;\n}\nexports.serializeEnum = serializeEnum;\nfunction deserializeEnum(val, values) {\n return val;\n}\nexports.deserializeEnum = deserializeEnum;\nfunction resolveEnumToken(enumValue, val) {\n return enumValue[val];\n}\nexports.resolveEnumToken = resolveEnumToken;\nvar StringWrapper = (function () {\n function StringWrapper() {\n }\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\n StringWrapper.equals = function (s, s2) { return s === s2; };\n StringWrapper.stripLeft = function (s, charVal) {\n if (s && s.length) {\n var pos = 0;\n for (var i = 0; i < s.length; i++) {\n if (s[i] != charVal)\n break;\n pos++;\n }\n s = s.substring(pos);\n }\n return s;\n };\n StringWrapper.stripRight = function (s, charVal) {\n if (s && s.length) {\n var pos = s.length;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] != charVal)\n break;\n pos--;\n }\n s = s.substring(0, pos);\n }\n return s;\n };\n StringWrapper.replace = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.replaceAll = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.slice = function (s, from, to) {\n if (from === void 0) { from = 0; }\n if (to === void 0) { to = null; }\n return s.slice(from, to === null ? undefined : to);\n };\n StringWrapper.replaceAllMapped = function (s, from, cb) {\n return s.replace(from, function () {\n var matches = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n matches[_i - 0] = arguments[_i];\n }\n // Remove offset & string from the result array\n matches.splice(-2, 2);\n // The callback receives match, p1, ..., pn\n return cb(matches);\n });\n };\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\n StringWrapper.compare = function (a, b) {\n if (a < b) {\n return -1;\n }\n else if (a > b) {\n return 1;\n }\n else {\n return 0;\n }\n };\n return StringWrapper;\n}());\nexports.StringWrapper = StringWrapper;\nvar StringJoiner = (function () {\n function StringJoiner(parts) {\n if (parts === void 0) { parts = []; }\n this.parts = parts;\n }\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\n return StringJoiner;\n}());\nexports.StringJoiner = StringJoiner;\nvar NumberParseError = (function (_super) {\n __extends(NumberParseError, _super);\n function NumberParseError(message) {\n _super.call(this);\n this.message = message;\n }\n NumberParseError.prototype.toString = function () { return this.message; };\n return NumberParseError;\n}(Error));\nexports.NumberParseError = NumberParseError;\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\n NumberWrapper.equal = function (a, b) { return a === b; };\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\n radix);\n };\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\n Object.defineProperty(NumberWrapper, \"NaN\", {\n get: function () { return NaN; },\n enumerable: true,\n configurable: true\n });\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\n return NumberWrapper;\n}());\nexports.NumberWrapper = NumberWrapper;\nexports.RegExp = _global.RegExp;\nvar RegExpWrapper = (function () {\n function RegExpWrapper() {\n }\n RegExpWrapper.create = function (regExpStr, flags) {\n if (flags === void 0) { flags = ''; }\n flags = flags.replace(/g/g, '');\n return new _global.RegExp(regExpStr, flags + 'g');\n };\n RegExpWrapper.firstMatch = function (regExp, input) {\n // Reset multimatch regex state\n regExp.lastIndex = 0;\n return regExp.exec(input);\n };\n RegExpWrapper.test = function (regExp, input) {\n regExp.lastIndex = 0;\n return regExp.test(input);\n };\n RegExpWrapper.matcher = function (regExp, input) {\n // Reset regex state for the case\n // someone did not loop over all matches\n // last time.\n regExp.lastIndex = 0;\n return { re: regExp, input: input };\n };\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\n var c = regExp.exec(input);\n var res = '';\n regExp.lastIndex = 0;\n var prev = 0;\n while (c) {\n res += input.substring(prev, c.index);\n res += replace(c);\n prev = c.index + c[0].length;\n regExp.lastIndex = prev;\n c = regExp.exec(input);\n }\n res += input.substring(prev);\n return res;\n };\n return RegExpWrapper;\n}());\nexports.RegExpWrapper = RegExpWrapper;\nvar RegExpMatcherWrapper = (function () {\n function RegExpMatcherWrapper() {\n }\n RegExpMatcherWrapper.next = function (matcher) {\n return matcher.re.exec(matcher.input);\n };\n return RegExpMatcherWrapper;\n}());\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\nvar FunctionWrapper = (function () {\n function FunctionWrapper() {\n }\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\n return FunctionWrapper;\n}());\nexports.FunctionWrapper = FunctionWrapper;\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\nexports.looseIdentical = looseIdentical;\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\nfunction getMapKey(value) {\n return value;\n}\nexports.getMapKey = getMapKey;\nfunction normalizeBlank(obj) {\n return isBlank(obj) ? null : obj;\n}\nexports.normalizeBlank = normalizeBlank;\nfunction normalizeBool(obj) {\n return isBlank(obj) ? false : obj;\n}\nexports.normalizeBool = normalizeBool;\nfunction isJsObject(o) {\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\n}\nexports.isJsObject = isJsObject;\nfunction print(obj) {\n console.log(obj);\n}\nexports.print = print;\nfunction warn(obj) {\n console.warn(obj);\n}\nexports.warn = warn;\n// Can't be all uppercase as our transpiler would think it is a special directive...\nvar Json = (function () {\n function Json() {\n }\n Json.parse = function (s) { return _global.JSON.parse(s); };\n Json.stringify = function (data) {\n // Dart doesn't take 3 arguments\n return _global.JSON.stringify(data, null, 2);\n };\n return Json;\n}());\nexports.Json = Json;\nvar DateWrapper = (function () {\n function DateWrapper() {\n }\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\n if (month === void 0) { month = 1; }\n if (day === void 0) { day = 1; }\n if (hour === void 0) { hour = 0; }\n if (minutes === void 0) { minutes = 0; }\n if (seconds === void 0) { seconds = 0; }\n if (milliseconds === void 0) { milliseconds = 0; }\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\n };\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\n DateWrapper.toMillis = function (date) { return date.getTime(); };\n DateWrapper.now = function () { return new exports.Date(); };\n DateWrapper.toJson = function (date) { return date.toJSON(); };\n return DateWrapper;\n}());\nexports.DateWrapper = DateWrapper;\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nexports.setValueOnPath = setValueOnPath;\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (isBlank(_symbolIterator)) {\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nexports.getSymbolIterator = getSymbolIterator;\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n}\nexports.evalExpression = evalExpression;\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nexports.isPrimitive = isPrimitive;\nfunction hasConstructor(value, type) {\n return value.constructor === type;\n}\nexports.hasConstructor = hasConstructor;\nfunction bitWiseOr(values) {\n return values.reduce(function (a, b) { return a | b; });\n}\nexports.bitWiseOr = bitWiseOr;\nfunction bitWiseAnd(values) {\n return values.reduce(function (a, b) { return a & b; });\n}\nexports.bitWiseAnd = bitWiseAnd;\nfunction escape(s) {\n return _global.encodeURI(s);\n}\nexports.escape = escape;\n//# sourceMappingURL=lang.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar compiler_1 = require('@angular/compiler');\nvar promise_1 = require('../facade/promise');\nvar lang_1 = require('../facade/lang');\nvar XHRImpl = (function(_super) {\n __extends(XHRImpl, _super);\n function XHRImpl() {\n _super.apply(this, arguments);\n }\n XHRImpl.prototype.get = function(url) {\n var completer = promise_1.PromiseWrapper.completer();\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n xhr.onload = function() {\n var response = lang_1.isPresent(xhr.response) ? xhr.response : xhr.responseText;\n var status = xhr.status === 1223 ? 204 : xhr.status;\n if (status === 0) {\n status = response ? 200 : 0;\n }\n if (200 <= status && status <= 300) {\n completer.resolve(response);\n } else {\n completer.reject(\"Failed to load \" + url, null);\n }\n };\n xhr.onerror = function() {\n completer.reject(\"Failed to load \" + url, null);\n };\n xhr.send();\n return completer.promise;\n };\n return XHRImpl;\n}(compiler_1.XHR));\nexports.XHRImpl = XHRImpl;\n","/* */ \n\"use strict\";\nvar animation_builder = require('./src/animate/animation_builder');\nvar css_animation_builder = require('./src/animate/css_animation_builder');\nvar browser_details = require('./src/animate/browser_details');\nvar css_animation_options = require('./src/animate/css_animation_options');\nvar animation = require('./src/animate/animation');\nvar dom_adapter = require('./src/dom/dom_adapter');\nvar browser_adapter = require('./src/browser/browser_adapter');\nvar __platform_browser_private__;\n(function(__platform_browser_private__) {\n __platform_browser_private__.DomAdapter = dom_adapter.DomAdapter;\n function getDOM() {\n return dom_adapter.getDOM();\n }\n __platform_browser_private__.getDOM = getDOM;\n function setDOM(adapter) {\n return dom_adapter.setDOM(adapter);\n }\n __platform_browser_private__.setDOM = setDOM;\n __platform_browser_private__.setRootDomAdapter = dom_adapter.setRootDomAdapter;\n __platform_browser_private__.BrowserDomAdapter = browser_adapter.BrowserDomAdapter;\n __platform_browser_private__.AnimationBuilder = animation_builder.AnimationBuilder;\n __platform_browser_private__.CssAnimationBuilder = css_animation_builder.CssAnimationBuilder;\n __platform_browser_private__.CssAnimationOptions = css_animation_options.CssAnimationOptions;\n __platform_browser_private__.Animation = animation.Animation;\n __platform_browser_private__.BrowserDetails = browser_details.BrowserDetails;\n})(__platform_browser_private__ = exports.__platform_browser_private__ || (exports.__platform_browser_private__ = {}));\n","/* */ \n\"use strict\";\n/**\n* A pattern that recognizes a commonly useful subset of URLs that are safe.\n*\n* This regular expression matches a subset of URLs that will not cause script\n* execution if used in URL context within a HTML document. Specifically, this\n* regular expression matches if (comment from here on and regex copied from\n* Soy's EscapingConventions):\n* (1) Either a protocol in a whitelist (http, https, mailto or ftp).\n* (2) or no protocol. A protocol must be followed by a colon. The below\n* allows that by allowing colons only after one of the characters [/?#].\n* A colon after a hash (#) must be in the fragment.\n* Otherwise, a colon after a (?) must be in a query.\n* Otherwise, a colon after a single solidus (/) must be in a path.\n* Otherwise, a colon after a double solidus (//) must be in the authority\n* (before port).\n*\n* The pattern disallows &, used in HTML entity declarations before\n* one of the characters in [/?#]. This disallows HTML entities used in the\n* protocol name, which should never happen, e.g. \"http\" for \"http\".\n* It also disallows HTML entities in the first path part of a relative path,\n* e.g. \"foo<bar/baz\". Our existing escaping functions should not produce\n* that. More importantly, it disallows masking of a colon,\n* e.g. \"javascript:...\".\n*\n* This regular expression was taken from the Closure sanitization library.\n*/\nvar SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;\nfunction sanitizeUrl(url) {\n if (String(url).match(SAFE_URL_PATTERN))\n return url;\n return 'unsafe:' + url;\n}\nexports.sanitizeUrl = sanitizeUrl;\n//# sourceMappingURL=url_sanitizer.js.map","/* */ \n\"use strict\";\n/**\n* Regular expression for safe style values.\n*\n* Quotes (\" and ') are allowed, but a check must be done elsewhere to ensure\n* they're balanced.\n*\n* ',' allows multiple values to be assigned to the same property\n* (e.g. background-attachment or font-family) and hence could allow\n* multiple values to get injected, but that should pose no risk of XSS.\n*\n* The rgb() and rgba() expression checks only for XSS safety, not for CSS\n* validity.\n*\n* This regular expression was taken from the Closure sanitization library.\n*/\nvar SAFE_STYLE_VALUE = /^([-,.\"'%_!# a-zA-Z0-9]+|(?:rgb|hsl)a?\\([0-9.%, ]+\\))$/;\n/**\n * Checks that quotes (\" and ') are properly balanced inside a string. Assumes\n * that neither escape (\\) nor any other character that could result in\n * breaking out of a string parsing context are allowed;\n * see http://www.w3.org/TR/css3-syntax/#string-token-diagram.\n *\n * This code was taken from the Closure sanitization library.\n */\nfunction hasBalancedQuotes(value) {\n var outsideSingle = true;\n var outsideDouble = true;\n for (var i = 0; i < value.length; i++) {\n var c = value.charAt(i);\n if (c === '\\'' && outsideDouble) {\n outsideSingle = !outsideSingle;\n }\n else if (c === '\"' && outsideSingle) {\n outsideDouble = !outsideDouble;\n }\n }\n return outsideSingle && outsideDouble;\n}\nfunction sanitizeStyle(value) {\n if (String(value).match(SAFE_STYLE_VALUE) && hasBalancedQuotes(value))\n return value;\n return 'unsafe';\n}\nexports.sanitizeStyle = sanitizeStyle;\n//# sourceMappingURL=style_sanitizer.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar url_sanitizer_1 = require('./url_sanitizer');\nvar style_sanitizer_1 = require('./style_sanitizer');\nvar core_private_1 = require('../../core_private');\nexports.SecurityContext = core_private_1.SecurityContext;\nvar core_1 = require('@angular/core');\nvar DomSanitizationService = (function() {\n function DomSanitizationService() {}\n return DomSanitizationService;\n}());\nexports.DomSanitizationService = DomSanitizationService;\nvar DomSanitizationServiceImpl = (function(_super) {\n __extends(DomSanitizationServiceImpl, _super);\n function DomSanitizationServiceImpl() {\n _super.apply(this, arguments);\n }\n DomSanitizationServiceImpl.prototype.sanitize = function(ctx, value) {\n if (value == null)\n return null;\n switch (ctx) {\n case core_private_1.SecurityContext.NONE:\n return value;\n case core_private_1.SecurityContext.HTML:\n if (value instanceof SafeHtmlImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'HTML');\n return this.sanitizeHtml(String(value));\n case core_private_1.SecurityContext.STYLE:\n if (value instanceof SafeStyleImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'Style');\n return style_sanitizer_1.sanitizeStyle(value);\n case core_private_1.SecurityContext.SCRIPT:\n if (value instanceof SafeScriptImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'Script');\n throw new Error('unsafe value used in a script context');\n case core_private_1.SecurityContext.URL:\n if (value instanceof SafeUrlImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'URL');\n return url_sanitizer_1.sanitizeUrl(String(value));\n case core_private_1.SecurityContext.RESOURCE_URL:\n if (value instanceof SafeResourceUrlImpl) {\n return value.changingThisBreaksApplicationSecurity;\n }\n this.checkNotSafeValue(value, 'ResourceURL');\n throw new Error('unsafe value used in a resource URL context');\n default:\n throw new Error(\"Unexpected SecurityContext \" + ctx);\n }\n };\n DomSanitizationServiceImpl.prototype.checkNotSafeValue = function(value, expectedType) {\n if (value instanceof SafeValueImpl) {\n throw new Error('Required a safe ' + expectedType + ', got a ' + value.getTypeName());\n }\n };\n DomSanitizationServiceImpl.prototype.sanitizeHtml = function(value) {\n return value;\n };\n DomSanitizationServiceImpl.prototype.bypassSecurityTrustHtml = function(value) {\n return new SafeHtmlImpl(value);\n };\n DomSanitizationServiceImpl.prototype.bypassSecurityTrustStyle = function(value) {\n return new SafeStyleImpl(value);\n };\n DomSanitizationServiceImpl.prototype.bypassSecurityTrustScript = function(value) {\n return new SafeScriptImpl(value);\n };\n DomSanitizationServiceImpl.prototype.bypassSecurityTrustUrl = function(value) {\n return new SafeUrlImpl(value);\n };\n DomSanitizationServiceImpl.prototype.bypassSecurityTrustResourceUrl = function(value) {\n return new SafeResourceUrlImpl(value);\n };\n DomSanitizationServiceImpl.decorators = [{type: core_1.Injectable}];\n return DomSanitizationServiceImpl;\n}(DomSanitizationService));\nexports.DomSanitizationServiceImpl = DomSanitizationServiceImpl;\nvar SafeValueImpl = (function() {\n function SafeValueImpl(changingThisBreaksApplicationSecurity) {\n this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n }\n return SafeValueImpl;\n}());\nvar SafeHtmlImpl = (function(_super) {\n __extends(SafeHtmlImpl, _super);\n function SafeHtmlImpl() {\n _super.apply(this, arguments);\n }\n SafeHtmlImpl.prototype.getTypeName = function() {\n return 'HTML';\n };\n return SafeHtmlImpl;\n}(SafeValueImpl));\nvar SafeStyleImpl = (function(_super) {\n __extends(SafeStyleImpl, _super);\n function SafeStyleImpl() {\n _super.apply(this, arguments);\n }\n SafeStyleImpl.prototype.getTypeName = function() {\n return 'Style';\n };\n return SafeStyleImpl;\n}(SafeValueImpl));\nvar SafeScriptImpl = (function(_super) {\n __extends(SafeScriptImpl, _super);\n function SafeScriptImpl() {\n _super.apply(this, arguments);\n }\n SafeScriptImpl.prototype.getTypeName = function() {\n return 'Script';\n };\n return SafeScriptImpl;\n}(SafeValueImpl));\nvar SafeUrlImpl = (function(_super) {\n __extends(SafeUrlImpl, _super);\n function SafeUrlImpl() {\n _super.apply(this, arguments);\n }\n SafeUrlImpl.prototype.getTypeName = function() {\n return 'URL';\n };\n return SafeUrlImpl;\n}(SafeValueImpl));\nvar SafeResourceUrlImpl = (function(_super) {\n __extends(SafeResourceUrlImpl, _super);\n function SafeResourceUrlImpl() {\n _super.apply(this, arguments);\n }\n SafeResourceUrlImpl.prototype.getTypeName = function() {\n return 'ResourceURL';\n };\n return SafeResourceUrlImpl;\n}(SafeValueImpl));\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar PublicTestability = (function() {\n function PublicTestability(testability) {\n this._testability = testability;\n }\n PublicTestability.prototype.isStable = function() {\n return this._testability.isStable();\n };\n PublicTestability.prototype.whenStable = function(callback) {\n this._testability.whenStable(callback);\n };\n PublicTestability.prototype.findBindings = function(using, provider, exactMatch) {\n return this.findProviders(using, provider, exactMatch);\n };\n PublicTestability.prototype.findProviders = function(using, provider, exactMatch) {\n return this._testability.findBindings(using, provider, exactMatch);\n };\n return PublicTestability;\n}());\nvar BrowserGetTestability = (function() {\n function BrowserGetTestability() {}\n BrowserGetTestability.init = function() {\n core_1.setTestabilityGetter(new BrowserGetTestability());\n };\n BrowserGetTestability.prototype.addToWindow = function(registry) {\n lang_1.global.getAngularTestability = function(elem, findInAncestors) {\n if (findInAncestors === void 0) {\n findInAncestors = true;\n }\n var testability = registry.findTestabilityInTree(elem, findInAncestors);\n if (testability == null) {\n throw new Error('Could not find testability for element.');\n }\n return new PublicTestability(testability);\n };\n lang_1.global.getAllAngularTestabilities = function() {\n var testabilities = registry.getAllTestabilities();\n return testabilities.map(function(testability) {\n return new PublicTestability(testability);\n });\n };\n lang_1.global.getAllAngularRootElements = function() {\n return registry.getAllRootElements();\n };\n var whenAllStable = function(callback) {\n var testabilities = lang_1.global.getAllAngularTestabilities();\n var count = testabilities.length;\n var didWork = false;\n var decrement = function(didWork_) {\n didWork = didWork || didWork_;\n count--;\n if (count == 0) {\n callback(didWork);\n }\n };\n testabilities.forEach(function(testability) {\n testability.whenStable(decrement);\n });\n };\n if (!lang_1.global.frameworkStabilizers) {\n lang_1.global.frameworkStabilizers = collection_1.ListWrapper.createGrowableSize(0);\n }\n lang_1.global.frameworkStabilizers.push(whenAllStable);\n };\n BrowserGetTestability.prototype.findTestabilityInTree = function(registry, elem, findInAncestors) {\n if (elem == null) {\n return null;\n }\n var t = registry.getTestability(elem);\n if (lang_1.isPresent(t)) {\n return t;\n } else if (!findInAncestors) {\n return null;\n }\n if (dom_adapter_1.getDOM().isShadowRoot(elem)) {\n return this.findTestabilityInTree(registry, dom_adapter_1.getDOM().getHost(elem), true);\n }\n return this.findTestabilityInTree(registry, dom_adapter_1.getDOM().parentElement(elem), true);\n };\n return BrowserGetTestability;\n}());\nexports.BrowserGetTestability = BrowserGetTestability;\n","/* */ \n(function(process) {\n \"use strict\";\n var __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var core_1 = require('@angular/core');\n var lang_1 = require('../../facade/lang');\n var collection_1 = require('../../facade/collection');\n var dom_adapter_1 = require('../dom_adapter');\n var event_manager_1 = require('./event_manager');\n var modifierKeys = ['alt', 'control', 'meta', 'shift'];\n var modifierKeyGetters = {\n 'alt': function(event) {\n return event.altKey;\n },\n 'control': function(event) {\n return event.ctrlKey;\n },\n 'meta': function(event) {\n return event.metaKey;\n },\n 'shift': function(event) {\n return event.shiftKey;\n }\n };\n var KeyEventsPlugin = (function(_super) {\n __extends(KeyEventsPlugin, _super);\n function KeyEventsPlugin() {\n _super.call(this);\n }\n KeyEventsPlugin.prototype.supports = function(eventName) {\n return lang_1.isPresent(KeyEventsPlugin.parseEventName(eventName));\n };\n KeyEventsPlugin.prototype.addEventListener = function(element, eventName, handler) {\n var parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n var outsideHandler = KeyEventsPlugin.eventCallback(element, collection_1.StringMapWrapper.get(parsedEvent, 'fullKey'), handler, this.manager.getZone());\n return this.manager.getZone().runOutsideAngular(function() {\n return dom_adapter_1.getDOM().onAndCancel(element, collection_1.StringMapWrapper.get(parsedEvent, 'domEventName'), outsideHandler);\n });\n };\n KeyEventsPlugin.parseEventName = function(eventName) {\n var parts = eventName.toLowerCase().split('.');\n var domEventName = parts.shift();\n if ((parts.length === 0) || !(lang_1.StringWrapper.equals(domEventName, 'keydown') || lang_1.StringWrapper.equals(domEventName, 'keyup'))) {\n return null;\n }\n var key = KeyEventsPlugin._normalizeKey(parts.pop());\n var fullKey = '';\n modifierKeys.forEach(function(modifierName) {\n if (collection_1.ListWrapper.contains(parts, modifierName)) {\n collection_1.ListWrapper.remove(parts, modifierName);\n fullKey += modifierName + '.';\n }\n });\n fullKey += key;\n if (parts.length != 0 || key.length === 0) {\n return null;\n }\n var result = collection_1.StringMapWrapper.create();\n collection_1.StringMapWrapper.set(result, 'domEventName', domEventName);\n collection_1.StringMapWrapper.set(result, 'fullKey', fullKey);\n return result;\n };\n KeyEventsPlugin.getEventFullKey = function(event) {\n var fullKey = '';\n var key = dom_adapter_1.getDOM().getEventKey(event);\n key = key.toLowerCase();\n if (lang_1.StringWrapper.equals(key, ' ')) {\n key = 'space';\n } else if (lang_1.StringWrapper.equals(key, '.')) {\n key = 'dot';\n }\n modifierKeys.forEach(function(modifierName) {\n if (modifierName != key) {\n var modifierGetter = collection_1.StringMapWrapper.get(modifierKeyGetters, modifierName);\n if (modifierGetter(event)) {\n fullKey += modifierName + '.';\n }\n }\n });\n fullKey += key;\n return fullKey;\n };\n KeyEventsPlugin.eventCallback = function(element, fullKey, handler, zone) {\n return function(event) {\n if (lang_1.StringWrapper.equals(KeyEventsPlugin.getEventFullKey(event), fullKey)) {\n zone.runGuarded(function() {\n return handler(event);\n });\n }\n };\n };\n KeyEventsPlugin._normalizeKey = function(keyName) {\n switch (keyName) {\n case 'esc':\n return 'escape';\n default:\n return keyName;\n }\n };\n KeyEventsPlugin.decorators = [{type: core_1.Injectable}];\n KeyEventsPlugin.ctorParameters = [];\n return KeyEventsPlugin;\n }(event_manager_1.EventManagerPlugin));\n exports.KeyEventsPlugin = KeyEventsPlugin;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar dom_adapter_1 = require('../dom_adapter');\nvar event_manager_1 = require('./event_manager');\nvar DomEventsPlugin = (function(_super) {\n __extends(DomEventsPlugin, _super);\n function DomEventsPlugin() {\n _super.apply(this, arguments);\n }\n DomEventsPlugin.prototype.supports = function(eventName) {\n return true;\n };\n DomEventsPlugin.prototype.addEventListener = function(element, eventName, handler) {\n var zone = this.manager.getZone();\n var outsideHandler = function(event) {\n return zone.runGuarded(function() {\n return handler(event);\n });\n };\n return this.manager.getZone().runOutsideAngular(function() {\n return dom_adapter_1.getDOM().onAndCancel(element, eventName, outsideHandler);\n });\n };\n DomEventsPlugin.prototype.addGlobalEventListener = function(target, eventName, handler) {\n var element = dom_adapter_1.getDOM().getGlobalEventTarget(target);\n var zone = this.manager.getZone();\n var outsideHandler = function(event) {\n return zone.runGuarded(function() {\n return handler(event);\n });\n };\n return this.manager.getZone().runOutsideAngular(function() {\n return dom_adapter_1.getDOM().onAndCancel(element, eventName, outsideHandler);\n });\n };\n DomEventsPlugin.decorators = [{type: core_1.Injectable}];\n return DomEventsPlugin;\n}(event_manager_1.EventManagerPlugin));\nexports.DomEventsPlugin = DomEventsPlugin;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar event_manager_1 = require('./event_manager');\nvar collection_1 = require('../../facade/collection');\nvar _eventNames = {\n 'pan': true,\n 'panstart': true,\n 'panmove': true,\n 'panend': true,\n 'pancancel': true,\n 'panleft': true,\n 'panright': true,\n 'panup': true,\n 'pandown': true,\n 'pinch': true,\n 'pinchstart': true,\n 'pinchmove': true,\n 'pinchend': true,\n 'pinchcancel': true,\n 'pinchin': true,\n 'pinchout': true,\n 'press': true,\n 'pressup': true,\n 'rotate': true,\n 'rotatestart': true,\n 'rotatemove': true,\n 'rotateend': true,\n 'rotatecancel': true,\n 'swipe': true,\n 'swipeleft': true,\n 'swiperight': true,\n 'swipeup': true,\n 'swipedown': true,\n 'tap': true\n};\nvar HammerGesturesPluginCommon = (function(_super) {\n __extends(HammerGesturesPluginCommon, _super);\n function HammerGesturesPluginCommon() {\n _super.call(this);\n }\n HammerGesturesPluginCommon.prototype.supports = function(eventName) {\n eventName = eventName.toLowerCase();\n return collection_1.StringMapWrapper.contains(_eventNames, eventName);\n };\n return HammerGesturesPluginCommon;\n}(event_manager_1.EventManagerPlugin));\nexports.HammerGesturesPluginCommon = HammerGesturesPluginCommon;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar hammer_common_1 = require('./hammer_common');\nexports.HAMMER_GESTURE_CONFIG = new core_1.OpaqueToken(\"HammerGestureConfig\");\nvar HammerGestureConfig = (function() {\n function HammerGestureConfig() {\n this.events = [];\n this.overrides = {};\n }\n HammerGestureConfig.prototype.buildHammer = function(element) {\n var mc = new Hammer(element);\n mc.get('pinch').set({enable: true});\n mc.get('rotate').set({enable: true});\n for (var eventName in this.overrides) {\n mc.get(eventName).set(this.overrides[eventName]);\n }\n return mc;\n };\n HammerGestureConfig.decorators = [{type: core_1.Injectable}];\n return HammerGestureConfig;\n}());\nexports.HammerGestureConfig = HammerGestureConfig;\nvar HammerGesturesPlugin = (function(_super) {\n __extends(HammerGesturesPlugin, _super);\n function HammerGesturesPlugin(_config) {\n _super.call(this);\n this._config = _config;\n }\n HammerGesturesPlugin.prototype.supports = function(eventName) {\n if (!_super.prototype.supports.call(this, eventName) && !this.isCustomEvent(eventName))\n return false;\n if (!lang_1.isPresent(window['Hammer'])) {\n throw new exceptions_1.BaseException(\"Hammer.js is not loaded, can not bind \" + eventName + \" event\");\n }\n return true;\n };\n HammerGesturesPlugin.prototype.addEventListener = function(element, eventName, handler) {\n var _this = this;\n var zone = this.manager.getZone();\n eventName = eventName.toLowerCase();\n return zone.runOutsideAngular(function() {\n var mc = _this._config.buildHammer(element);\n var callback = function(eventObj) {\n zone.runGuarded(function() {\n handler(eventObj);\n });\n };\n mc.on(eventName, callback);\n return function() {\n mc.off(eventName, callback);\n };\n });\n };\n HammerGesturesPlugin.prototype.isCustomEvent = function(eventName) {\n return this._config.events.indexOf(eventName) > -1;\n };\n HammerGesturesPlugin.decorators = [{type: core_1.Injectable}];\n HammerGesturesPlugin.ctorParameters = [{\n type: HammerGestureConfig,\n decorators: [{\n type: core_1.Inject,\n args: [exports.HAMMER_GESTURE_CONFIG]\n }]\n }];\n return HammerGesturesPlugin;\n}(hammer_common_1.HammerGesturesPluginCommon));\nexports.HammerGesturesPlugin = HammerGesturesPlugin;\n","/* */ \n\"use strict\";\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar Title = (function() {\n function Title() {}\n Title.prototype.getTitle = function() {\n return dom_adapter_1.getDOM().getTitle();\n };\n Title.prototype.setTitle = function(newTitle) {\n dom_adapter_1.getDOM().setTitle(newTitle);\n };\n return Title;\n}());\nexports.Title = Title;\n","/* */ \n\"use strict\";\n/**\n* JS version of browser APIs. This library can only run in the browser.\n*/\nvar win = typeof window !== 'undefined' && window || {};\nexports.window = win;\nexports.document = win.document;\nexports.location = win.location;\nexports.gc = win['gc'] ? function () { return win['gc'](); } : function () { return null; };\nexports.performance = win['performance'] ? win['performance'] : null;\nexports.Event = win['Event'];\nexports.MouseEvent = win['MouseEvent'];\nexports.KeyboardEvent = win['KeyboardEvent'];\nexports.EventTarget = win['EventTarget'];\nexports.History = win['History'];\nexports.Location = win['Location'];\nexports.EventListener = win['EventListener'];\n//# sourceMappingURL=browser.js.map","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar browser_1 = require('../../facade/browser');\nvar dom_adapter_1 = require('../../dom/dom_adapter');\nvar ChangeDetectionPerfRecord = (function() {\n function ChangeDetectionPerfRecord(msPerTick, numTicks) {\n this.msPerTick = msPerTick;\n this.numTicks = numTicks;\n }\n return ChangeDetectionPerfRecord;\n}());\nexports.ChangeDetectionPerfRecord = ChangeDetectionPerfRecord;\nvar AngularTools = (function() {\n function AngularTools(ref) {\n this.profiler = new AngularProfiler(ref);\n }\n return AngularTools;\n}());\nexports.AngularTools = AngularTools;\nvar AngularProfiler = (function() {\n function AngularProfiler(ref) {\n this.appRef = ref.injector.get(core_1.ApplicationRef);\n }\n AngularProfiler.prototype.timeChangeDetection = function(config) {\n var record = lang_1.isPresent(config) && config['record'];\n var profileName = 'Change Detection';\n var isProfilerAvailable = lang_1.isPresent(browser_1.window.console.profile);\n if (record && isProfilerAvailable) {\n browser_1.window.console.profile(profileName);\n }\n var start = dom_adapter_1.getDOM().performanceNow();\n var numTicks = 0;\n while (numTicks < 5 || (dom_adapter_1.getDOM().performanceNow() - start) < 500) {\n this.appRef.tick();\n numTicks++;\n }\n var end = dom_adapter_1.getDOM().performanceNow();\n if (record && isProfilerAvailable) {\n browser_1.window.console.profileEnd(profileName);\n }\n var msPerTick = (end - start) / numTicks;\n browser_1.window.console.log(\"ran \" + numTicks + \" change detection cycles\");\n browser_1.window.console.log(lang_1.NumberWrapper.toFixed(msPerTick, 2) + \" ms per check\");\n return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n };\n return AngularProfiler;\n}());\nexports.AngularProfiler = AngularProfiler;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../../facade/lang');\nvar common_tools_1 = require('./common_tools');\nvar context = lang_1.global;\nfunction enableDebugTools(ref) {\n context.ng = new common_tools_1.AngularTools(ref);\n}\nexports.enableDebugTools = enableDebugTools;\nfunction disableDebugTools() {\n delete context.ng;\n}\nexports.disableDebugTools = disableDebugTools;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../../facade/lang');\nvar dom_adapter_1 = require('../dom_adapter');\nvar By = (function() {\n function By() {}\n By.all = function() {\n return function(debugElement) {\n return true;\n };\n };\n By.css = function(selector) {\n return function(debugElement) {\n return lang_1.isPresent(debugElement.nativeElement) ? dom_adapter_1.getDOM().elementMatches(debugElement.nativeElement, selector) : false;\n };\n };\n By.directive = function(type) {\n return function(debugElement) {\n return debugElement.providerTokens.indexOf(type) !== -1;\n };\n };\n return By;\n}());\nexports.By = By;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../core_private');\nvar common_1 = require('@angular/common');\nvar dom_sanitization_service_1 = require('./security/dom_sanitization_service');\nvar lang_1 = require('./facade/lang');\nvar browser_adapter_1 = require('./browser/browser_adapter');\nvar testability_1 = require('./browser/testability');\nvar dom_adapter_1 = require('./dom/dom_adapter');\nvar dom_tokens_1 = require('./dom/dom_tokens');\nvar event_manager_1 = require('./dom/events/event_manager');\nvar dom_renderer_1 = require('./dom/dom_renderer');\nvar shared_styles_host_1 = require('./dom/shared_styles_host');\nvar key_events_1 = require('./dom/events/key_events');\nvar ng_probe_1 = require('./dom/debug/ng_probe');\nvar dom_events_1 = require('./dom/events/dom_events');\nvar hammer_gestures_1 = require('./dom/events/hammer_gestures');\nvar shared_styles_host_2 = require('./dom/shared_styles_host');\nvar animation_builder_1 = require('./animate/animation_builder');\nvar browser_details_1 = require('./animate/browser_details');\nvar title_1 = require('./browser/title');\nexports.Title = title_1.Title;\nvar browser_adapter_2 = require('./browser/browser_adapter');\nexports.BrowserDomAdapter = browser_adapter_2.BrowserDomAdapter;\nvar tools_1 = require('./browser/tools/tools');\nexports.enableDebugTools = tools_1.enableDebugTools;\nexports.disableDebugTools = tools_1.disableDebugTools;\nvar by_1 = require('./dom/debug/by');\nexports.By = by_1.By;\nexports.BROWSER_PLATFORM_MARKER = new core_1.OpaqueToken('BrowserPlatformMarker');\nexports.BROWSER_PROVIDERS = [{\n provide: exports.BROWSER_PLATFORM_MARKER,\n useValue: true\n}, core_1.PLATFORM_COMMON_PROVIDERS, {\n provide: core_1.PLATFORM_INITIALIZER,\n useValue: initDomAdapter,\n multi: true\n}];\nfunction _exceptionHandler() {\n return new core_1.ExceptionHandler(dom_adapter_1.getDOM(), !lang_1.IS_DART);\n}\nfunction _document() {\n return dom_adapter_1.getDOM().defaultDoc();\n}\nexports.BROWSER_SANITIZATION_PROVIDERS = [{\n provide: core_private_1.SanitizationService,\n useExisting: dom_sanitization_service_1.DomSanitizationService\n}, {\n provide: dom_sanitization_service_1.DomSanitizationService,\n useClass: dom_sanitization_service_1.DomSanitizationServiceImpl\n}];\nexports.BROWSER_APP_COMMON_PROVIDERS = [core_1.APPLICATION_COMMON_PROVIDERS, common_1.FORM_PROVIDERS, exports.BROWSER_SANITIZATION_PROVIDERS, {\n provide: core_1.PLATFORM_PIPES,\n useValue: common_1.COMMON_PIPES,\n multi: true\n}, {\n provide: core_1.PLATFORM_DIRECTIVES,\n useValue: common_1.COMMON_DIRECTIVES,\n multi: true\n}, {\n provide: core_1.ExceptionHandler,\n useFactory: _exceptionHandler,\n deps: []\n}, {\n provide: dom_tokens_1.DOCUMENT,\n useFactory: _document,\n deps: []\n}, {\n provide: event_manager_1.EVENT_MANAGER_PLUGINS,\n useClass: dom_events_1.DomEventsPlugin,\n multi: true\n}, {\n provide: event_manager_1.EVENT_MANAGER_PLUGINS,\n useClass: key_events_1.KeyEventsPlugin,\n multi: true\n}, {\n provide: event_manager_1.EVENT_MANAGER_PLUGINS,\n useClass: hammer_gestures_1.HammerGesturesPlugin,\n multi: true\n}, {\n provide: hammer_gestures_1.HAMMER_GESTURE_CONFIG,\n useClass: hammer_gestures_1.HammerGestureConfig\n}, {\n provide: dom_renderer_1.DomRootRenderer,\n useClass: dom_renderer_1.DomRootRenderer_\n}, {\n provide: core_1.RootRenderer,\n useExisting: dom_renderer_1.DomRootRenderer\n}, {\n provide: shared_styles_host_1.SharedStylesHost,\n useExisting: shared_styles_host_2.DomSharedStylesHost\n}, shared_styles_host_2.DomSharedStylesHost, core_1.Testability, browser_details_1.BrowserDetails, animation_builder_1.AnimationBuilder, event_manager_1.EventManager, ng_probe_1.ELEMENT_PROBE_PROVIDERS];\nvar hammer_gestures_2 = require('./dom/events/hammer_gestures');\nexports.HAMMER_GESTURE_CONFIG = hammer_gestures_2.HAMMER_GESTURE_CONFIG;\nexports.HammerGestureConfig = hammer_gestures_2.HammerGestureConfig;\nfunction initDomAdapter() {\n browser_adapter_1.BrowserDomAdapter.makeCurrent();\n core_private_1.wtfInit();\n testability_1.BrowserGetTestability.init();\n}\nexports.initDomAdapter = initDomAdapter;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nexports.RenderDebugInfo = core_1.__core_private__.RenderDebugInfo;\nexports.wtfInit = core_1.__core_private__.wtfInit;\nexports.ReflectionCapabilities = core_1.__core_private__.ReflectionCapabilities;\nexports.VIEW_ENCAPSULATION_VALUES = core_1.__core_private__.VIEW_ENCAPSULATION_VALUES;\nexports.DebugDomRootRenderer = core_1.__core_private__.DebugDomRootRenderer;\nexports.SecurityContext = core_1.__core_private__.SecurityContext;\nexports.SanitizationService = core_1.__core_private__.SanitizationService;\n//# sourceMappingURL=core_private.js.map","/* */ \n\"use strict\";\nvar CssAnimationOptions = (function () {\n function CssAnimationOptions() {\n /** classes to be added to the element */\n this.classesToAdd = [];\n /** classes to be removed from the element */\n this.classesToRemove = [];\n /** classes to be added for the duration of the animation */\n this.animationClasses = [];\n }\n return CssAnimationOptions;\n}());\nexports.CssAnimationOptions = CssAnimationOptions;\n//# sourceMappingURL=css_animation_options.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar math_1 = require('../facade/math');\nvar collection_1 = require('../facade/collection');\nvar util_1 = require('../dom/util');\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar Animation = (function() {\n function Animation(element, data, browserDetails) {\n var _this = this;\n this.element = element;\n this.data = data;\n this.browserDetails = browserDetails;\n this.callbacks = [];\n this.eventClearFunctions = [];\n this.completed = false;\n this._stringPrefix = '';\n this.startTime = lang_1.DateWrapper.toMillis(lang_1.DateWrapper.now());\n this._stringPrefix = dom_adapter_1.getDOM().getAnimationPrefix();\n this.setup();\n this.wait(function(timestamp) {\n return _this.start();\n });\n }\n Object.defineProperty(Animation.prototype, \"totalTime\", {\n get: function() {\n var delay = this.computedDelay != null ? this.computedDelay : 0;\n var duration = this.computedDuration != null ? this.computedDuration : 0;\n return delay + duration;\n },\n enumerable: true,\n configurable: true\n });\n Animation.prototype.wait = function(callback) {\n this.browserDetails.raf(callback, 2);\n };\n Animation.prototype.setup = function() {\n if (this.data.fromStyles != null)\n this.applyStyles(this.data.fromStyles);\n if (this.data.duration != null)\n this.applyStyles({'transitionDuration': this.data.duration.toString() + 'ms'});\n if (this.data.delay != null)\n this.applyStyles({'transitionDelay': this.data.delay.toString() + 'ms'});\n };\n Animation.prototype.start = function() {\n this.addClasses(this.data.classesToAdd);\n this.addClasses(this.data.animationClasses);\n this.removeClasses(this.data.classesToRemove);\n if (this.data.toStyles != null)\n this.applyStyles(this.data.toStyles);\n var computedStyles = dom_adapter_1.getDOM().getComputedStyle(this.element);\n this.computedDelay = math_1.Math.max(this.parseDurationString(computedStyles.getPropertyValue(this._stringPrefix + 'transition-delay')), this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix + 'transition-delay')));\n this.computedDuration = math_1.Math.max(this.parseDurationString(computedStyles.getPropertyValue(this._stringPrefix + 'transition-duration')), this.parseDurationString(this.element.style.getPropertyValue(this._stringPrefix + 'transition-duration')));\n this.addEvents();\n };\n Animation.prototype.applyStyles = function(styles) {\n var _this = this;\n collection_1.StringMapWrapper.forEach(styles, function(value, key) {\n var dashCaseKey = util_1.camelCaseToDashCase(key);\n if (lang_1.isPresent(dom_adapter_1.getDOM().getStyle(_this.element, dashCaseKey))) {\n dom_adapter_1.getDOM().setStyle(_this.element, dashCaseKey, value.toString());\n } else {\n dom_adapter_1.getDOM().setStyle(_this.element, _this._stringPrefix + dashCaseKey, value.toString());\n }\n });\n };\n Animation.prototype.addClasses = function(classes) {\n for (var i = 0,\n len = classes.length; i < len; i++)\n dom_adapter_1.getDOM().addClass(this.element, classes[i]);\n };\n Animation.prototype.removeClasses = function(classes) {\n for (var i = 0,\n len = classes.length; i < len; i++)\n dom_adapter_1.getDOM().removeClass(this.element, classes[i]);\n };\n Animation.prototype.addEvents = function() {\n var _this = this;\n if (this.totalTime > 0) {\n this.eventClearFunctions.push(dom_adapter_1.getDOM().onAndCancel(this.element, dom_adapter_1.getDOM().getTransitionEnd(), function(event) {\n return _this.handleAnimationEvent(event);\n }));\n } else {\n this.handleAnimationCompleted();\n }\n };\n Animation.prototype.handleAnimationEvent = function(event) {\n var elapsedTime = math_1.Math.round(event.elapsedTime * 1000);\n if (!this.browserDetails.elapsedTimeIncludesDelay)\n elapsedTime += this.computedDelay;\n event.stopPropagation();\n if (elapsedTime >= this.totalTime)\n this.handleAnimationCompleted();\n };\n Animation.prototype.handleAnimationCompleted = function() {\n this.removeClasses(this.data.animationClasses);\n this.callbacks.forEach(function(callback) {\n return callback();\n });\n this.callbacks = [];\n this.eventClearFunctions.forEach(function(fn) {\n return fn();\n });\n this.eventClearFunctions = [];\n this.completed = true;\n };\n Animation.prototype.onComplete = function(callback) {\n if (this.completed) {\n callback();\n } else {\n this.callbacks.push(callback);\n }\n return this;\n };\n Animation.prototype.parseDurationString = function(duration) {\n var maxValue = 0;\n if (duration == null || duration.length < 2) {\n return maxValue;\n } else if (duration.substring(duration.length - 2) == 'ms') {\n var value = lang_1.NumberWrapper.parseInt(this.stripLetters(duration), 10);\n if (value > maxValue)\n maxValue = value;\n } else if (duration.substring(duration.length - 1) == 's') {\n var ms = lang_1.NumberWrapper.parseFloat(this.stripLetters(duration)) * 1000;\n var value = math_1.Math.floor(ms);\n if (value > maxValue)\n maxValue = value;\n }\n return maxValue;\n };\n Animation.prototype.stripLetters = function(str) {\n return lang_1.StringWrapper.replaceAll(str, lang_1.RegExpWrapper.create('[^0-9]+$', ''), '');\n };\n return Animation;\n}());\nexports.Animation = Animation;\n","/* */ \n\"use strict\";\nvar css_animation_options_1 = require('./css_animation_options');\nvar animation_1 = require('./animation');\nvar CssAnimationBuilder = (function() {\n function CssAnimationBuilder(browserDetails) {\n this.browserDetails = browserDetails;\n this.data = new css_animation_options_1.CssAnimationOptions();\n }\n CssAnimationBuilder.prototype.addAnimationClass = function(className) {\n this.data.animationClasses.push(className);\n return this;\n };\n CssAnimationBuilder.prototype.addClass = function(className) {\n this.data.classesToAdd.push(className);\n return this;\n };\n CssAnimationBuilder.prototype.removeClass = function(className) {\n this.data.classesToRemove.push(className);\n return this;\n };\n CssAnimationBuilder.prototype.setDuration = function(duration) {\n this.data.duration = duration;\n return this;\n };\n CssAnimationBuilder.prototype.setDelay = function(delay) {\n this.data.delay = delay;\n return this;\n };\n CssAnimationBuilder.prototype.setStyles = function(from, to) {\n return this.setFromStyles(from).setToStyles(to);\n };\n CssAnimationBuilder.prototype.setFromStyles = function(from) {\n this.data.fromStyles = from;\n return this;\n };\n CssAnimationBuilder.prototype.setToStyles = function(to) {\n this.data.toStyles = to;\n return this;\n };\n CssAnimationBuilder.prototype.start = function(element) {\n return new animation_1.Animation(element, this.data, this.browserDetails);\n };\n return CssAnimationBuilder;\n}());\nexports.CssAnimationBuilder = CssAnimationBuilder;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Math = lang_1.global.Math;\nexports.NaN = typeof exports.NaN;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar math_1 = require('../facade/math');\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar BrowserDetails = (function() {\n function BrowserDetails() {\n this.elapsedTimeIncludesDelay = false;\n this.doesElapsedTimeIncludesDelay();\n }\n BrowserDetails.prototype.doesElapsedTimeIncludesDelay = function() {\n var _this = this;\n var div = dom_adapter_1.getDOM().createElement('div');\n dom_adapter_1.getDOM().setAttribute(div, 'style', \"position: absolute; top: -9999px; left: -9999px; width: 1px;\\n height: 1px; transition: all 1ms linear 1ms;\");\n this.raf(function(timestamp) {\n dom_adapter_1.getDOM().on(div, 'transitionend', function(event) {\n var elapsed = math_1.Math.round(event.elapsedTime * 1000);\n _this.elapsedTimeIncludesDelay = elapsed == 2;\n dom_adapter_1.getDOM().remove(div);\n });\n dom_adapter_1.getDOM().setStyle(div, 'width', '2px');\n }, 2);\n };\n BrowserDetails.prototype.raf = function(callback, frames) {\n if (frames === void 0) {\n frames = 1;\n }\n var queue = new RafQueue(callback, frames);\n return function() {\n return queue.cancel();\n };\n };\n BrowserDetails.decorators = [{type: core_1.Injectable}];\n BrowserDetails.ctorParameters = [];\n return BrowserDetails;\n}());\nexports.BrowserDetails = BrowserDetails;\nvar RafQueue = (function() {\n function RafQueue(callback, frames) {\n this.callback = callback;\n this.frames = frames;\n this._raf();\n }\n RafQueue.prototype._raf = function() {\n var _this = this;\n this.currentFrameId = dom_adapter_1.getDOM().requestAnimationFrame(function(timestamp) {\n return _this._nextFrame(timestamp);\n });\n };\n RafQueue.prototype._nextFrame = function(timestamp) {\n this.frames--;\n if (this.frames > 0) {\n this._raf();\n } else {\n this.callback(timestamp);\n }\n };\n RafQueue.prototype.cancel = function() {\n dom_adapter_1.getDOM().cancelAnimationFrame(this.currentFrameId);\n this.currentFrameId = null;\n };\n return RafQueue;\n}());\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar css_animation_builder_1 = require('./css_animation_builder');\nvar browser_details_1 = require('./browser_details');\nvar AnimationBuilder = (function() {\n function AnimationBuilder(browserDetails) {\n this.browserDetails = browserDetails;\n }\n AnimationBuilder.prototype.css = function() {\n return new css_animation_builder_1.CssAnimationBuilder(this.browserDetails);\n };\n AnimationBuilder.decorators = [{type: core_1.Injectable}];\n AnimationBuilder.ctorParameters = [{type: browser_details_1.BrowserDetails}];\n return AnimationBuilder;\n}());\nexports.AnimationBuilder = AnimationBuilder;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar collection_1 = require('../facade/collection');\nvar dom_adapter_1 = require('./dom_adapter');\nvar dom_tokens_1 = require('./dom_tokens');\nvar SharedStylesHost = (function() {\n function SharedStylesHost() {\n this._styles = [];\n this._stylesSet = new Set();\n }\n SharedStylesHost.prototype.addStyles = function(styles) {\n var _this = this;\n var additions = [];\n styles.forEach(function(style) {\n if (!collection_1.SetWrapper.has(_this._stylesSet, style)) {\n _this._stylesSet.add(style);\n _this._styles.push(style);\n additions.push(style);\n }\n });\n this.onStylesAdded(additions);\n };\n SharedStylesHost.prototype.onStylesAdded = function(additions) {};\n SharedStylesHost.prototype.getAllStyles = function() {\n return this._styles;\n };\n SharedStylesHost.decorators = [{type: core_1.Injectable}];\n SharedStylesHost.ctorParameters = [];\n return SharedStylesHost;\n}());\nexports.SharedStylesHost = SharedStylesHost;\nvar DomSharedStylesHost = (function(_super) {\n __extends(DomSharedStylesHost, _super);\n function DomSharedStylesHost(doc) {\n _super.call(this);\n this._hostNodes = new Set();\n this._hostNodes.add(doc.head);\n }\n DomSharedStylesHost.prototype._addStylesToHost = function(styles, host) {\n for (var i = 0; i < styles.length; i++) {\n var style = styles[i];\n dom_adapter_1.getDOM().appendChild(host, dom_adapter_1.getDOM().createStyleElement(style));\n }\n };\n DomSharedStylesHost.prototype.addHost = function(hostNode) {\n this._addStylesToHost(this._styles, hostNode);\n this._hostNodes.add(hostNode);\n };\n DomSharedStylesHost.prototype.removeHost = function(hostNode) {\n collection_1.SetWrapper.delete(this._hostNodes, hostNode);\n };\n DomSharedStylesHost.prototype.onStylesAdded = function(additions) {\n var _this = this;\n this._hostNodes.forEach(function(hostNode) {\n _this._addStylesToHost(additions, hostNode);\n });\n };\n DomSharedStylesHost.decorators = [{type: core_1.Injectable}];\n DomSharedStylesHost.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Inject,\n args: [dom_tokens_1.DOCUMENT]\n }]\n }];\n return DomSharedStylesHost;\n}(SharedStylesHost));\nexports.DomSharedStylesHost = DomSharedStylesHost;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n* A base class for the WrappedException that can be used to identify\n* a WrappedException from ExceptionHandler without adding circular\n* dependency.\n*/\nvar BaseWrappedException = (function (_super) {\n __extends(BaseWrappedException, _super);\n function BaseWrappedException(message) {\n _super.call(this, message);\n }\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n return BaseWrappedException;\n}(Error));\nexports.BaseWrappedException = BaseWrappedException;\n//# sourceMappingURL=base_wrapped_exception.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar collection_1 = require('./collection');\nvar _ArrayLogger = (function() {\n function _ArrayLogger() {\n this.res = [];\n }\n _ArrayLogger.prototype.log = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logError = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroup = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroupEnd = function() {};\n ;\n return _ArrayLogger;\n}());\nvar ExceptionHandler = (function() {\n function ExceptionHandler(_logger, _rethrowException) {\n if (_rethrowException === void 0) {\n _rethrowException = true;\n }\n this._logger = _logger;\n this._rethrowException = _rethrowException;\n }\n ExceptionHandler.exceptionToString = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var l = new _ArrayLogger();\n var e = new ExceptionHandler(l, false);\n e.call(exception, stackTrace, reason);\n return l.res.join(\"\\n\");\n };\n ExceptionHandler.prototype.call = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var originalException = this._findOriginalException(exception);\n var originalStack = this._findOriginalStack(exception);\n var context = this._findContext(exception);\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\n this._logger.logError(\"STACKTRACE:\");\n this._logger.logError(this._longStackTrace(stackTrace));\n }\n if (lang_1.isPresent(reason)) {\n this._logger.logError(\"REASON: \" + reason);\n }\n if (lang_1.isPresent(originalException)) {\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\n }\n if (lang_1.isPresent(originalStack)) {\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\n this._logger.logError(this._longStackTrace(originalStack));\n }\n if (lang_1.isPresent(context)) {\n this._logger.logError(\"ERROR CONTEXT:\");\n this._logger.logError(context);\n }\n this._logger.logGroupEnd();\n if (this._rethrowException)\n throw exception;\n };\n ExceptionHandler.prototype._extractMessage = function(exception) {\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage : exception.toString();\n };\n ExceptionHandler.prototype._longStackTrace = function(stackTrace) {\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") : stackTrace.toString();\n };\n ExceptionHandler.prototype._findContext = function(exception) {\n try {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n return lang_1.isPresent(exception.context) ? exception.context : this._findContext(exception.originalException);\n } catch (e) {\n return null;\n }\n };\n ExceptionHandler.prototype._findOriginalException = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception.originalException;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n }\n return e;\n };\n ExceptionHandler.prototype._findOriginalStack = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception;\n var stack = exception.originalStack;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n stack = e.originalStack;\n }\n }\n return stack;\n };\n return ExceptionHandler;\n}());\nexports.ExceptionHandler = ExceptionHandler;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar exception_handler_1 = require('./exception_handler');\nvar exception_handler_2 = require('./exception_handler');\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\nvar BaseException = (function(_super) {\n __extends(BaseException, _super);\n function BaseException(message) {\n if (message === void 0) {\n message = \"--\";\n }\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n BaseException.prototype.toString = function() {\n return this.message;\n };\n return BaseException;\n}(Error));\nexports.BaseException = BaseException;\nvar WrappedException = (function(_super) {\n __extends(WrappedException, _super);\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\n _super.call(this, _wrapperMessage);\n this._wrapperMessage = _wrapperMessage;\n this._originalException = _originalException;\n this._originalStack = _originalStack;\n this._context = _context;\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\n }\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\n get: function() {\n return this._wrapperMessage;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\n get: function() {\n return this._wrapperStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\n get: function() {\n return this._originalException;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\n get: function() {\n return this._originalStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"context\", {\n get: function() {\n return this._context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"message\", {\n get: function() {\n return exception_handler_1.ExceptionHandler.exceptionToString(this);\n },\n enumerable: true,\n configurable: true\n });\n WrappedException.prototype.toString = function() {\n return this.message;\n };\n return WrappedException;\n}(base_wrapped_exception_1.BaseWrappedException));\nexports.WrappedException = WrappedException;\nfunction makeTypeError(message) {\n return new TypeError(message);\n}\nexports.makeTypeError = makeTypeError;\nfunction unimplemented() {\n throw new BaseException('unimplemented');\n}\nexports.unimplemented = unimplemented;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar exceptions_1 = require('../../facade/exceptions');\nvar collection_1 = require('../../facade/collection');\nexports.EVENT_MANAGER_PLUGINS = new core_1.OpaqueToken(\"EventManagerPlugins\");\nvar EventManager = (function() {\n function EventManager(plugins, _zone) {\n var _this = this;\n this._zone = _zone;\n plugins.forEach(function(p) {\n return p.manager = _this;\n });\n this._plugins = collection_1.ListWrapper.reversed(plugins);\n }\n EventManager.prototype.addEventListener = function(element, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addEventListener(element, eventName, handler);\n };\n EventManager.prototype.addGlobalEventListener = function(target, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addGlobalEventListener(target, eventName, handler);\n };\n EventManager.prototype.getZone = function() {\n return this._zone;\n };\n EventManager.prototype._findPluginFor = function(eventName) {\n var plugins = this._plugins;\n for (var i = 0; i < plugins.length; i++) {\n var plugin = plugins[i];\n if (plugin.supports(eventName)) {\n return plugin;\n }\n }\n throw new exceptions_1.BaseException(\"No event manager plugin found for event \" + eventName);\n };\n EventManager.decorators = [{type: core_1.Injectable}];\n EventManager.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Inject,\n args: [exports.EVENT_MANAGER_PLUGINS]\n }]\n }, {type: core_1.NgZone}];\n return EventManager;\n}());\nexports.EventManager = EventManager;\nvar EventManagerPlugin = (function() {\n function EventManagerPlugin() {}\n EventManagerPlugin.prototype.supports = function(eventName) {\n return false;\n };\n EventManagerPlugin.prototype.addEventListener = function(element, eventName, handler) {\n throw \"not implemented\";\n };\n EventManagerPlugin.prototype.addGlobalEventListener = function(element, eventName, handler) {\n throw \"not implemented\";\n };\n return EventManagerPlugin;\n}());\nexports.EventManagerPlugin = EventManagerPlugin;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\n/**\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n *\n * Note: Document might not be available in the Application Context when Application and Rendering\n * Contexts are not the same (e.g. when running the application into a Web Worker).\n */\nexports.DOCUMENT = new core_1.OpaqueToken('DocumentToken');\n//# sourceMappingURL=dom_tokens.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar CAMEL_CASE_REGEXP = /([A-Z])/g;\nvar DASH_CASE_REGEXP = /-([a-z])/g;\nfunction camelCaseToDashCase(input) {\n return lang_1.StringWrapper.replaceAllMapped(input, CAMEL_CASE_REGEXP, function(m) {\n return '-' + m[1].toLowerCase();\n });\n}\nexports.camelCaseToDashCase = camelCaseToDashCase;\nfunction dashCaseToCamelCase(input) {\n return lang_1.StringWrapper.replaceAllMapped(input, DASH_CASE_REGEXP, function(m) {\n return m[1].toUpperCase();\n });\n}\nexports.dashCaseToCamelCase = dashCaseToCamelCase;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar animation_builder_1 = require('../animate/animation_builder');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar shared_styles_host_1 = require('./shared_styles_host');\nvar event_manager_1 = require('./events/event_manager');\nvar dom_tokens_1 = require('./dom_tokens');\nvar dom_adapter_1 = require('./dom_adapter');\nvar util_1 = require('./util');\nvar NAMESPACE_URIS = {\n 'xlink': 'http://www.w3.org/1999/xlink',\n 'svg': 'http://www.w3.org/2000/svg'\n};\nvar TEMPLATE_COMMENT_TEXT = 'template bindings={}';\nvar TEMPLATE_BINDINGS_EXP = /^template bindings=(.*)$/g;\nvar DomRootRenderer = (function() {\n function DomRootRenderer(document, eventManager, sharedStylesHost, animate) {\n this.document = document;\n this.eventManager = eventManager;\n this.sharedStylesHost = sharedStylesHost;\n this.animate = animate;\n this._registeredComponents = new Map();\n }\n DomRootRenderer.prototype.renderComponent = function(componentProto) {\n var renderer = this._registeredComponents.get(componentProto.id);\n if (lang_1.isBlank(renderer)) {\n renderer = new DomRenderer(this, componentProto);\n this._registeredComponents.set(componentProto.id, renderer);\n }\n return renderer;\n };\n return DomRootRenderer;\n}());\nexports.DomRootRenderer = DomRootRenderer;\nvar DomRootRenderer_ = (function(_super) {\n __extends(DomRootRenderer_, _super);\n function DomRootRenderer_(_document, _eventManager, sharedStylesHost, animate) {\n _super.call(this, _document, _eventManager, sharedStylesHost, animate);\n }\n DomRootRenderer_.decorators = [{type: core_1.Injectable}];\n DomRootRenderer_.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Inject,\n args: [dom_tokens_1.DOCUMENT]\n }]\n }, {type: event_manager_1.EventManager}, {type: shared_styles_host_1.DomSharedStylesHost}, {type: animation_builder_1.AnimationBuilder}];\n return DomRootRenderer_;\n}(DomRootRenderer));\nexports.DomRootRenderer_ = DomRootRenderer_;\nvar DomRenderer = (function() {\n function DomRenderer(_rootRenderer, componentProto) {\n this._rootRenderer = _rootRenderer;\n this.componentProto = componentProto;\n this._styles = _flattenStyles(componentProto.id, componentProto.styles, []);\n if (componentProto.encapsulation !== core_1.ViewEncapsulation.Native) {\n this._rootRenderer.sharedStylesHost.addStyles(this._styles);\n }\n if (this.componentProto.encapsulation === core_1.ViewEncapsulation.Emulated) {\n this._contentAttr = _shimContentAttribute(componentProto.id);\n this._hostAttr = _shimHostAttribute(componentProto.id);\n } else {\n this._contentAttr = null;\n this._hostAttr = null;\n }\n }\n DomRenderer.prototype.selectRootElement = function(selectorOrNode, debugInfo) {\n var el;\n if (lang_1.isString(selectorOrNode)) {\n el = dom_adapter_1.getDOM().querySelector(this._rootRenderer.document, selectorOrNode);\n if (lang_1.isBlank(el)) {\n throw new exceptions_1.BaseException(\"The selector \\\"\" + selectorOrNode + \"\\\" did not match any elements\");\n }\n } else {\n el = selectorOrNode;\n }\n dom_adapter_1.getDOM().clearNodes(el);\n return el;\n };\n DomRenderer.prototype.createElement = function(parent, name, debugInfo) {\n var nsAndName = splitNamespace(name);\n var el = lang_1.isPresent(nsAndName[0]) ? dom_adapter_1.getDOM().createElementNS(NAMESPACE_URIS[nsAndName[0]], nsAndName[1]) : dom_adapter_1.getDOM().createElement(nsAndName[1]);\n if (lang_1.isPresent(this._contentAttr)) {\n dom_adapter_1.getDOM().setAttribute(el, this._contentAttr, '');\n }\n if (lang_1.isPresent(parent)) {\n dom_adapter_1.getDOM().appendChild(parent, el);\n }\n return el;\n };\n DomRenderer.prototype.createViewRoot = function(hostElement) {\n var nodesParent;\n if (this.componentProto.encapsulation === core_1.ViewEncapsulation.Native) {\n nodesParent = dom_adapter_1.getDOM().createShadowRoot(hostElement);\n this._rootRenderer.sharedStylesHost.addHost(nodesParent);\n for (var i = 0; i < this._styles.length; i++) {\n dom_adapter_1.getDOM().appendChild(nodesParent, dom_adapter_1.getDOM().createStyleElement(this._styles[i]));\n }\n } else {\n if (lang_1.isPresent(this._hostAttr)) {\n dom_adapter_1.getDOM().setAttribute(hostElement, this._hostAttr, '');\n }\n nodesParent = hostElement;\n }\n return nodesParent;\n };\n DomRenderer.prototype.createTemplateAnchor = function(parentElement, debugInfo) {\n var comment = dom_adapter_1.getDOM().createComment(TEMPLATE_COMMENT_TEXT);\n if (lang_1.isPresent(parentElement)) {\n dom_adapter_1.getDOM().appendChild(parentElement, comment);\n }\n return comment;\n };\n DomRenderer.prototype.createText = function(parentElement, value, debugInfo) {\n var node = dom_adapter_1.getDOM().createTextNode(value);\n if (lang_1.isPresent(parentElement)) {\n dom_adapter_1.getDOM().appendChild(parentElement, node);\n }\n return node;\n };\n DomRenderer.prototype.projectNodes = function(parentElement, nodes) {\n if (lang_1.isBlank(parentElement))\n return;\n appendNodes(parentElement, nodes);\n };\n DomRenderer.prototype.attachViewAfter = function(node, viewRootNodes) {\n moveNodesAfterSibling(node, viewRootNodes);\n for (var i = 0; i < viewRootNodes.length; i++)\n this.animateNodeEnter(viewRootNodes[i]);\n };\n DomRenderer.prototype.detachView = function(viewRootNodes) {\n for (var i = 0; i < viewRootNodes.length; i++) {\n var node = viewRootNodes[i];\n dom_adapter_1.getDOM().remove(node);\n this.animateNodeLeave(node);\n }\n };\n DomRenderer.prototype.destroyView = function(hostElement, viewAllNodes) {\n if (this.componentProto.encapsulation === core_1.ViewEncapsulation.Native && lang_1.isPresent(hostElement)) {\n this._rootRenderer.sharedStylesHost.removeHost(dom_adapter_1.getDOM().getShadowRoot(hostElement));\n }\n };\n DomRenderer.prototype.listen = function(renderElement, name, callback) {\n return this._rootRenderer.eventManager.addEventListener(renderElement, name, decoratePreventDefault(callback));\n };\n DomRenderer.prototype.listenGlobal = function(target, name, callback) {\n return this._rootRenderer.eventManager.addGlobalEventListener(target, name, decoratePreventDefault(callback));\n };\n DomRenderer.prototype.setElementProperty = function(renderElement, propertyName, propertyValue) {\n dom_adapter_1.getDOM().setProperty(renderElement, propertyName, propertyValue);\n };\n DomRenderer.prototype.setElementAttribute = function(renderElement, attributeName, attributeValue) {\n var attrNs;\n var nsAndName = splitNamespace(attributeName);\n if (lang_1.isPresent(nsAndName[0])) {\n attributeName = nsAndName[0] + ':' + nsAndName[1];\n attrNs = NAMESPACE_URIS[nsAndName[0]];\n }\n if (lang_1.isPresent(attributeValue)) {\n if (lang_1.isPresent(attrNs)) {\n dom_adapter_1.getDOM().setAttributeNS(renderElement, attrNs, attributeName, attributeValue);\n } else {\n dom_adapter_1.getDOM().setAttribute(renderElement, attributeName, attributeValue);\n }\n } else {\n if (lang_1.isPresent(attrNs)) {\n dom_adapter_1.getDOM().removeAttributeNS(renderElement, attrNs, nsAndName[1]);\n } else {\n dom_adapter_1.getDOM().removeAttribute(renderElement, attributeName);\n }\n }\n };\n DomRenderer.prototype.setBindingDebugInfo = function(renderElement, propertyName, propertyValue) {\n var dashCasedPropertyName = util_1.camelCaseToDashCase(propertyName);\n if (dom_adapter_1.getDOM().isCommentNode(renderElement)) {\n var existingBindings = lang_1.RegExpWrapper.firstMatch(TEMPLATE_BINDINGS_EXP, lang_1.StringWrapper.replaceAll(dom_adapter_1.getDOM().getText(renderElement), /\\n/g, ''));\n var parsedBindings = lang_1.Json.parse(existingBindings[1]);\n parsedBindings[dashCasedPropertyName] = propertyValue;\n dom_adapter_1.getDOM().setText(renderElement, lang_1.StringWrapper.replace(TEMPLATE_COMMENT_TEXT, '{}', lang_1.Json.stringify(parsedBindings)));\n } else {\n this.setElementAttribute(renderElement, propertyName, propertyValue);\n }\n };\n DomRenderer.prototype.setElementClass = function(renderElement, className, isAdd) {\n if (isAdd) {\n dom_adapter_1.getDOM().addClass(renderElement, className);\n } else {\n dom_adapter_1.getDOM().removeClass(renderElement, className);\n }\n };\n DomRenderer.prototype.setElementStyle = function(renderElement, styleName, styleValue) {\n if (lang_1.isPresent(styleValue)) {\n dom_adapter_1.getDOM().setStyle(renderElement, styleName, lang_1.stringify(styleValue));\n } else {\n dom_adapter_1.getDOM().removeStyle(renderElement, styleName);\n }\n };\n DomRenderer.prototype.invokeElementMethod = function(renderElement, methodName, args) {\n dom_adapter_1.getDOM().invoke(renderElement, methodName, args);\n };\n DomRenderer.prototype.setText = function(renderNode, text) {\n dom_adapter_1.getDOM().setText(renderNode, text);\n };\n DomRenderer.prototype.animateNodeEnter = function(node) {\n if (dom_adapter_1.getDOM().isElementNode(node) && dom_adapter_1.getDOM().hasClass(node, 'ng-animate')) {\n dom_adapter_1.getDOM().addClass(node, 'ng-enter');\n this._rootRenderer.animate.css().addAnimationClass('ng-enter-active').start(node).onComplete(function() {\n dom_adapter_1.getDOM().removeClass(node, 'ng-enter');\n });\n }\n };\n DomRenderer.prototype.animateNodeLeave = function(node) {\n if (dom_adapter_1.getDOM().isElementNode(node) && dom_adapter_1.getDOM().hasClass(node, 'ng-animate')) {\n dom_adapter_1.getDOM().addClass(node, 'ng-leave');\n this._rootRenderer.animate.css().addAnimationClass('ng-leave-active').start(node).onComplete(function() {\n dom_adapter_1.getDOM().removeClass(node, 'ng-leave');\n dom_adapter_1.getDOM().remove(node);\n });\n } else {\n dom_adapter_1.getDOM().remove(node);\n }\n };\n return DomRenderer;\n}());\nexports.DomRenderer = DomRenderer;\nfunction moveNodesAfterSibling(sibling, nodes) {\n var parent = dom_adapter_1.getDOM().parentElement(sibling);\n if (nodes.length > 0 && lang_1.isPresent(parent)) {\n var nextSibling = dom_adapter_1.getDOM().nextSibling(sibling);\n if (lang_1.isPresent(nextSibling)) {\n for (var i = 0; i < nodes.length; i++) {\n dom_adapter_1.getDOM().insertBefore(nextSibling, nodes[i]);\n }\n } else {\n for (var i = 0; i < nodes.length; i++) {\n dom_adapter_1.getDOM().appendChild(parent, nodes[i]);\n }\n }\n }\n}\nfunction appendNodes(parent, nodes) {\n for (var i = 0; i < nodes.length; i++) {\n dom_adapter_1.getDOM().appendChild(parent, nodes[i]);\n }\n}\nfunction decoratePreventDefault(eventHandler) {\n return function(event) {\n var allowDefaultBehavior = eventHandler(event);\n if (allowDefaultBehavior === false) {\n dom_adapter_1.getDOM().preventDefault(event);\n }\n };\n}\nvar COMPONENT_REGEX = /%COMP%/g;\nexports.COMPONENT_VARIABLE = '%COMP%';\nexports.HOST_ATTR = \"_nghost-\" + exports.COMPONENT_VARIABLE;\nexports.CONTENT_ATTR = \"_ngcontent-\" + exports.COMPONENT_VARIABLE;\nfunction _shimContentAttribute(componentShortId) {\n return lang_1.StringWrapper.replaceAll(exports.CONTENT_ATTR, COMPONENT_REGEX, componentShortId);\n}\nfunction _shimHostAttribute(componentShortId) {\n return lang_1.StringWrapper.replaceAll(exports.HOST_ATTR, COMPONENT_REGEX, componentShortId);\n}\nfunction _flattenStyles(compId, styles, target) {\n for (var i = 0; i < styles.length; i++) {\n var style = styles[i];\n if (lang_1.isArray(style)) {\n _flattenStyles(compId, style, target);\n } else {\n style = lang_1.StringWrapper.replaceAll(style, COMPONENT_REGEX, compId);\n target.push(style);\n }\n }\n return target;\n}\nvar NS_PREFIX_RE = /^@([^:]+):(.+)/g;\nfunction splitNamespace(name) {\n if (name[0] != '@') {\n return [null, name];\n }\n var match = lang_1.RegExpWrapper.firstMatch(NS_PREFIX_RE, name);\n return [match[1], match[2]];\n}\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar core_private_1 = require('../../../core_private');\nvar lang_1 = require('../../facade/lang');\nvar dom_adapter_1 = require('../dom_adapter');\nvar dom_renderer_1 = require('../dom_renderer');\nvar CORE_TOKENS = {\n 'ApplicationRef': core_1.ApplicationRef,\n 'NgZone': core_1.NgZone\n};\nvar INSPECT_GLOBAL_NAME = 'ng.probe';\nvar CORE_TOKENS_GLOBAL_NAME = 'ng.coreTokens';\nfunction inspectNativeElement(element) {\n return core_1.getDebugNode(element);\n}\nexports.inspectNativeElement = inspectNativeElement;\nfunction _createConditionalRootRenderer(rootRenderer) {\n if (lang_1.assertionsEnabled()) {\n return _createRootRenderer(rootRenderer);\n }\n return rootRenderer;\n}\nfunction _createRootRenderer(rootRenderer) {\n dom_adapter_1.getDOM().setGlobalVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\n dom_adapter_1.getDOM().setGlobalVar(CORE_TOKENS_GLOBAL_NAME, CORE_TOKENS);\n return new core_private_1.DebugDomRootRenderer(rootRenderer);\n}\nexports.ELEMENT_PROBE_PROVIDERS = [{\n provide: core_1.RootRenderer,\n useFactory: _createConditionalRootRenderer,\n deps: [dom_renderer_1.DomRootRenderer]\n}];\nexports.ELEMENT_PROBE_PROVIDERS_PROD_MODE = [{\n provide: core_1.RootRenderer,\n useFactory: _createRootRenderer,\n deps: [dom_renderer_1.DomRootRenderer]\n}];\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar common_1 = require('@angular/common');\nvar dom_adapter_1 = require('../../dom/dom_adapter');\nvar BrowserPlatformLocation = (function(_super) {\n __extends(BrowserPlatformLocation, _super);\n function BrowserPlatformLocation() {\n _super.call(this);\n this._init();\n }\n BrowserPlatformLocation.prototype._init = function() {\n this._location = dom_adapter_1.getDOM().getLocation();\n this._history = dom_adapter_1.getDOM().getHistory();\n };\n Object.defineProperty(BrowserPlatformLocation.prototype, \"location\", {\n get: function() {\n return this._location;\n },\n enumerable: true,\n configurable: true\n });\n BrowserPlatformLocation.prototype.getBaseHrefFromDOM = function() {\n return dom_adapter_1.getDOM().getBaseHref();\n };\n BrowserPlatformLocation.prototype.onPopState = function(fn) {\n dom_adapter_1.getDOM().getGlobalEventTarget('window').addEventListener('popstate', fn, false);\n };\n BrowserPlatformLocation.prototype.onHashChange = function(fn) {\n dom_adapter_1.getDOM().getGlobalEventTarget('window').addEventListener('hashchange', fn, false);\n };\n Object.defineProperty(BrowserPlatformLocation.prototype, \"pathname\", {\n get: function() {\n return this._location.pathname;\n },\n set: function(newPath) {\n this._location.pathname = newPath;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BrowserPlatformLocation.prototype, \"search\", {\n get: function() {\n return this._location.search;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BrowserPlatformLocation.prototype, \"hash\", {\n get: function() {\n return this._location.hash;\n },\n enumerable: true,\n configurable: true\n });\n BrowserPlatformLocation.prototype.pushState = function(state, title, url) {\n this._history.pushState(state, title, url);\n };\n BrowserPlatformLocation.prototype.replaceState = function(state, title, url) {\n this._history.replaceState(state, title, url);\n };\n BrowserPlatformLocation.prototype.forward = function() {\n this._history.forward();\n };\n BrowserPlatformLocation.prototype.back = function() {\n this._history.back();\n };\n BrowserPlatformLocation.decorators = [{type: core_1.Injectable}];\n BrowserPlatformLocation.ctorParameters = [];\n return BrowserPlatformLocation;\n}(common_1.PlatformLocation));\nexports.BrowserPlatformLocation = BrowserPlatformLocation;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar browser_common_1 = require('./browser_common');\nvar ng_probe_1 = require('./dom/debug/ng_probe');\nexports.ELEMENT_PROBE_PROVIDERS = ng_probe_1.ELEMENT_PROBE_PROVIDERS;\nvar browser_platform_location_1 = require('./browser/location/browser_platform_location');\nexports.BrowserPlatformLocation = browser_platform_location_1.BrowserPlatformLocation;\nvar browser_common_2 = require('./browser_common');\nexports.BROWSER_PROVIDERS = browser_common_2.BROWSER_PROVIDERS;\nexports.By = browser_common_2.By;\nexports.Title = browser_common_2.Title;\nexports.enableDebugTools = browser_common_2.enableDebugTools;\nexports.disableDebugTools = browser_common_2.disableDebugTools;\nexports.BROWSER_APP_STATIC_PROVIDERS = browser_common_1.BROWSER_APP_COMMON_PROVIDERS;\nfunction browserStaticPlatform() {\n if (lang_1.isBlank(core_1.getPlatform())) {\n core_1.createPlatform(core_1.ReflectiveInjector.resolveAndCreate(browser_common_1.BROWSER_PROVIDERS));\n }\n return core_1.assertPlatform(browser_common_1.BROWSER_PLATFORM_MARKER);\n}\nexports.browserStaticPlatform = browserStaticPlatform;\nfunction bootstrapStatic(appComponentType, customProviders, initReflector) {\n if (lang_1.isPresent(initReflector)) {\n initReflector();\n }\n var appProviders = lang_1.isPresent(customProviders) ? [exports.BROWSER_APP_STATIC_PROVIDERS, customProviders] : exports.BROWSER_APP_STATIC_PROVIDERS;\n var appInjector = core_1.ReflectiveInjector.resolveAndCreate(appProviders, browserStaticPlatform().injector);\n return core_1.coreLoadAndBootstrap(appInjector, appComponentType);\n}\nexports.bootstrapStatic = bootstrapStatic;\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\nvar core_1 = require('@angular/core');\nvar lang_1 = require('./facade/lang');\nvar browser_common_1 = require('./browser_common');\nvar dom_events_1 = require('./dom/events/dom_events');\nexports.DomEventsPlugin = dom_events_1.DomEventsPlugin;\nvar event_manager_1 = require('./dom/events/event_manager');\nexports.EventManager = event_manager_1.EventManager;\nexports.EVENT_MANAGER_PLUGINS = event_manager_1.EVENT_MANAGER_PLUGINS;\nvar ng_probe_1 = require('./dom/debug/ng_probe');\nexports.ELEMENT_PROBE_PROVIDERS = ng_probe_1.ELEMENT_PROBE_PROVIDERS;\nvar browser_common_2 = require('./browser_common');\nexports.BROWSER_APP_COMMON_PROVIDERS = browser_common_2.BROWSER_APP_COMMON_PROVIDERS;\nexports.BROWSER_SANITIZATION_PROVIDERS = browser_common_2.BROWSER_SANITIZATION_PROVIDERS;\nexports.BROWSER_PROVIDERS = browser_common_2.BROWSER_PROVIDERS;\nexports.By = browser_common_2.By;\nexports.Title = browser_common_2.Title;\nexports.enableDebugTools = browser_common_2.enableDebugTools;\nexports.disableDebugTools = browser_common_2.disableDebugTools;\nexports.HAMMER_GESTURE_CONFIG = browser_common_2.HAMMER_GESTURE_CONFIG;\nexports.HammerGestureConfig = browser_common_2.HammerGestureConfig;\n__export(require('../private_export'));\nvar dom_tokens_1 = require('./dom/dom_tokens');\nexports.DOCUMENT = dom_tokens_1.DOCUMENT;\nvar dom_sanitization_service_1 = require('./security/dom_sanitization_service');\nexports.DomSanitizationService = dom_sanitization_service_1.DomSanitizationService;\nexports.SecurityContext = dom_sanitization_service_1.SecurityContext;\nvar platform_browser_static_1 = require('./platform_browser_static');\nexports.bootstrapStatic = platform_browser_static_1.bootstrapStatic;\nexports.browserStaticPlatform = platform_browser_static_1.browserStaticPlatform;\nexports.BROWSER_APP_STATIC_PROVIDERS = platform_browser_static_1.BROWSER_APP_STATIC_PROVIDERS;\nexports.BrowserPlatformLocation = platform_browser_static_1.BrowserPlatformLocation;\nfunction browserPlatform() {\n if (lang_1.isBlank(core_1.getPlatform())) {\n core_1.createPlatform(core_1.ReflectiveInjector.resolveAndCreate(browser_common_1.BROWSER_PROVIDERS));\n }\n return core_1.assertPlatform(browser_common_1.BROWSER_PLATFORM_MARKER);\n}\nexports.browserPlatform = browserPlatform;\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./src/platform_browser'));\n","module.exports = require(\"npm:@angular/platform-browser@2.0.0-rc.1/index.js\");","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nexports.ReflectionCapabilities = core_1.__core_private__.ReflectionCapabilities;\n//# sourceMappingURL=core_private.js.map","/* */ \n(function(process) {\n \"use strict\";\n var compiler_1 = require('@angular/compiler');\n var xhr_cache_1 = require('./src/xhr/xhr_cache');\n var lang_1 = require('./src/facade/lang');\n var xhr_impl_1 = require('./src/xhr/xhr_impl');\n var platform_browser_1 = require('@angular/platform-browser');\n var core_1 = require('@angular/core');\n var core_private_1 = require('./core_private');\n exports.CACHED_TEMPLATE_PROVIDER = [{\n provide: compiler_1.XHR,\n useClass: xhr_cache_1.CachedXHR\n }];\n exports.BROWSER_APP_DYNAMIC_PROVIDERS = [platform_browser_1.BROWSER_APP_COMMON_PROVIDERS, compiler_1.COMPILER_PROVIDERS, {\n provide: compiler_1.XHR,\n useClass: xhr_impl_1.XHRImpl\n }];\n function bootstrap(appComponentType, customProviders) {\n core_1.reflector.reflectionCapabilities = new core_private_1.ReflectionCapabilities();\n var appInjector = core_1.ReflectiveInjector.resolveAndCreate([exports.BROWSER_APP_DYNAMIC_PROVIDERS, lang_1.isPresent(customProviders) ? customProviders : []], platform_browser_1.browserPlatform().injector);\n return core_1.coreLoadAndBootstrap(appInjector, appComponentType);\n }\n exports.bootstrap = bootstrap;\n})(require('process'));\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./platform_browser_dynamic'));\n","module.exports = require(\"npm:@angular/platform-browser-dynamic@2.0.0-rc.1/index.js\");","'use strict';\n\nimport { SchemaManager, RedocComponent, BaseComponent } from '../base';\nimport { OptionsService } from '../../services/index';\n\n@RedocComponent({\n selector: 'api-info',\n styles: [`\n .api-info-header{font-weight:normal}:host>div{width:60%}a.openapi-button{padding:3px 8px 4px 8px;color:#0033a0;border:1px solid #0033a0;margin-left:0.5em;font-weight:normal}\n `],\n template: `\n <div>\n <h1 class=\"api-info-header\">{{data.title}} ({{data.version}})</h1>\n <p *ngIf=\"data.description\" innerHtml=\"{{data.description | marked}}\"> </p>\n <p>\n <!-- TODO: create separate components for contact and license ? -->\n <span *ngIf=\"data.contact\"> Contact:\n <a *ngIf=\"data.contact.url\" href=\"{{data.contact.url}}\">\n {{data.contact.name || data.contact.url}}</a>\n <a *ngIf=\"data.contact.email\" href=\"mailto:{{data.contact.email}}\">\n {{data.contact.email}}</a>\n </span>\n <span *ngIf=\"data.license\"> License:\n <a *ngIf=\"data.license.url\" href=\"{{data.license.url}}\"> {{data.license.name}} </a>\n <span *ngIf=\"!data.license.url\"> {{data.license.name}} </span>\n </span>\n </p>\n <p>\n Download OpenAPI (fka Swagger) specification:\n <a class=\"openapi-button\" target=\"_blank\" attr.href='{{specUrl}}'> Download </a>\n </p>\n </div>\n `\n})\n@Reflect.metadata('parameters', [[SchemaManager], [OptionsService]])\nexport class ApiInfo extends BaseComponent {\n constructor(schemaMgr, optionsService) {\n super(schemaMgr);\n this.optionsService = optionsService;\n }\n\n prepareModel() {\n this.data = this.componentSchema.info;\n this.specUrl = this.optionsService.options.specUrl;\n }\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent} from '../base';\n\n@RedocComponent({\n selector: 'api-logo',\n styles: [`\n img{max-height:150px;width:auto;display:inline-block;max-width:100%;box-sizing:border-box}\n `],\n template: `\n <img *ngIf=\"data.imgUrl\" [attr.src]=\"data.imgUrl\" [ngStyle]=\"{'background-color': data.bgColor}\">\n `\n})\nexport class ApiLogo extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n let logoInfo = this.componentSchema.info['x-logo'];\n if (!logoInfo) return;\n this.data.imgUrl = logoInfo.url;\n this.data.bgColor = logoInfo.backgroundColor || 'transparent';\n }\n}\n","'use strict';\n\nimport { RedocComponent, BaseComponent } from '../base';\nimport { JsonSchema } from '../JsonSchema/json-schema';\nimport {JsonSchemaLazy} from '../JsonSchema/json-schema-lazy';\n\nfunction safePush(obj, prop, item) {\n if (!obj[prop]) obj[prop] = [];\n obj[prop].push(item);\n}\n\n@RedocComponent({\n selector: 'params-list',\n template: `\n <h5 class=\"param-list-header\" *ngIf=\"data.params.length\"> Parameters </h5>\n <template ngFor [ngForOf]=\"data.params\" let-paramType=\"$implicit\">\n <header class=\"paramType\">\n {{paramType.place}} Parameters\n <span class=\"hint--top-right hint--large\" [attr.data-hint]=\"paramType.placeHint\">?</span>\n </header>\n <br>\n <div class=\"params-wrap\">\n <div *ngFor=\"let param of paramType.params\" class=\"param\">\n <div class=\"param-name\">\n <span class=\"param-name-content\"> {{param.name}} </span>\n </div>\n <div class=\"param-info\">\n <div>\n <span class=\"param-type {{param.type}}\" [ngClass]=\"{'with-hint': param._displayTypeHint}\"\n title=\"{{param._displayTypeHint}}\"> {{param._displayType}} {{param._displayFormat}}</span>\n <span *ngIf=\"param.required\" class=\"param-required\">Required</span>\n <div *ngIf=\"param.enum\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of param.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class=\"param-description\" innerHtml=\"{{param.description | marked}}\"></div>\n </div>\n </div>\n </div>\n </template>\n\n <div *ngIf=\"data.bodyParam\">\n <h5 class=\"param-list-header\" *ngIf=\"data.bodyParam\"> Request Body </h5>\n\n <div class=\"body-param-description\" innerHtml=\"{{data.bodyParam.description | marked}}\"></div>\n <div>\n <br>\n <json-schema-lazy [isRequestSchema]=\"true\" [auto]=\"true\" pointer=\"{{data.bodyParam.pointer}}/schema\">\n </json-schema-lazy>\n </div>\n </div>\n `,\n styles: [`\n .param-list-header{border-bottom:1px solid rgba(38,50,56,0.3);padding:0.2em 0;margin:3.5em 0 .8em 0;color:rgba(38,50,56,0.5);font-weight:normal;text-transform:uppercase}.param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block;font-family:Montserrat,sans-serif}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-range{color:rgba(0,51,160,0.7);position:relative;top:1px;padding:0 4px;border-radius:2px;background-color:rgba(0,51,160,0.1);margin-left:6px}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:rgba(38,50,56,0.4);font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:\"Array of \";color:#263238;font-weight:300}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:\"\";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:\"\";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:21px}.param:first-of-type>.param-name:before{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:21px}.param:last-of-type>.param-name,.param.last>.param-name{position:relative}.param:last-of-type>.param-name:after,.param.last>.param-name:after{content:\"\";display:block;position:absolute;left:-2px;border-left:2px solid #fff;top:22px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.param-schema.last>td{border-left:0}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:\"Values: {\"}.param-enum:after{content:\"}\"}.param-enum>.enum-value:after{content:\", \"}.param-enum>.enum-value:last-of-type:after{content:none}header.paramType{margin:10px 0;text-transform:capitalize}.params-wrap{display:table;width:100%}.param-name{display:table-cell;vertical-align:top}.param-info{display:table-cell;width:100%}.param{display:table-row}.param:last-of-type>.param-name{border-left:0}.param:last-of-type>.param-name:after{content:\"\";display:block;position:absolute;left:0;border-left:1px solid rgba(0,51,160,0.5);height:21px;background-color:white;top:0}.param:first-of-type .param-name:after{content:\"\";display:block;position:absolute;left:-1px;border-left:2px solid #fff;height:20px;background-color:white;top:0}[data-hint]{width:1.2em;text-align:center;border-radius:50%;vertical-align:middle;color:#999;line-height:1.2;text-transform:none;cursor:help;border:1px solid #999;margin-left:0.5em}@media (max-width: 520px){[data-hint]{float:right}[data-hint]:after{margin-left:12px;transform:translateX(-100%) translateY(-8px);-moz-transform:translateX(-100%) translateY(-8px);-webkit-transform:translateX(-100%) translateY(-8px)}}\n `],\n directives: [JsonSchema, JsonSchemaLazy]\n})\nexport class ParamsList extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n let paramsList = this.schemaMgr.getMethodParams(this.pointer, true);\n\n paramsList = paramsList.map((paramData) => {\n let propPointer = paramData._pointer;\n if (paramData.in === 'body') return paramData;\n return JsonSchema.injectPropertyData(paramData, paramData.name, propPointer, this.pointer);\n });\n\n let paramsMap = this.orderParams(paramsList);\n\n if (paramsMap.body && paramsMap.body.length) {\n let bodyParam = paramsMap.body[0];\n bodyParam.pointer = bodyParam._pointer;\n this.data.bodyParam = bodyParam;\n paramsMap.body = undefined;\n }\n\n this.data.noParams = !(Object.keys(paramsMap).length || this.data.bodyParam);\n\n let paramsPlaces = ['path', 'query', 'formData', 'header', 'body'];\n let placeHint = {\n path: `Used together with Path Templating, where the parameter value is actually part\n of the operation's URL. This does not include the host or base path of the API.\n For example, in /items/{itemId}, the path parameter is itemId`,\n query: `Parameters that are appended to the URL.\n For example, in /items?id=###, the query parameter is id`,\n formData: `Parameters that are submitted through a form.\n application/x-www-form-urlencoded, multipart/form-data or both are usually\n used as the content type of the request`,\n header: 'Custom headers that are expected as part of the request'\n };\n let params = [];\n paramsPlaces.forEach(place => {\n if (paramsMap[place] && paramsMap[place].length) {\n params.push({place: place, placeHint: placeHint[place], params: paramsMap[place]});\n }\n });\n this.data.params = params;\n }\n\n orderParams(params) {\n let res = {};\n params.forEach((param) => safePush(res, param.in, param));\n return res;\n }\n}\n","'use strict';\n\nimport { ElementRef } from '@angular/core';\n\nimport { RedocComponent, BaseComponent, SchemaManager } from '../base';\nimport { DropDown } from '../../shared/components/index';\nimport JsonPointer from '../../utils/JsonPointer';\n\n@RedocComponent({\n selector: 'json-schema',\n template: `\n <span *ngIf=\"schema.isFile\" class=\"param-wrap\">\n <span class=\"param-file\">file</span>\n <div *ngIf=\"schema._produces && !isRequestSchema\" class=\"file produces\">\n Produces: {{ schema._produces | json }}\n </div>\n <div *ngIf=\"schema._consumes && isRequestSchema\" class=\"file consume\">\n Consumes: {{ schema._consumes | json }}\n </div>\n </span>\n <span *ngIf=\"schema.isTrivial && !schema.isFile\" class=\"param-wrap\">\n <span class=\"param-type param-type-trivial {{schema.type}}\"\n [ngClass]=\"{'with-hint': schema._displayTypeHint}\"\n title=\"{{schema._displayTypeHint}}\">{{schema._displayType}} {{schema._displayFormat}}\n <span class=\"param-range\" *ngIf=\"schema._range\"> {{schema._range}} </span>\n </span>\n <div *ngIf=\"schema.enum\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of schema.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </span>\n <table *ngIf=\"!schema.isTrivial\" class=\"params-wrap\" [ngClass]=\"{'params-array': schema._isArray}\">\n <!-- <caption> {{_displayType}} </caption> -->\n <template ngFor [ngForOf]=\"schema.properties\" let-prop=\"$implicit\" let-last=\"last\">\n <tr class=\"param\" [ngClass]=\"{'last': last,\n 'discriminator': prop.isDiscriminator && !derivedEmtpy,\n 'complex': prop._pointer,\n 'additional': prop._additional\n }\">\n <td class=\"param-name\">\n <span class=\"param-name-content\">{{prop._name}}</span>\n </td>\n <td class=\"param-info\">\n <div>\n <span class=\"param-type {{prop.type}}\" [ngClass]=\"{'with-hint': prop._displayTypeHint}\"\n title=\"{{prop._displayTypeHint}}\"> {{prop._displayType}} {{prop._displayFormat}}\n <span class=\"param-range\" *ngIf=\"prop._range\"> {{prop._range}} </span>\n </span>\n <span *ngIf=\"prop.required\" class=\"param-required\">Required</span>\n <div *ngIf=\"prop.enum && !prop.isDiscriminator\" class=\"param-enum\">\n <span *ngFor=\"let enumItem of prop.enum\" class=\"enum-value {{enumItem.type}}\"> {{enumItem.val | json}} </span>\n </div>\n </div>\n <div class=\"param-description\" innerHtml=\"{{prop.description | marked}}\"></div>\n <div class=\"discriminator-info\" *ngIf=\"prop.isDiscriminator\">\n <span>This field value determines the exact schema:</span>\n <dropdown (change)=\"selectDerived($event)\">\n <option *ngFor=\"let derived of schema.derived; let i=index\"\n [value]=\"i\">{{derived.name}}</option>\n </dropdown>\n </div>\n </td>\n </tr>\n <tr class=\"param-schema\" [ngClass]=\"{'param-array': prop._isArray, 'last': last}\" *ngIf=\"prop._pointer\">\n <td colspan=\"2\">\n <json-schema class=\"nested-schema\" pointer=\"{{prop._pointer}}\" [isArray]='prop._isArray'\n [nestOdd]=\"!nestOdd\" [isRequestSchema]=\"isRequestSchema\" [attr.nesteven]=\"!nestOdd\">\n </json-schema>\n </td>\n </tr>\n </template>\n <tr *ngIf=\"schema.derived.length\" class=\"param-wrap discriminator-wrap\" [ngClass]=\"{'empty': derivedEmtpy}\">\n <td colspan=\"2\">\n <div class=\"derived-schema\" *ngFor=\"let derived of schema.derived\" [ngClass]=\"{active: derived.active}\">\n <json-schema class=\"discriminator-part\" *ngIf=\"!derived.empty\" [childFor]=\"pointer\"\n pointer=\"{{derived.$ref}}\" [final]=\"derived.final\" [isRequestSchema]=\"isRequestSchema\">\n </json-schema>\n </div>\n </td>\n </tr>\n </table>\n `,\n styles: [`\n .param-name{font-size:0.929em;padding:10px 0 10px 0;font-weight:400;box-sizing:border-box;line-height:20px;border-left:1px solid rgba(0,51,160,0.5);white-space:nowrap;position:relative;vertical-align:top}.param-name-content{padding-right:25px;display:inline-block;font-family:Montserrat,sans-serif}.param-info{padding:10px 0;box-sizing:border-box;border-bottom:1px solid #ccc;width:75%}.param-range{color:rgba(0,51,160,0.7);position:relative;top:1px;padding:0 4px;border-radius:2px;background-color:rgba(0,51,160,0.1);margin-left:6px}.param-description{font-size:13px}.param-required{color:red;font-weight:bold;font-size:12px;line-height:20px;vertical-align:middle}.param-type{color:rgba(38,50,56,0.4);font-size:0.929em;line-height:20px;vertical-align:middle;font-weight:normal}.param-type.array:before{content:\"Array of \";color:#263238;font-weight:300}.param-type.with-hint{display:inline-block;margin-bottom:0.4em;border-bottom:1px dotted rgba(38,50,56,0.4);padding:0;cursor:help}.param-type-trivial{margin:10px 10px 0;display:inline-block}.param-name>span:before{content:\"\";display:inline-block;width:1px;height:7px;background-color:#0033a0;margin:0 10px;vertical-align:middle}.param-name>span:after{content:\"\";position:absolute;border-top:1px solid rgba(0,51,160,0.5);width:10px;left:0;top:21px}.param:first-of-type>.param-name:before{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:21px}.param:last-of-type>.param-name,.param.last>.param-name{position:relative}.param:last-of-type>.param-name:after,.param.last>.param-name:after{content:\"\";display:block;position:absolute;left:-2px;border-left:2px solid #fff;top:22px;background-color:white;bottom:0}.param-wrap:last-of-type>.param-schema{border-left-color:transparent}.param-schema .param-wrap:first-of-type .param-name:before{display:none !important}.param-schema.last>td{border-left:0}.param-enum{color:#263238;font-size:13px}.param-enum:before{content:\"Values: {\"}.param-enum:after{content:\"}\"}.param-enum>.enum-value:after{content:\", \"}.param-enum>.enum-value:last-of-type:after{content:none}:host{display:block}.param-schema>td{border-left:1px solid rgba(0,51,160,0.5);padding:0 10px}.derived-schema{display:none}.derived-schema.active{display:block}json-schema.nested-schema{background-color:white;padding:10px 20px;position:relative;border-radius:2px}json-schema.nested-schema:before,json-schema.nested-schema:after{content:\"\";width:0;height:0;position:absolute;top:0;border-style:solid;border-color:transparent;border-width:10px 15px 0;margin-left:-7.5px;border-top-color:#f0f0f0}json-schema.nested-schema:before{left:10%}json-schema.nested-schema:after{right:10%}json-schema.nested-schema .param:first-of-type>.param-name:before,json-schema.nested-schema .param:last-of-type>.param-name:after{border-color:white}json-schema[nesteven=\"true\"]{background-color:#f0f0f0;border-radius:2px}json-schema[nesteven=\"true\"]:before,json-schema[nesteven=\"true\"]:after{border-top-color:white}json-schema[nesteven=\"true\"]>.params-wrap>.param:first-of-type>.param-name:before,json-schema[nesteven=\"true\"]>.params-wrap>.param:last-of-type>.param-name:after{border-color:#f0f0f0}json-schema[nesteven=\"true\"]>.params-wrap>.param:last-of-type>.param-name:after,json-schema[nesteven=\"true\"]>.params-wrap>.param.last>.param-name:after{border-color:#f0f0f0}.param.complex>.param-info{border-bottom:0}.param.additional>.param-name{color:rgba(38,50,56,0.4)}.params-wrap{border-collapse:collapse;width:100%}.params-wrap.params-array:before,.params-wrap.params-array:after{display:block;font-weight:300;color:#263238;font-size:13px;line-height:1.5}.params-wrap.params-array:after{content:\"]\"}.params-wrap.params-array:before{content:\"Array [\";padding-top:1em}.params-wrap.params-array{padding-left:10px}.param-schema.param-array:before{bottom:9.75px;width:10px;border-left-style:dashed;border-bottom:1px dashed rgba(0,51,160,0.5)}.params-wrap.params-array>.param-wrap:first-of-type>.param>.param-name:after{content:\"\";display:block;position:absolute;left:-1px;top:0;border-left:2px solid #fff;height:20px}.params-wrap>.param>.param-schema.param-array{border-left-color:transparent}.param.discriminator>.param-info{padding-bottom:0;border-bottom:0}.param.discriminator>.param-name:after{display:none}.discriminator-info{font-weight:400;margin-bottom:10px}.discriminator-info>span{font-size:0.9em;font-weight:300}.discriminator-wrap:not(.empty)>td{padding:0;position:relative}.discriminator-wrap:not(.empty)>td:before{content:\"\";display:block;position:absolute;left:0;top:0;border-left:1px solid rgba(0,51,160,0.5);height:21px;z-index:1}ul{text-align:left;margin:0;padding:0;display:block}li{margin:0.5em 0.3em 0.2em 0;font-family:Montserrat,sans-serif;font-size:.929em;line-height:.929em;border:0;color:white;padding:2px 8px 4px 8px;border-radius:2px;background-color:rgba(38,50,56,0.3);display:inline-block;cursor:pointer}li:last-of-type{margin-right:0}li.active{background-color:#0033a0}\n `],\n directives: [JsonSchema, DropDown],\n inputs: ['isArray', 'final', 'nestOdd', 'childFor', 'isRequestSchema']\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef]])\nexport class JsonSchema extends BaseComponent {\n constructor(schemaMgr, elementRef) {\n super(schemaMgr);\n this.$element = elementRef.nativeElement;\n this.final = false;\n }\n\n selectDerived(subClassIdx) {\n let subClass = this.schema.derived[subClassIdx];\n if (!subClass || subClass.active) return;\n this.schema.derived.forEach((subSchema) => {\n subSchema.active = false;\n });\n subClass.active = true;\n this.derivedEmtpy = false;\n if (subClass.empty) this.derivedEmtpy = true;\n }\n\n unwrapArray(schema) {\n var res = schema;\n if (schema && schema.type === 'array') {\n let ptr = schema.items._pointer\n || JsonPointer.join(schema._pointer || this.pointer, ['items']);\n res = schema.items;\n res._isArray = true;\n res._pointer = ptr;\n res = this.unwrapArray(res);\n }\n return res;\n }\n\n prepareModel() {\n if (!this.componentSchema) {\n throw new Error(`Can't load component schema at ${this.pointer}`);\n }\n this.dereference();\n\n let schema = this.componentSchema;\n BaseComponent.joinAllOf(schema, {omitParent: true});\n this.schema = schema = this.unwrapArray(schema);\n runInjectors(schema, schema, schema._pointer || this.pointer, this.pointer);\n\n schema.derived = schema.derived || [];\n\n if (!schema.isTrivial) {\n this.prepareObjectPropertiesData(schema);\n }\n\n this.initDerived();\n }\n\n initDerived() {\n if (!this.schema.derived.length) return;\n let enumArr = this.schema.properties[this.schema.properties.length - 1].enum;\n if (enumArr) {\n let enumOrder = {};\n enumArr.forEach((enumItem, idx) => {\n enumOrder[enumItem.val] = idx;\n });\n\n this.schema.derived.sort((a, b) => {\n return enumOrder[a.name] > enumOrder[b.name];\n });\n }\n this.selectDerived(0);\n }\n\n prepareObjectPropertiesData(schema) {\n let requiredMap = {};\n if (schema.required) {\n schema.required.forEach(prop => requiredMap[prop] = true);\n }\n\n let discriminatorFieldIdx = -1;\n let props = schema.properties && Object.keys(schema.properties).map((prop, idx) => {\n let propertySchema = schema.properties[prop];\n let propPointer = propertySchema._pointer ||\n JsonPointer.join(schema._pointer || this.pointer, ['properties', prop]);\n propertySchema = JsonSchema.injectPropertyData(propertySchema, prop, propPointer);\n // stop endless discriminator recursion\n if (propertySchema._pointer === this.childFor) {\n propertySchema._pointer = null;\n }\n propertySchema.required = !!requiredMap[prop];\n propertySchema.isDiscriminator = (schema.discriminator === prop);\n if (propertySchema.isDiscriminator) {\n discriminatorFieldIdx = idx;\n }\n return propertySchema;\n });\n\n props = props || [];\n\n if (schema.additionalProperties && schema.additionalProperties !== false) {\n let propsSchema = this.prepareAdditionalProperties(schema);\n propsSchema._additional = true;\n props.push(propsSchema);\n }\n\n // Move discriminator field to the end of properties list\n if (discriminatorFieldIdx > -1) {\n let discrProp = props.splice(discriminatorFieldIdx, 1);\n props.push(discrProp[0]);\n }\n // filter readOnly props for request schemas\n if (this.isRequestSchema) {\n props = props.filter(prop => !prop.readOnly);\n }\n schema.properties = props;\n }\n\n prepareAdditionalProperties(schema) {\n var addProps = schema.additionalProperties;\n return JsonSchema.injectPropertyData(addProps, '<Additional Properties> *',\n JsonPointer.join(addProps._pointer || schema._pointer || this.pointer, ['additionalProperties']));\n }\n\n static injectPropertyData(propertySchema, propertyName, propPointer, hostPointer) {\n propertySchema = Object.assign({}, propertySchema);\n\n propertySchema._name = propertyName;\n runInjectors(propertySchema, propertySchema, propPointer, hostPointer);\n\n return propertySchema;\n }\n}\n\nfunction runInjectors(injectTo, propertySchema, propertyPointer, hostPointer) {\n for (var injName in injectors) {\n let injector = injectors[injName];\n if (injector.check(propertySchema)) {\n injector.inject(injectTo, propertySchema, propertyPointer, hostPointer);\n }\n }\n}\n\nconst injectors = {\n general: {\n check: () => true,\n inject: (injectTo, propertySchema, pointer) => {\n injectTo._pointer = propertySchema._pointer || pointer;\n injectTo._displayType = propertySchema.type;\n if (propertySchema.format) injectTo._displayFormat = `<${propertySchema.format}>`;\n if (propertySchema.enum) {\n injectTo.enum = propertySchema.enum.map((value) => {\n return {val: value, type: typeof value};\n });\n }\n }\n },\n discriminator: {\n check: (propertySchema) => propertySchema.discriminator,\n inject: (injectTo, propertySchema = injectTo, pointer) => {\n injectTo.derived = SchemaManager.instance().findDerivedDefinitions(pointer);\n injectTo.discriminator = propertySchema.discriminator;\n }\n },\n array: {\n check: (propertySchema) => {\n return propertySchema.type === 'array';\n },\n inject: (injectTo, propertySchema = injectTo, propPointer) => {\n injectTo._isArray = true;\n injectTo._pointer = propertySchema.items._pointer\n || JsonPointer.join(propertySchema._pointer || propPointer, ['items']);\n\n runInjectors(injectTo, propertySchema.items, propPointer);\n }\n },\n object: {\n check: (propertySchema) => {\n return propertySchema.type === 'object' && propertySchema.properties;\n },\n inject: (injectTo, propertySchema = injectTo) => {\n let baseName = propertySchema._pointer && JsonPointer.baseName(propertySchema._pointer);\n injectTo._displayType = propertySchema.title || baseName || 'object';\n }\n },\n noType: {\n check: (propertySchema) => !propertySchema.type,\n inject: (injectTo) => {\n injectTo._displayType = '< * >';\n injectTo._displayTypeHint = 'This field may contain data of any type';\n injectTo.isTrivial = true;\n }\n },\n simpleType: {\n check: (propertySchema) => {\n if (propertySchema.type === 'object') {\n return (!propertySchema.properties || !Object.keys(propertySchema.properties).length)\n && (typeof propertySchema.additionalProperties !== 'object');\n }\n return (propertySchema.type !== 'array') && propertySchema.type;\n },\n inject: (injectTo, propertySchema = injectTo) => {\n injectTo.isTrivial = true;\n if (injectTo._pointer) {\n injectTo._pointer = undefined;\n injectTo._displayType = propertySchema.title ?\n `${propertySchema.title} (${propertySchema.type})` : propertySchema.type;\n }\n }\n },\n integer: {\n check: (propertySchema) => (propertySchema.type === 'integer' || propertySchema.type === 'number'),\n inject: (injectTo, propertySchema = injectTo) => {\n var range = '';\n if (propertySchema.minimum && propertySchema.maximum) {\n range += propertySchema.exclusiveMinimum ? '( ' : '[ ';\n range += propertySchema.minimum;\n range += ' .. ';\n range += propertySchema.maximum;\n range += propertySchema.exclusiveMaximum ? ' )' : ' ]';\n } else if (propertySchema.maximum) {\n range += propertySchema.exclusiveMaximum? '< ' : '<= ';\n range += propertySchema.maximum;\n } else if (propertySchema.minimum) {\n range += propertySchema.exclusiveMinimum ? '> ' : '>= ';\n range += propertySchema.minimum;\n }\n\n if (range) {\n injectTo._range = range;\n }\n }\n },\n string: {\n check: propertySchema => (propertySchema.type === 'string'),\n inject: (injectTo, propertySchema = injectTo) => {\n var range;\n if (propertySchema.minLength && propertySchema.maxLength) {\n range = `[ ${propertySchema.minLength} .. ${propertySchema.maxLength} ]`;\n } else if (propertySchema.maxLength) {\n range = '<= ' + propertySchema.maxLength;\n } else if (propertySchema.minimum) {\n range = '>= ' + propertySchema.minLength;\n }\n\n if (range) {\n injectTo._range = range + ' characters';\n }\n }\n },\n file: {\n check: propertySchema => (propertySchema.type === 'file'),\n inject: (injectTo, propertySchema = injectTo, propPointer, hostPointer) => {\n injectTo.isFile = true;\n let parentPtr;\n if (propertySchema.in === 'formData') {\n parentPtr = JsonPointer.dirName(hostPointer, 1);\n } else {\n parentPtr = JsonPointer.dirName(hostPointer, 3);\n }\n\n let parentParam = SchemaManager.instance().byPointer(parentPtr);\n let root = SchemaManager.instance().schema;\n injectTo._produces = parentParam && parentParam.produces || root.produces;\n injectTo._consumes = parentParam && parentParam.consumes || root.consumes;\n\n }\n }\n};\n","'use strict';\n\nimport { Component, ElementRef, ViewContainerRef } from '@angular/core';\nimport { CORE_DIRECTIVES } from '@angular/common';\nimport { DynamicComponentLoader } from '@angular/core';\n\nimport { JsonSchema } from './json-schema';\nimport { OptionsService } from '../../services/index';\nimport SchemaManager from '../../utils/SchemaManager';\n\n\nvar cache = {};\n\n\n@Component({\n selector: 'json-schema-lazy',\n inputs: ['pointer', 'auto', 'isRequestSchema'],\n template: '',\n directives: [CORE_DIRECTIVES]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ViewContainerRef], [\n ElementRef], [DynamicComponentLoader], [OptionsService]])\nexport class JsonSchemaLazy {\n\n constructor(schemaMgr, viewRef, elementRef, dcl, optionsService) {\n this.viewRef = viewRef;\n this.elementRef = elementRef;\n this.dcl = dcl;\n this.optionsService = optionsService;\n this.schemaMgr = schemaMgr;\n }\n\n normalizePointer() {\n let schema = this.schemaMgr.byPointer(this.pointer);\n return schema && schema.$ref || this.pointer;\n }\n\n load() {\n if (this.optionsService.options.disableLazySchemas) return;\n if (this.loaded) return;\n if (this.pointer) {\n this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n // trigger change detection\n if (compRef.changeDetectorRef) {\n compRef.changeDetectorRef.detectChanges();\n } else {\n compRef.hostView.changeDetectorRef.detectChanges();\n }\n });\n }\n this.loaded = true;\n }\n\n // cache JsonSchema view\n loadCached() {\n this.pointer = this.normalizePointer(this.pointer);\n if (cache[this.pointer]) {\n cache[this.pointer].then((compRef) => {\n setTimeout( ()=> {\n let $element = compRef.location.nativeElement;\n\n // skip caching view with tabs inside (discriminator) as it needs attached controller\n // FIXME: get rid of dependency on selector\n if ($element.querySelector('.discriminator-wrap')) {\n this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n if (compRef.changeDetectorRef) {\n compRef.changeDetectorRef.detectChanges();\n } else {\n compRef.hostView.changeDetectorRef.detectChanges();\n }\n });\n return;\n }\n insertAfter($element.cloneNode(true), this.elementRef.nativeElement);\n } );\n });\n } else {\n cache[this.pointer] = this.dcl.loadNextToLocation(JsonSchema, this.viewRef).then((compRef) => {\n this.initComponent(compRef);\n if (compRef.changeDetectorRef) {\n compRef.changeDetectorRef.detectChanges();\n } else {\n compRef.hostView.changeDetectorRef.detectChanges();\n }\n return compRef;\n });\n }\n }\n\n initComponent(compRef) {\n compRef.instance.pointer = this.pointer;\n compRef.instance.isRequestSchema = this.isRequestSchema;\n }\n\n ngAfterViewInit() {\n if (!this.auto) return;\n this.loadCached();\n }\n\n ngOnDestroy() {\n // clear cache\n cache = {};\n }\n}\n\nfunction insertAfter(newNode, referenceNode) {\n referenceNode.parentNode.insertBefore(newNode, referenceNode.nextSibling);\n}\n","'use strict';\n\nimport {RedocComponent, BaseComponent, SchemaManager} from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport { JsonSchema } from '../JsonSchema/json-schema';\nimport { JsonSchemaLazy } from '../JsonSchema/json-schema-lazy';\nimport { Zippy } from '../../shared/components/index';\nimport { statusCodeType } from '../../utils/helpers';\nimport { OptionsService } from '../../services/index';\n\nfunction isNumeric(n) {\n return (!isNaN(parseFloat(n)) && isFinite(n));\n}\n\n@RedocComponent({\n selector: 'responses-list',\n template: `\n <h2 class=\"responses-list-header\" *ngIf=\"data.responses.length\"> Responses </h2>\n <zippy *ngFor=\"let response of data.responses\" title=\"{{response.code}} {{response.description}}\"\n [type]=\"response.type\" [empty]=\"response.empty\" (open)=\"lazySchema.load()\">\n <div *ngIf=\"response.headers\" class=\"response-headers\">\n <header>\n Headers\n </header>\n <div class=\"header\" *ngFor=\"let header of response.headers\">\n <div class=\"header-name\"> {{header.name}} </div>\n <div class=\"header-type\"> {{header.type}} </div>\n <div class=\"header-description\" innerHtml=\"{{header.description | marked}}\"> </div>\n </div>\n </div>\n <json-schema *ngIf=\"response.schema && options.disableLazySchemas\" class=\"schema type\" pointer=\"{{response.pointer}}/schema\">\n </json-schema>\n <json-schema-lazy #lazySchema pointer=\"{{response.schema ? response.pointer + '/schema' : null}}\">\n </json-schema-lazy>\n </zippy>\n `,\n styles: [`\n .responses-list-header{font-size:18px;padding:0.2em 0;margin:3em 0 1.1em 0;color:#253137;font-weight:normal}:host .zippy-title{font-family:Montserrat,sans-serif}.header-name{font-weight:bold;display:inline-block}.header-type{display:inline-block;font-weight:bold;color:#999}header{font-size:14px;font-weight:bold;text-transform:uppercase;margin-bottom:15px}.header{margin-bottom:10px}\n `],\n directives: [JsonSchema, Zippy, JsonSchemaLazy]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [OptionsService]])\nexport class ResponsesList extends BaseComponent {\n constructor(schemaMgr, optionsMgr) {\n super(schemaMgr);\n this.options = optionsMgr.options;\n }\n\n prepareModel() {\n this.data = {};\n this.data.responses = [];\n\n let responses = this.componentSchema;\n if (!responses) return;\n\n responses = Object.keys(responses).filter(respCode => {\n // only response-codes and \"default\"\n return ( isNumeric(respCode) || (respCode === 'default'));\n }).map(respCode => {\n let resp = responses[respCode];\n resp.pointer = JsonPointer.join(this.pointer, respCode);\n if (resp.$ref) {\n let ref = resp.$ref;\n resp = this.schemaMgr.byPointer(resp.$ref);\n resp.pointer = ref;\n }\n\n resp.empty = !resp.schema;\n resp.code = respCode;\n resp.type = statusCodeType(resp.code);\n if (resp.headers) {\n resp.headers = Object.keys(resp.headers).map((k) => {\n let respInfo = resp.headers[k];\n respInfo.name = k;\n return respInfo;\n });\n resp.empty = false;\n }\n resp.extendable = resp.headers || resp.length;\n return resp;\n });\n this.data.responses = responses;\n }\n}\n","'use strict';\n\nexport function statusCodeType(statusCode) {\n if (statusCode < 100 || statusCode > 599) {\n throw new Error('invalid HTTP code');\n }\n let res = 'success';\n if (statusCode >= 300 && statusCode < 400) {\n res = 'redirect';\n } else if (statusCode >= 400) {\n res = 'error';\n } else if (statusCode < 200) {\n res = 'info';\n }\n return res;\n}\n","'use strict';\n\nimport { forwardRef } from '@angular/core';\nimport { RedocComponent, BaseComponent } from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport { Tabs, Tab } from '../../shared/components/index';\nimport { SchemaSample } from '../index';\nimport { statusCodeType } from '../../utils/helpers';\n\n\nfunction isNumeric(n) {\n return (!isNaN(parseFloat(n)) && isFinite(n));\n}\n\nfunction hasExample(response) {\n return ((response.examples && response.examples['application/json']) ||\n response.schema);\n}\n\n@RedocComponent({\n selector: 'responses-samples',\n template: `\n <header *ngIf=\"data.responses.length\"> Response samples </header>\n <tabs *ngIf=\"data.responses.length\">\n <tab *ngFor=\"let response of data.responses\" tabTitle=\"{{response.code}} {{response.description}}\"\n [tabStatus]=\"response.type\">\n <schema-sample [pointer]=\"response.pointer\"></schema-sample>\n </tab>\n </tabs>\n `,\n styles: [`\n tab,tabs{display:block}schema-sample{display:block}header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:0.929em;border-radius:2px;margin:2px 0;padding:2px 8px 3px 8px;color:#9fb4be;line-height:1.25}:host>tabs>ul li:hover{color:#ffffff;background-color:rgba(255,255,255,0.1)}:host>tabs>ul li.active{background-color:white;color:#263238}:host tabs ul{padding-top:10px}\n `],\n directives: [forwardRef( ()=> SchemaSample), Tabs, Tab]\n})\nexport class ResponsesSamples extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n this.data.responses = [];\n\n let responses = this.componentSchema;\n if (!responses) return;\n\n responses = Object.keys(responses).filter(respCode => {\n // only response-codes and \"default\"\n return ( isNumeric(respCode) || (respCode === 'default'));\n }).map(respCode => {\n let resp = responses[respCode];\n resp.pointer = JsonPointer.join(this.pointer, respCode);\n if (resp.$ref) {\n let ref = resp.$ref;\n resp = this.schemaMgr.byPointer(resp.$ref);\n resp.pointer = ref;\n }\n\n resp.code = respCode;\n resp.type = statusCodeType(resp.code);\n return resp;\n })\n .filter(response => hasExample(response));\n this.data.responses = responses;\n }\n}\n","/* */ \n'use strict';\n\n// The JSON Object that defines the default values of certain types.\nvar typesInstantiator = {\n 'string': '',\n 'number': 0,\n 'integer': 0,\n 'null': null,\n 'boolean': false, // Always stay positive?\n 'object': { }\n};\n\n/**\n * Checks whether a variable is a primitive.\n * @param obj - an object.\n * @returns {boolean}\n */\nfunction isPrimitive(obj) {\n var type = obj.type;\n\n return typesInstantiator[type] !== undefined;\n}\n\n/**\n * Instantiate a primitive.\n * @param val - The object that represents the primitive.\n * @returns {*}\n */\nfunction instantiatePrimitive(val) {\n var type = val.type;\n\n // Support for default values in the JSON Schema.\n if (val.default) {\n return val.default;\n }\n\n return typesInstantiator[type];\n}\n\n/**\n * The main function.\n * Calls sub-objects recursively, depth first, using the sub-function 'visit'.\n * @param schema - The schema to instantiate.\n * @returns {*}\n */\nfunction instantiate(schema) {\n\n /**\n * Visits each sub-object using recursion.\n * If it reaches a primitive, instantiate it.\n * @param obj - The object that represents the schema.\n * @param name - The name of the current object.\n * @param data - The instance data that represents the current object.\n */\n function visit(obj, name, data) {\n if (!obj) {\n return;\n }\n var i;\n var type = obj.type;\n // We want non-primitives objects (primitive === object w/o properties).\n if (type === 'object' && obj.properties) {\n data[name] = data[name] || { };\n\n // Visit each property.\n for (var property in obj.properties) {\n if (obj.properties.hasOwnProperty(property)) {\n visit(obj.properties[property], property, data[name]);\n }\n }\n } else if (obj.allOf) {\n for (i = 0; i < obj.allOf.length; i++) {\n visit(obj.allOf[i], name, data);\n }\n } else if (type === 'array') {\n data[name] = [];\n var len = 1;\n if (obj.minItems || obj.minItems === 0) {\n len = obj.minItems;\n }\n\n // Instantiate 'len' items.\n for (i = 0; i < len; i++) {\n visit(obj.items, i, data[name]);\n }\n\n } else if (isPrimitive(obj)) {\n data[name] = instantiatePrimitive(obj);\n }\n }\n\n var data = {};\n visit(schema, 'kek', data);\n return data['kek'];\n}\n\n// If we're using Node.js, export the module.\nif (typeof module !== 'undefined') {\n module.exports = {\n instantiate: instantiate\n };\n}\n","/* */ \nmodule.exports = require('./src/instantiator');\n","module.exports = require(\"npm:json-schema-instantiator@0.3.0/index.js\");","'use strict';\nimport {Pipe} from '@angular/core';\nimport {isBlank} from '@angular/core/src/facade/lang';\n\nvar level = 1;\nconst COLLAPSE_LEVEL = 2;\n\n@Pipe({ name: 'jsonFormatter' })\nexport class JsonFormatter {\n transform(value) {\n if (isBlank(value)) return value;\n return jsonToHTML(value);\n }\n}\n\nfunction htmlEncode(t) {\n return t != null ? t.toString().replace(/&/g, '&').replace(/\"/g, '"').replace(/</g, '<').replace(/>/g, '>') : '';\n}\n\nfunction decorateWithSpan(value, className) {\n return '<span class=\"' + className + '\">' + htmlEncode(value) + '</span>';\n}\n\nfunction valueToHTML(value) {\n var valueType = typeof value, output = '';\n if (value == null) {\n output += decorateWithSpan('null', 'type-null');\n }\n else if (value && value.constructor === Array) {\n level++;\n output += arrayToHTML(value);\n level--;\n }\n else if (valueType === 'object') {\n level++;\n output += objectToHTML(value);\n level--;\n }\n else if (valueType === 'number') {\n output += decorateWithSpan(value, 'type-number');\n }\n else if (valueType === 'string') {\n if (/^(http|https):\\/\\/[^\\\\s]+$/.test(value)) {\n output += decorateWithSpan('\"', 'type-string') + '<a href=\"' + value + '\">' + htmlEncode(value) + '</a>' + decorateWithSpan('\"', 'type-string');\n } else {\n output += decorateWithSpan('\"' + value + '\"', 'type-string');\n }\n } else if (valueType === 'boolean') {\n output += decorateWithSpan(value, 'type-boolean');\n }\n\n return output;\n}\n\nfunction arrayToHTML(json) {\n var collapsed = level > COLLAPSE_LEVEL ? 'collapsed' : '';\n var i, length;\n var output = '<div class=\"collapser\"></div>[<span class=\"ellipsis\"></span><ul class=\"array collapsible\">';\n var hasContents = false;\n for (i = 0, length = json.length; i < length; i++) {\n hasContents = true;\n output += '<li><div class=\"hoverable ' + collapsed + '\">';\n output += valueToHTML(json[i]);\n if (i < length - 1) {\n output += ',';\n }\n output += '</div></li>';\n }\n output += '</ul>]';\n if (!hasContents) {\n output = '[ ]';\n }\n return output;\n}\n\nfunction objectToHTML(json) {\n var collapsed = level > COLLAPSE_LEVEL ? 'collapsed' : '';\n var i, key, length, keys = Object.keys(json);\n var output = '<div class=\"collapser\"></div>{<span class=\"ellipsis\"></span><ul class=\"obj collapsible\">';\n var hasContents = false;\n for (i = 0, length = keys.length; i < length; i++) {\n key = keys[i];\n hasContents = true;\n output += '<li><div class=\"hoverable ' + collapsed + '\">';\n output += '<span class=\"property\">' + htmlEncode(key) + '</span>: ';\n output += valueToHTML(json[key]);\n if (i < length - 1) {\n output += ',';\n }\n output += '</div></li>';\n }\n output += '</ul>}';\n if (!hasContents) {\n output = '{ }';\n }\n return output;\n}\n\nfunction jsonToHTML(json) {\n level = 1;\n var output = '';\n output += '<div class=\"redoc-json\">';\n output += valueToHTML(json);\n output += '</div>';\n return output;\n}\n","'use strict';\n\nimport { ElementRef } from '@angular/core';\n\nimport SchemaSampler from 'json-schema-instantiator';\n\nimport { RedocComponent, BaseComponent, SchemaManager } from '../base';\nimport { JsonFormatter } from '../../utils/JsonFormatterPipe';\n\n@RedocComponent({\n selector: 'schema-sample',\n template: `\n <div class=\"snippet\">\n <!-- in case sample is not available for some reason -->\n <pre *ngIf=\"data.sample == null\"> Sample unavailable </pre>\n <pre innerHtml=\"{{data.sample | jsonFormatter}}\"></pre>\n </div>\n `,\n pipes: [JsonFormatter],\n styles: [`\n pre{background-color:transparent;padding:0}:host .type-null{color:gray}:host .type-boolean{color:firebrick}:host .type-number{color:#4A8BB3}:host .type-string{color:#66B16E}:host .callback-function{color:gray}:host .collapser:after{content:\"-\";cursor:pointer}:host .collapsed>.collapser:after{content:\"+\";cursor:pointer}:host .ellipsis:after{content:\" … \"}:host .collapsible{margin-left:2em}:host .hoverable{padding-top:1px;padding-bottom:1px;padding-left:2px;padding-right:2px;border-radius:2px}:host .hovered{background-color:#ebeef9}:host .collapser{padding-right:6px;padding-left:6px}:host .redoc-json{padding:20px;border-radius:4px;background-color:#222d32;margin-bottom:36px}:host ul,:host .redoc-json ul{list-style-type:none;padding:0px;margin:0px 0px 0px 26px}:host li{position:relative}:host .hoverable{transition:background-color .2s ease-out 0s;-webkit-transition:background-color .2s ease-out 0s;display:inline-block}:host .hovered{transition-delay:.2s;-webkit-transition-delay:.2s}:host .selected{outline-style:solid;outline-width:1px;outline-style:dotted}:host .collapsed>.collapsible{display:none}:host .ellipsis{display:none}:host .collapsed>.ellipsis{display:inherit}:host .collapser{position:absolute;top:1px;left:-1.5em;cursor:default;user-select:none;-webkit-user-select:none}\n `]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef]])\nexport class SchemaSample extends BaseComponent {\n constructor(schemaMgr, elementRef) {\n super(schemaMgr);\n this.element = elementRef.nativeElement;\n }\n\n init() {\n this.data = {};\n\n let base = {};\n let sample;\n\n // got pointer not directly to the schema but e.g. to response obj\n if (this.componentSchema.schema) {\n base = this.componentSchema;\n this.componentSchema = this.componentSchema.schema;\n }\n\n if (base.examples && base.examples['application/json']) {\n sample = base.examples['application/json'];\n } else {\n this.dereference(this.componentSchema);\n sample = SchemaSampler.instantiate(this.componentSchema);\n }\n\n this.data.sample = sample;\n\n\n this.element.addEventListener('click', (event) => {\n var collapsed, target = event.target;\n if (event.target.className === 'collapser') {\n collapsed = target.parentNode.getElementsByClassName('collapsible')[0];\n if (collapsed.parentNode.classList.contains('collapsed')) {\n collapsed.parentNode.classList.remove('collapsed');\n } else {\n collapsed.parentNode.classList.add('collapsed');\n }\n }\n });\n }\n}\n","'use strict';\n\nimport { ViewChildren, QueryList } from '@angular/core';\n\nimport { RedocComponent, BaseComponent, SchemaManager } from '../base';\nimport JsonPointer from '../../utils/JsonPointer';\nimport { Tabs, Tab } from '../../shared/components/index';\nimport { SchemaSample } from '../SchemaSample/schema-sample';\nimport { PrismPipe } from '../../utils/pipes';\nimport { RedocEventsService } from '../../services/index';\n\n@RedocComponent({\n selector: 'request-samples',\n template: `\n <header *ngIf=\"data.schemaPointer || data.samples.length\"> Request samples </header>\n <schema-sample *ngIf=\"!data.samples.length\" [pointer]=\"data.schemaPointer\"> </schema-sample>\n <tabs *ngIf=\"data.samples.length\" (change)=changeLangNotify($event)>\n <tab tabTitle=\"JSON\">\n <schema-sample [pointer]=\"data.schemaPointer\"> </schema-sample>\n </tab>\n <tab *ngFor=\"let sample of data.samples\" [tabTitle]=\"sample.lang\">\n <pre innerHtml=\"{{sample.source | prism:sample.lang}}\"></pre>\n </tab>\n </tabs>\n `,\n styles: [`\n header{font-family:Montserrat;font-size:0.929em;text-transform:uppercase;margin:0;color:#9fb4be;text-transform:uppercase;font-weight:normal}:host>tabs>ul li{font-family:Montserrat;font-size:.9em;border-radius:2px;margin:2px 0;padding:3px 10px 2px 10px;line-height:1.25;color:#9fb4be}:host>tabs>ul li:hover{background-color:rgba(255,255,255,0.1);color:#ffffff}:host>tabs>ul li.active{background-color:#ffffff;color:#263238}:host tabs ul{padding-top:10px}pre{overflow-x:auto;word-break:break-all;word-wrap:break-word;white-space:pre-wrap}\n `],\n directives: [SchemaSample, Tabs, Tab],\n inputs: ['schemaPointer'],\n pipes: [PrismPipe]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [RedocEventsService], [new ViewChildren(Tabs), QueryList]])\nexport class RequestSamples extends BaseComponent {\n constructor(schemaMgr, events, childQuery) {\n super(schemaMgr);\n childQuery.changes.subscribe(() => {\n this.childTabs = childQuery.first;\n });\n this.events = events;\n }\n\n init() {\n this.subscribeForEvents();\n }\n\n changeLangNotify(lang) {\n this.events.samplesLanguageChanged.next(lang);\n }\n\n subscribeForEvents() {\n this.events.samplesLanguageChanged.subscribe((sampleLang) => {\n if (!this.childTabs) return;\n this.childTabs.selectyByTitle(sampleLang);\n });\n }\n\n prepareModel() {\n this.data = {};\n this.data.schemaPointer = JsonPointer.join(this.schemaPointer, 'schema');\n this.data.samples = this.componentSchema['x-code-samples'] || [];\n }\n}\n","'use strict';\n\nimport { JsonPointer } from '../../utils/JsonPointer';\nimport { RedocComponent, BaseComponent } from '../base';\n\nimport { ParamsList } from '../ParamsList/params-list';\nimport { ResponsesList } from '../ResponsesList/responses-list';\nimport { ResponsesSamples } from '../ResponsesSamples/responses-samples';\nimport { SchemaSample } from '../SchemaSample/schema-sample';\nimport { RequestSamples } from '../RequestSamples/request-samples';\n\n@RedocComponent({\n selector: 'method',\n template: `\n <div class=\"method\">\n <div class=\"method-content\">\n <h2 class=\"method-header sharable-header\">\n <a class=\"share-link\" href=\"#{{data.methodAnchor}}\"></a>{{data.methodInfo.summary}}\n </h2>\n <div class=\"method-tags\" *ngIf=\"data.methodInfo.tags.length\">\n <a *ngFor=\"let tag of data.methodInfo.tags\" attr.href=\"#{{tag}}\"> {{tag}} </a>\n </div>\n <p *ngIf=\"data.methodInfo.description\" class=\"method-description\"\n innerHtml=\"{{data.methodInfo.description | marked}}\">\n </p>\n <params-list pointer=\"{{pointer}}/parameters\"> </params-list>\n <responses-list pointer=\"{{pointer}}/responses\"> </responses-list>\n </div>\n <div class=\"method-samples\">\n <h5>Definition</h5>\n <span class=\"method-endpoint\">\n <h5 class=\"http-method\" [ngClass]=\"data.httpMethod\">{{data.httpMethod}}</h5>\n <span class=\"api-url\">{{data.apiUrl}}</span><span class=\"path\">{{data.path}}</span>\n </span>\n <div *ngIf=\"data.bodyParam\">\n <br>\n <request-samples [pointer]=\"pointer\" [schemaPointer]=\"data.bodyParam._pointer\">\n </request-samples>\n </div>\n <div>\n <br>\n <responses-samples pointer=\"{{pointer}}/responses\"> </responses-samples>\n </div>\n </div>\n <div>\n `,\n styles: [`\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:\"\";width:15px;height:15px;background-size:contain;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==\");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}:host{padding-bottom:100px;display:block;border-bottom:1px solid rgba(127,127,127,0.25)}responses-list,params-list{display:block}.method-header{margin-bottom:.9em}.method-endpoint{margin:0 0 2em 0;padding:10px 20px;border-radius:4px;background-color:#222d32;display:block;font-weight:300}.method-endpoint>h5{padding-top:1px;padding-bottom:0;margin:0;font-size:.8em;color:#263238;vertical-align:middle;display:inline-block;border-radius:2px}.api-url{color:rgba(255,255,255,0.8);margin-left:10px;margin-top:2px;position:relative;top:1px;font-family:Montserrat,sans-serif;font-size:0.929em !important}.path{font-family:Montserrat,sans-serif;position:relative;top:1px;color:#ffffff;font-size:0.929em !important}.method-tags{margin-top:20px}.method-tags a{font-size:16px;color:#999;display:inline-block;padding:0 0.5em;text-decoration:none}.method-tags a:before{content:'#';margin-right:-0.4em}.method-tags a:first-of-type{padding:0}.method-content,.method-samples{display:block;box-sizing:border-box;float:left}.method-content{width:60%;padding:40px}.method-samples{color:#fafbfc;width:40%;padding:40px;background:#263238}responses-samples{display:block}.method-samples header,.method-samples>h5{color:#9fb4be;text-transform:uppercase}.method-samples>h5{margin-bottom:8px}.method-samples schema-sample{display:block}.method:after{content:\"\";display:table;clear:both}.method-description{padding:6px 0 10px 0;margin:0}.http-method{color:#263238;background:#ffffff;padding:3px 10px;text-transform:uppercase}@media (max-width: 1100px){.methods:before{display:none}.method-samples,.method-content{width:100%}.method-samples{margin-top:2em}:host{padding-bottom:0}}\n `],\n directives: [ ParamsList, ResponsesList, ResponsesSamples, SchemaSample, RequestSamples ],\n inputs: ['tag']\n})\nexport class Method extends BaseComponent {\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n this.data.apiUrl = this.schemaMgr.apiUrl;\n this.data.httpMethod = JsonPointer.baseName(this.pointer);\n this.data.path = JsonPointer.baseName(this.pointer, 2);\n this.data.methodInfo = this.componentSchema;\n this.data.methodInfo.tags = this.filterMainTags(this.data.methodInfo.tags);\n this.data.bodyParam = this.findBodyParam();\n if (this.componentSchema.operationId) {\n this.data.methodAnchor = 'operation/' + encodeURIComponent(this.componentSchema.operationId);\n } else {\n this.data.methodAnchor = 'tag/' + encodeURIComponent(this.tag + this.pointer);\n }\n }\n\n filterMainTags(tags) {\n var tagsMap = this.schemaMgr.getTagsMap();\n if (!tags) return [];\n return tags.filter(tag => tagsMap[tag] && tagsMap[tag]['x-traitTag']);\n }\n\n findBodyParam() {\n let pathParams = this.schemaMgr.getMethodParams(this.pointer, true);\n let bodyParam = pathParams.find(param => param.in === 'body');\n return bodyParam;\n }\n}\n","'use strict';\n\nimport { forwardRef } from '@angular/core';\nimport { RedocComponent, BaseComponent } from '../base';\nimport { Method } from '../Method/method';\nimport { EncodeURIComponentPipe } from '../../utils/pipes';\n\n@RedocComponent({\n selector: 'methods-list',\n template: `\n <div class=\"methods\">\n <div class=\"tag\" *ngFor=\"let tag of data.tags\">\n <div class=\"tag-info\" [attr.tag]=\"tag.name\">\n <h1 class=\"sharable-header\"> <a class=\"share-link\" href=\"#tag/{{tag.name | encodeURIComponent}}\"></a>{{tag.name}} </h1>\n <p *ngIf=\"tag.description\" innerHtml=\"{{ tag.description | marked }}\"> </p>\n </div>\n <method *ngFor=\"let method of tag.methods\" [pointer]=\"method.pointer\" [attr.pointer]=\"method.pointer\"\n [attr.tag]=\"method.tag\" [tag]=\"method.tag\" [attr.operation-id]=\"method.operationId\"></method>\n </div>\n </div>\n `,\n styles: [`\n .share-link{cursor:pointer;margin-left:-15px;padding:0;line-height:1;width:15px;display:inline-block}.share-link:before{content:\"\";width:15px;height:15px;background-size:contain;background-image:url(\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgeD0iMCIgeT0iMCIgd2lkdGg9IjUxMiIgaGVpZ2h0PSI1MTIiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1MTIgNTEyIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSIjMDEwMTAxIiBkPSJNNDU5LjcgMjMzLjRsLTkwLjUgOTAuNWMtNTAgNTAtMTMxIDUwLTE4MSAwIC03LjktNy44LTE0LTE2LjctMTkuNC0yNS44bDQyLjEtNDIuMWMyLTIgNC41LTMuMiA2LjgtNC41IDIuOSA5LjkgOCAxOS4zIDE1LjggMjcuMiAyNSAyNSA2NS42IDI0LjkgOTAuNSAwbDkwLjUtOTAuNWMyNS0yNSAyNS02NS42IDAtOTAuNSAtMjQuOS0yNS02NS41LTI1LTkwLjUgMGwtMzIuMiAzMi4yYy0yNi4xLTEwLjItNTQuMi0xMi45LTgxLjYtOC45bDY4LjYtNjguNmM1MC01MCAxMzEtNTAgMTgxIDBDNTA5LjYgMTAyLjMgNTA5LjYgMTgzLjQgNDU5LjcgMjMzLjR6TTIyMC4zIDM4Mi4ybC0zMi4yIDMyLjJjLTI1IDI0LjktNjUuNiAyNC45LTkwLjUgMCAtMjUtMjUtMjUtNjUuNiAwLTkwLjVsOTAuNS05MC41YzI1LTI1IDY1LjUtMjUgOTAuNSAwIDcuOCA3LjggMTIuOSAxNy4yIDE1LjggMjcuMSAyLjQtMS40IDQuOC0yLjUgNi44LTQuNWw0Mi4xLTQyYy01LjQtOS4yLTExLjYtMTgtMTkuNC0yNS44IC01MC01MC0xMzEtNTAtMTgxIDBsLTkwLjUgOTAuNWMtNTAgNTAtNTAgMTMxIDAgMTgxIDUwIDUwIDEzMSA1MCAxODEgMGw2OC42LTY4LjZDMjc0LjYgMzk1LjEgMjQ2LjQgMzkyLjMgMjIwLjMgMzgyLjJ6Ii8+PC9zdmc+Cg==\");opacity:0.5;visibility:hidden;display:inline-block;vertical-align:middle}.sharable-header{color:#263238}.sharable-header:hover .share-link:before,.share-link:hover:before{visibility:visible}.tag-info{padding:40px;box-sizing:border-box;background-color:white;width:60%}@media (max-width: 1100px){.tag-info{width:100%}}.tag-info:after,.tag-info:before{content:\"\";display:table}.tag-info h1{color:#0033a0;text-transform:capitalize;font-weight:normal}.methods{display:block;position:relative}\n `],\n directives: [ forwardRef(() => Method) ],\n pipes: [ EncodeURIComponentPipe ]\n})\nexport class MethodsList extends BaseComponent {\n\n constructor(schemaMgr) {\n super(schemaMgr);\n }\n\n prepareModel() {\n this.data = {};\n // follow SwaggerUI behavior for cases when one method has more than one tag:\n // duplicate methods\n\n let menuStructure = this.schemaMgr.buildMenuTree();\n let tags = Array.from(menuStructure.entries())\n .map((entry) => {\n let [tag, {description, methods}] = entry;\n // inject tag name into method info\n methods = methods || [];\n methods.forEach(method => {\n method.tag = tag;\n });\n return {\n name: tag,\n description: description,\n methods: methods\n };\n });\n this.data.tags = tags;\n // TODO: check $ref field\n }\n}\n","/* */ \n\"use strict\";\nvar _Array$from = require('../core-js/array/from')[\"default\"];\nexports[\"default\"] = function(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0,\n arr2 = Array(arr.length); i < arr.length; i++)\n arr2[i] = arr[i];\n return arr2;\n } else {\n return _Array$from(arr);\n }\n};\nexports.__esModule = true;\n","\n/* **********************************************\n Begin prism-core.js\n********************************************** */\n\nvar _self = (typeof window !== 'undefined')\n\t? window // if in browser\n\t: (\n\t\t(typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope)\n\t\t? self // if in worker\n\t\t: {} // if in node js\n\t);\n\n/**\n * Prism: Lightweight, robust, elegant syntax highlighting\n * MIT license http://www.opensource.org/licenses/mit-license.php/\n * @author Lea Verou http://lea.verou.me\n */\n\nvar Prism = (function(){\n\n// Private helper vars\nvar lang = /\\blang(?:uage)?-(?!\\*)(\\w+)\\b/i;\n\nvar _ = _self.Prism = {\n\tutil: {\n\t\tencode: function (tokens) {\n\t\t\tif (tokens instanceof Token) {\n\t\t\t\treturn new Token(tokens.type, _.util.encode(tokens.content), tokens.alias);\n\t\t\t} else if (_.util.type(tokens) === 'Array') {\n\t\t\t\treturn tokens.map(_.util.encode);\n\t\t\t} else {\n\t\t\t\treturn tokens.replace(/&/g, '&').replace(/</g, '<').replace(/\\u00a0/g, ' ');\n\t\t\t}\n\t\t},\n\n\t\ttype: function (o) {\n\t\t\treturn Object.prototype.toString.call(o).match(/\\[object (\\w+)\\]/)[1];\n\t\t},\n\n\t\t// Deep clone a language definition (e.g. to extend it)\n\t\tclone: function (o) {\n\t\t\tvar type = _.util.type(o);\n\n\t\t\tswitch (type) {\n\t\t\t\tcase 'Object':\n\t\t\t\t\tvar clone = {};\n\n\t\t\t\t\tfor (var key in o) {\n\t\t\t\t\t\tif (o.hasOwnProperty(key)) {\n\t\t\t\t\t\t\tclone[key] = _.util.clone(o[key]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn clone;\n\n\t\t\t\tcase 'Array':\n\t\t\t\t\t// Check for existence for IE8\n\t\t\t\t\treturn o.map && o.map(function(v) { return _.util.clone(v); });\n\t\t\t}\n\n\t\t\treturn o;\n\t\t}\n\t},\n\n\tlanguages: {\n\t\textend: function (id, redef) {\n\t\t\tvar lang = _.util.clone(_.languages[id]);\n\n\t\t\tfor (var key in redef) {\n\t\t\t\tlang[key] = redef[key];\n\t\t\t}\n\n\t\t\treturn lang;\n\t\t},\n\n\t\t/**\n\t\t * Insert a token before another token in a language literal\n\t\t * As this needs to recreate the object (we cannot actually insert before keys in object literals),\n\t\t * we cannot just provide an object, we need anobject and a key.\n\t\t * @param inside The key (or language id) of the parent\n\t\t * @param before The key to insert before. If not provided, the function appends instead.\n\t\t * @param insert Object with the key/value pairs to insert\n\t\t * @param root The object that contains `inside`. If equal to Prism.languages, it can be omitted.\n\t\t */\n\t\tinsertBefore: function (inside, before, insert, root) {\n\t\t\troot = root || _.languages;\n\t\t\tvar grammar = root[inside];\n\t\t\t\n\t\t\tif (arguments.length == 2) {\n\t\t\t\tinsert = arguments[1];\n\t\t\t\t\n\t\t\t\tfor (var newToken in insert) {\n\t\t\t\t\tif (insert.hasOwnProperty(newToken)) {\n\t\t\t\t\t\tgrammar[newToken] = insert[newToken];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\treturn grammar;\n\t\t\t}\n\t\t\t\n\t\t\tvar ret = {};\n\n\t\t\tfor (var token in grammar) {\n\n\t\t\t\tif (grammar.hasOwnProperty(token)) {\n\n\t\t\t\t\tif (token == before) {\n\n\t\t\t\t\t\tfor (var newToken in insert) {\n\n\t\t\t\t\t\t\tif (insert.hasOwnProperty(newToken)) {\n\t\t\t\t\t\t\t\tret[newToken] = insert[newToken];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tret[token] = grammar[token];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t// Update references in other language definitions\n\t\t\t_.languages.DFS(_.languages, function(key, value) {\n\t\t\t\tif (value === root[inside] && key != inside) {\n\t\t\t\t\tthis[key] = ret;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn root[inside] = ret;\n\t\t},\n\n\t\t// Traverse a language definition with Depth First Search\n\t\tDFS: function(o, callback, type) {\n\t\t\tfor (var i in o) {\n\t\t\t\tif (o.hasOwnProperty(i)) {\n\t\t\t\t\tcallback.call(o, i, o[i], type || i);\n\n\t\t\t\t\tif (_.util.type(o[i]) === 'Object') {\n\t\t\t\t\t\t_.languages.DFS(o[i], callback);\n\t\t\t\t\t}\n\t\t\t\t\telse if (_.util.type(o[i]) === 'Array') {\n\t\t\t\t\t\t_.languages.DFS(o[i], callback, i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\tplugins: {},\n\t\n\thighlightAll: function(async, callback) {\n\t\tvar elements = document.querySelectorAll('code[class*=\"language-\"], [class*=\"language-\"] code, code[class*=\"lang-\"], [class*=\"lang-\"] code');\n\n\t\tfor (var i=0, element; element = elements[i++];) {\n\t\t\t_.highlightElement(element, async === true, callback);\n\t\t}\n\t},\n\n\thighlightElement: function(element, async, callback) {\n\t\t// Find language\n\t\tvar language, grammar, parent = element;\n\n\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\tparent = parent.parentNode;\n\t\t}\n\n\t\tif (parent) {\n\t\t\tlanguage = (parent.className.match(lang) || [,''])[1];\n\t\t\tgrammar = _.languages[language];\n\t\t}\n\n\t\t// Set language on the element, if not present\n\t\telement.className = element.className.replace(lang, '').replace(/\\s+/g, ' ') + ' language-' + language;\n\n\t\t// Set language on the parent, for styling\n\t\tparent = element.parentNode;\n\n\t\tif (/pre/i.test(parent.nodeName)) {\n\t\t\tparent.className = parent.className.replace(lang, '').replace(/\\s+/g, ' ') + ' language-' + language;\n\t\t}\n\n\t\tvar code = element.textContent;\n\n\t\tvar env = {\n\t\t\telement: element,\n\t\t\tlanguage: language,\n\t\t\tgrammar: grammar,\n\t\t\tcode: code\n\t\t};\n\n\t\tif (!code || !grammar) {\n\t\t\t_.hooks.run('complete', env);\n\t\t\treturn;\n\t\t}\n\n\t\t_.hooks.run('before-highlight', env);\n\n\t\tif (async && _self.Worker) {\n\t\t\tvar worker = new Worker(_.filename);\n\n\t\t\tworker.onmessage = function(evt) {\n\t\t\t\tenv.highlightedCode = evt.data;\n\n\t\t\t\t_.hooks.run('before-insert', env);\n\n\t\t\t\tenv.element.innerHTML = env.highlightedCode;\n\n\t\t\t\tcallback && callback.call(env.element);\n\t\t\t\t_.hooks.run('after-highlight', env);\n\t\t\t\t_.hooks.run('complete', env);\n\t\t\t};\n\n\t\t\tworker.postMessage(JSON.stringify({\n\t\t\t\tlanguage: env.language,\n\t\t\t\tcode: env.code,\n\t\t\t\timmediateClose: true\n\t\t\t}));\n\t\t}\n\t\telse {\n\t\t\tenv.highlightedCode = _.highlight(env.code, env.grammar, env.language);\n\n\t\t\t_.hooks.run('before-insert', env);\n\n\t\t\tenv.element.innerHTML = env.highlightedCode;\n\n\t\t\tcallback && callback.call(element);\n\n\t\t\t_.hooks.run('after-highlight', env);\n\t\t\t_.hooks.run('complete', env);\n\t\t}\n\t},\n\n\thighlight: function (text, grammar, language) {\n\t\tvar tokens = _.tokenize(text, grammar);\n\t\treturn Token.stringify(_.util.encode(tokens), language);\n\t},\n\n\ttokenize: function(text, grammar, language) {\n\t\tvar Token = _.Token;\n\n\t\tvar strarr = [text];\n\n\t\tvar rest = grammar.rest;\n\n\t\tif (rest) {\n\t\t\tfor (var token in rest) {\n\t\t\t\tgrammar[token] = rest[token];\n\t\t\t}\n\n\t\t\tdelete grammar.rest;\n\t\t}\n\n\t\ttokenloop: for (var token in grammar) {\n\t\t\tif(!grammar.hasOwnProperty(token) || !grammar[token]) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tvar patterns = grammar[token];\n\t\t\tpatterns = (_.util.type(patterns) === \"Array\") ? patterns : [patterns];\n\n\t\t\tfor (var j = 0; j < patterns.length; ++j) {\n\t\t\t\tvar pattern = patterns[j],\n\t\t\t\t\tinside = pattern.inside,\n\t\t\t\t\tlookbehind = !!pattern.lookbehind,\n\t\t\t\t\tlookbehindLength = 0,\n\t\t\t\t\talias = pattern.alias;\n\n\t\t\t\tpattern = pattern.pattern || pattern;\n\n\t\t\t\tfor (var i=0; i<strarr.length; i++) { // Don’t cache length as it changes during the loop\n\n\t\t\t\t\tvar str = strarr[i];\n\n\t\t\t\t\tif (strarr.length > text.length) {\n\t\t\t\t\t\t// Something went terribly wrong, ABORT, ABORT!\n\t\t\t\t\t\tbreak tokenloop;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (str instanceof Token) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tpattern.lastIndex = 0;\n\n\t\t\t\t\tvar match = pattern.exec(str);\n\n\t\t\t\t\tif (match) {\n\t\t\t\t\t\tif(lookbehind) {\n\t\t\t\t\t\t\tlookbehindLength = match[1].length;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar from = match.index - 1 + lookbehindLength,\n\t\t\t\t\t\t\tmatch = match[0].slice(lookbehindLength),\n\t\t\t\t\t\t\tlen = match.length,\n\t\t\t\t\t\t\tto = from + len,\n\t\t\t\t\t\t\tbefore = str.slice(0, from + 1),\n\t\t\t\t\t\t\tafter = str.slice(to + 1);\n\n\t\t\t\t\t\tvar args = [i, 1];\n\n\t\t\t\t\t\tif (before) {\n\t\t\t\t\t\t\targs.push(before);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tvar wrapped = new Token(token, inside? _.tokenize(match, inside) : match, alias);\n\n\t\t\t\t\t\targs.push(wrapped);\n\n\t\t\t\t\t\tif (after) {\n\t\t\t\t\t\t\targs.push(after);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tArray.prototype.splice.apply(strarr, args);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn strarr;\n\t},\n\n\thooks: {\n\t\tall: {},\n\n\t\tadd: function (name, callback) {\n\t\t\tvar hooks = _.hooks.all;\n\n\t\t\thooks[name] = hooks[name] || [];\n\n\t\t\thooks[name].push(callback);\n\t\t},\n\n\t\trun: function (name, env) {\n\t\t\tvar callbacks = _.hooks.all[name];\n\n\t\t\tif (!callbacks || !callbacks.length) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tfor (var i=0, callback; callback = callbacks[i++];) {\n\t\t\t\tcallback(env);\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar Token = _.Token = function(type, content, alias) {\n\tthis.type = type;\n\tthis.content = content;\n\tthis.alias = alias;\n};\n\nToken.stringify = function(o, language, parent) {\n\tif (typeof o == 'string') {\n\t\treturn o;\n\t}\n\n\tif (_.util.type(o) === 'Array') {\n\t\treturn o.map(function(element) {\n\t\t\treturn Token.stringify(element, language, o);\n\t\t}).join('');\n\t}\n\n\tvar env = {\n\t\ttype: o.type,\n\t\tcontent: Token.stringify(o.content, language, parent),\n\t\ttag: 'span',\n\t\tclasses: ['token', o.type],\n\t\tattributes: {},\n\t\tlanguage: language,\n\t\tparent: parent\n\t};\n\n\tif (env.type == 'comment') {\n\t\tenv.attributes['spellcheck'] = 'true';\n\t}\n\n\tif (o.alias) {\n\t\tvar aliases = _.util.type(o.alias) === 'Array' ? o.alias : [o.alias];\n\t\tArray.prototype.push.apply(env.classes, aliases);\n\t}\n\n\t_.hooks.run('wrap', env);\n\n\tvar attributes = '';\n\n\tfor (var name in env.attributes) {\n\t\tattributes += (attributes ? ' ' : '') + name + '=\"' + (env.attributes[name] || '') + '\"';\n\t}\n\n\treturn '<' + env.tag + ' class=\"' + env.classes.join(' ') + '\" ' + attributes + '>' + env.content + '</' + env.tag + '>';\n\n};\n\nif (!_self.document) {\n\tif (!_self.addEventListener) {\n\t\t// in Node.js\n\t\treturn _self.Prism;\n\t}\n \t// In worker\n\t_self.addEventListener('message', function(evt) {\n\t\tvar message = JSON.parse(evt.data),\n\t\t lang = message.language,\n\t\t code = message.code,\n\t\t immediateClose = message.immediateClose;\n\n\t\t_self.postMessage(_.highlight(code, _.languages[lang], lang));\n\t\tif (immediateClose) {\n\t\t\t_self.close();\n\t\t}\n\t}, false);\n\n\treturn _self.Prism;\n}\n\n// Get current script and highlight\nvar script = document.getElementsByTagName('script');\n\nscript = script[script.length - 1];\n\nif (script) {\n\t_.filename = script.src;\n\n\tif (document.addEventListener && !script.hasAttribute('data-manual')) {\n\t\tdocument.addEventListener('DOMContentLoaded', _.highlightAll);\n\t}\n}\n\nreturn _self.Prism;\n\n})();\n\nif (typeof module !== 'undefined' && module.exports) {\n\tmodule.exports = Prism;\n}\n\n// hack for components to work correctly in node.js\nif (typeof global !== 'undefined') {\n\tglobal.Prism = Prism;\n}\n\n\n/* **********************************************\n Begin prism-markup.js\n********************************************** */\n\nPrism.languages.markup = {\n\t'comment': /<!--[\\w\\W]*?-->/,\n\t'prolog': /<\\?[\\w\\W]+?\\?>/,\n\t'doctype': /<!DOCTYPE[\\w\\W]+?>/,\n\t'cdata': /<!\\[CDATA\\[[\\w\\W]*?]]>/i,\n\t'tag': {\n\t\tpattern: /<\\/?(?!\\d)[^\\s>\\/=.$<]+(?:\\s+[^\\s>\\/=]+(?:=(?:(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\1|[^\\s'\">=]+))?)*\\s*\\/?>/i,\n\t\tinside: {\n\t\t\t'tag': {\n\t\t\t\tpattern: /^<\\/?[^\\s>\\/]+/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /^<\\/?/,\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'attr-value': {\n\t\t\t\tpattern: /=(?:('|\")[\\w\\W]*?(\\1)|[^\\s>]+)/i,\n\t\t\t\tinside: {\n\t\t\t\t\t'punctuation': /[=>\"']/\n\t\t\t\t}\n\t\t\t},\n\t\t\t'punctuation': /\\/?>/,\n\t\t\t'attr-name': {\n\t\t\t\tpattern: /[^\\s>\\/]+/,\n\t\t\t\tinside: {\n\t\t\t\t\t'namespace': /^[^\\s>\\/:]+:/\n\t\t\t\t}\n\t\t\t}\n\n\t\t}\n\t},\n\t'entity': /&#?[\\da-z]{1,8};/i\n};\n\n// Plugin to make entity title show the real entity, idea by Roman Komarov\nPrism.hooks.add('wrap', function(env) {\n\n\tif (env.type === 'entity') {\n\t\tenv.attributes['title'] = env.content.replace(/&/, '&');\n\t}\n});\n\nPrism.languages.xml = Prism.languages.markup;\nPrism.languages.html = Prism.languages.markup;\nPrism.languages.mathml = Prism.languages.markup;\nPrism.languages.svg = Prism.languages.markup;\n\n\n/* **********************************************\n Begin prism-css.js\n********************************************** */\n\nPrism.languages.css = {\n\t'comment': /\\/\\*[\\w\\W]*?\\*\\//,\n\t'atrule': {\n\t\tpattern: /@[\\w-]+?.*?(;|(?=\\s*\\{))/i,\n\t\tinside: {\n\t\t\t'rule': /@[\\w-]+/\n\t\t\t// See rest below\n\t\t}\n\t},\n\t'url': /url\\((?:([\"'])(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1|.*?)\\)/i,\n\t'selector': /[^\\{\\}\\s][^\\{\\};]*?(?=\\s*\\{)/,\n\t'string': /(\"|')(\\\\(?:\\r\\n|[\\w\\W])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t'property': /(\\b|\\B)[\\w-]+(?=\\s*:)/i,\n\t'important': /\\B!important\\b/i,\n\t'function': /[-a-z0-9]+(?=\\()/i,\n\t'punctuation': /[(){};:]/\n};\n\nPrism.languages.css['atrule'].inside.rest = Prism.util.clone(Prism.languages.css);\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'style': {\n\t\t\tpattern: /(<style[\\w\\W]*?>)[\\w\\W]*?(?=<\\/style>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.css,\n\t\t\talias: 'language-css'\n\t\t}\n\t});\n\t\n\tPrism.languages.insertBefore('inside', 'attr-value', {\n\t\t'style-attr': {\n\t\t\tpattern: /\\s*style=(\"|').*?\\1/i,\n\t\t\tinside: {\n\t\t\t\t'attr-name': {\n\t\t\t\t\tpattern: /^\\s*style/i,\n\t\t\t\t\tinside: Prism.languages.markup.tag.inside\n\t\t\t\t},\n\t\t\t\t'punctuation': /^\\s*=\\s*['\"]|['\"]\\s*$/,\n\t\t\t\t'attr-value': {\n\t\t\t\t\tpattern: /.+/i,\n\t\t\t\t\tinside: Prism.languages.css\n\t\t\t\t}\n\t\t\t},\n\t\t\talias: 'language-css'\n\t\t}\n\t}, Prism.languages.markup.tag);\n}\n\n/* **********************************************\n Begin prism-clike.js\n********************************************** */\n\nPrism.languages.clike = {\n\t'comment': [\n\t\t{\n\t\t\tpattern: /(^|[^\\\\])\\/\\*[\\w\\W]*?\\*\\//,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\:])\\/\\/.*/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t'string': /([\"'])(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t'class-name': {\n\t\tpattern: /((?:\\b(?:class|interface|extends|implements|trait|instanceof|new)\\s+)|(?:catch\\s+\\())[a-z0-9_\\.\\\\]+/i,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /(\\.|\\\\)/\n\t\t}\n\t},\n\t'keyword': /\\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\\b/,\n\t'boolean': /\\b(true|false)\\b/,\n\t'function': /[a-z0-9_]+(?=\\()/i,\n\t'number': /\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)\\b/i,\n\t'operator': /--?|\\+\\+?|!=?=?|<=?|>=?|==?=?|&&?|\\|\\|?|\\?|\\*|\\/|~|\\^|%/,\n\t'punctuation': /[{}[\\];(),.:]/\n};\n\n\n/* **********************************************\n Begin prism-javascript.js\n********************************************** */\n\nPrism.languages.javascript = Prism.languages.extend('clike', {\n\t'keyword': /\\b(as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b/,\n\t'number': /\\b-?(0x[\\dA-Fa-f]+|0b[01]+|0o[0-7]+|\\d*\\.?\\d+([Ee][+-]?\\d+)?|NaN|Infinity)\\b/,\n\t// Allow for all non-ASCII characters (See http://stackoverflow.com/a/2008444)\n\t'function': /[_$a-zA-Z\\xA0-\\uFFFF][_$a-zA-Z0-9\\xA0-\\uFFFF]*(?=\\()/i\n});\n\nPrism.languages.insertBefore('javascript', 'keyword', {\n\t'regex': {\n\t\tpattern: /(^|[^/])\\/(?!\\/)(\\[.+?]|\\\\.|[^/\\\\\\r\\n])+\\/[gimyu]{0,5}(?=\\s*($|[\\r\\n,.;})]))/,\n\t\tlookbehind: true\n\t}\n});\n\nPrism.languages.insertBefore('javascript', 'class-name', {\n\t'template-string': {\n\t\tpattern: /`(?:\\\\`|\\\\?[^`])*`/,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\$\\{[^}]+\\}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation-punctuation': {\n\t\t\t\t\t\tpattern: /^\\$\\{|\\}$/,\n\t\t\t\t\t\talias: 'punctuation'\n\t\t\t\t\t},\n\t\t\t\t\trest: Prism.languages.javascript\n\t\t\t\t}\n\t\t\t},\n\t\t\t'string': /[\\s\\S]+/\n\t\t}\n\t}\n});\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('markup', 'tag', {\n\t\t'script': {\n\t\t\tpattern: /(<script[\\w\\W]*?>)[\\w\\W]*?(?=<\\/script>)/i,\n\t\t\tlookbehind: true,\n\t\t\tinside: Prism.languages.javascript,\n\t\t\talias: 'language-javascript'\n\t\t}\n\t});\n}\n\nPrism.languages.js = Prism.languages.javascript;\n\n/* **********************************************\n Begin prism-file-highlight.js\n********************************************** */\n\n(function () {\n\tif (typeof self === 'undefined' || !self.Prism || !self.document || !document.querySelector) {\n\t\treturn;\n\t}\n\n\tself.Prism.fileHighlight = function() {\n\n\t\tvar Extensions = {\n\t\t\t'js': 'javascript',\n\t\t\t'html': 'markup',\n\t\t\t'svg': 'markup',\n\t\t\t'xml': 'markup',\n\t\t\t'py': 'python',\n\t\t\t'rb': 'ruby',\n\t\t\t'ps1': 'powershell',\n\t\t\t'psm1': 'powershell'\n\t\t};\n\n\t\tif(Array.prototype.forEach) { // Check to prevent error in IE8\n\t\t\tArray.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {\n\t\t\t\tvar src = pre.getAttribute('data-src');\n\n\t\t\t\tvar language, parent = pre;\n\t\t\t\tvar lang = /\\blang(?:uage)?-(?!\\*)(\\w+)\\b/i;\n\t\t\t\twhile (parent && !lang.test(parent.className)) {\n\t\t\t\t\tparent = parent.parentNode;\n\t\t\t\t}\n\n\t\t\t\tif (parent) {\n\t\t\t\t\tlanguage = (pre.className.match(lang) || [, ''])[1];\n\t\t\t\t}\n\n\t\t\t\tif (!language) {\n\t\t\t\t\tvar extension = (src.match(/\\.(\\w+)$/) || [, ''])[1];\n\t\t\t\t\tlanguage = Extensions[extension] || extension;\n\t\t\t\t}\n\n\t\t\t\tvar code = document.createElement('code');\n\t\t\t\tcode.className = 'language-' + language;\n\n\t\t\t\tpre.textContent = '';\n\n\t\t\t\tcode.textContent = 'Loading…';\n\n\t\t\t\tpre.appendChild(code);\n\n\t\t\t\tvar xhr = new XMLHttpRequest();\n\n\t\t\t\txhr.open('GET', src, true);\n\n\t\t\t\txhr.onreadystatechange = function () {\n\t\t\t\t\tif (xhr.readyState == 4) {\n\n\t\t\t\t\t\tif (xhr.status < 400 && xhr.responseText) {\n\t\t\t\t\t\t\tcode.textContent = xhr.responseText;\n\n\t\t\t\t\t\t\tPrism.highlightElement(code);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (xhr.status >= 400) {\n\t\t\t\t\t\t\tcode.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tcode.textContent = '✖ Error: File does not exist or is empty';\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\n\t\t\t\txhr.send(null);\n\t\t\t});\n\t\t}\n\n\t};\n\n\tself.Prism.fileHighlight();\n\n})();\n\n/* */ \n\"format cjs\";\nPrism.languages.actionscript = Prism.languages.extend('javascript', {\n\t'keyword': /\\b(?:as|break|case|catch|class|const|default|delete|do|else|extends|finally|for|function|if|implements|import|in|instanceof|interface|internal|is|native|new|null|package|private|protected|public|return|super|switch|this|throw|try|typeof|use|var|void|while|with|dynamic|each|final|get|include|namespace|native|override|set|static)\\b/,\n\t'operator': /\\+\\+|--|(?:[+\\-*\\/%^]|&&?|\\|\\|?|<<?|>>?>?|[!=]=?)=?|[~?@]/\n});\nPrism.languages.actionscript['class-name'].alias = 'function';\n\nif (Prism.languages.markup) {\n\tPrism.languages.insertBefore('actionscript', 'string', {\n\t\t'xml': {\n\t\t\tpattern: /(^|[^.])<\\/?\\w+(?:\\s+[^\\s>\\/=]+=(\"|')(?:\\\\\\1|\\\\?(?!\\1)[\\w\\W])*\\2)*\\s*\\/?>/,\n\t\t\tlookbehind: true,\n\t\t\tinside: {\n\t\t\t\trest: Prism.languages.markup\n\t\t\t}\n\t\t}\n\t});\n}\n/* */ \n\"format cjs\";\nPrism.languages.c = Prism.languages.extend('clike', {\n\t'keyword': /\\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\\b/,\n\t'operator': /\\-[>-]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|?\\||[~^%?*\\/]/,\n\t'number': /\\b-?(?:0x[\\da-f]+|\\d*\\.?\\d+(?:e[+-]?\\d+)?)[ful]*\\b/i\n});\n\nPrism.languages.insertBefore('c', 'string', {\n\t'macro': {\n\t\t// allow for multiline macro definitions\n\t\t// spaces after the # character compile fine with gcc\n\t\tpattern: /(^\\s*)#\\s*[a-z]+([^\\r\\n\\\\]|\\\\.|\\\\(?:\\r\\n?|\\n))*/im,\n\t\tlookbehind: true,\n\t\talias: 'property',\n\t\tinside: {\n\t\t\t// highlight the path of the include statement as a string\n\t\t\t'string': {\n\t\t\t\tpattern: /(#\\s*include\\s*)(<.+?>|(\"|')(\\\\?.)+?\\3)/,\n\t\t\t\tlookbehind: true\n\t\t\t},\n\t\t\t// highlight macro directives as keywords\n\t\t\t'directive': {\n\t\t\t\tpattern: /(#\\s*)\\b(define|elif|else|endif|error|ifdef|ifndef|if|import|include|line|pragma|undef|using)\\b/,\n\t\t\t\tlookbehind: true,\n\t\t\t\talias: 'keyword'\n\t\t\t}\n\t\t}\n\t},\n\t// highlight predefined macros as constants\n\t'constant': /\\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|stdin|stdout|stderr)\\b/\n});\n\ndelete Prism.languages.c['class-name'];\ndelete Prism.languages.c['boolean'];\n\n/* */ \n\"format cjs\";\nPrism.languages.cpp = Prism.languages.extend('c', {\n\t'keyword': /\\b(alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|class|compl|const|constexpr|const_cast|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|float|for|friend|goto|if|inline|int|long|mutable|namespace|new|noexcept|nullptr|operator|private|protected|public|register|reinterpret_cast|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\\b/,\n\t'boolean': /\\b(true|false)\\b/,\n\t'operator': /[-+]{1,2}|!=?|<{1,2}=?|>{1,2}=?|\\->|:{1,2}|={1,2}|\\^|~|%|&{1,2}|\\|?\\||\\?|\\*|\\/|\\b(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\\b/\n});\n\nPrism.languages.insertBefore('cpp', 'keyword', {\n\t'class-name': {\n\t\tpattern: /(class\\s+)[a-z0-9_]+/i,\n\t\tlookbehind: true\n\t}\n});\n/* */ \n\"format cjs\";\nPrism.languages.csharp = Prism.languages.extend('clike', {\n\t'keyword': /\\b(abstract|as|async|await|base|bool|break|byte|case|catch|char|checked|class|const|continue|decimal|default|delegate|do|double|else|enum|event|explicit|extern|false|finally|fixed|float|for|foreach|goto|if|implicit|in|int|interface|internal|is|lock|long|namespace|new|null|object|operator|out|override|params|private|protected|public|readonly|ref|return|sbyte|sealed|short|sizeof|stackalloc|static|string|struct|switch|this|throw|true|try|typeof|uint|ulong|unchecked|unsafe|ushort|using|virtual|void|volatile|while|add|alias|ascending|async|await|descending|dynamic|from|get|global|group|into|join|let|orderby|partial|remove|select|set|value|var|where|yield)\\b/,\n\t'string': [\n\t\t/@(\"|')(\\1\\1|\\\\\\1|\\\\?(?!\\1)[\\s\\S])*\\1/,\n\t\t/(\"|')(\\\\?.)*?\\1/\n\t],\n\t'number': /\\b-?(0x[\\da-f]+|\\d*\\.?\\d+f?)\\b/i\n});\n\nPrism.languages.insertBefore('csharp', 'keyword', {\n\t'preprocessor': {\n\t\tpattern: /(^\\s*)#.*/m,\n\t\tlookbehind: true,\n\t\talias: 'property',\n\t\tinside: {\n\t\t\t// highlight preprocessor directives as keywords\n\t\t\t'directive': {\n\t\t\t\tpattern: /(\\s*#)\\b(define|elif|else|endif|endregion|error|if|line|pragma|region|undef|warning)\\b/,\n\t\t\t\tlookbehind: true,\n\t\t\t\talias: 'keyword'\n\t\t\t}\n\t\t}\n\t}\n});\n\n/* */ \n\"format cjs\";\n/**\n * Original by Aaron Harun: http://aahacreative.com/2012/07/31/php-syntax-highlighting-prism/\n * Modified by Miles Johnson: http://milesj.me\n *\n * Supports the following:\n * \t\t- Extends clike syntax\n * \t\t- Support for PHP 5.3+ (namespaces, traits, generators, etc)\n * \t\t- Smarter constant and function matching\n *\n * Adds the following new token classes:\n * \t\tconstant, delimiter, variable, function, package\n */\n\nPrism.languages.php = Prism.languages.extend('clike', {\n\t'keyword': /\\b(and|or|xor|array|as|break|case|cfunction|class|const|continue|declare|default|die|do|else|elseif|enddeclare|endfor|endforeach|endif|endswitch|endwhile|extends|for|foreach|function|include|include_once|global|if|new|return|static|switch|use|require|require_once|var|while|abstract|interface|public|implements|private|protected|parent|throw|null|echo|print|trait|namespace|final|yield|goto|instanceof|finally|try|catch)\\b/i,\n\t'constant': /\\b[A-Z0-9_]{2,}\\b/,\n\t'comment': {\n\t\tpattern: /(^|[^\\\\])(?:\\/\\*[\\w\\W]*?\\*\\/|\\/\\/.*)/,\n\t\tlookbehind: true\n\t}\n});\n\n// Shell-like comments are matched after strings, because they are less\n// common than strings containing hashes...\nPrism.languages.insertBefore('php', 'class-name', {\n\t'shell-comment': {\n\t\tpattern: /(^|[^\\\\])#.*/,\n\t\tlookbehind: true,\n\t\talias: 'comment'\n\t}\n});\n\nPrism.languages.insertBefore('php', 'keyword', {\n\t'delimiter': /\\?>|<\\?(?:php)?/i,\n\t'variable': /\\$\\w+\\b/i,\n\t'package': {\n\t\tpattern: /(\\\\|namespace\\s+|use\\s+)[\\w\\\\]+/,\n\t\tlookbehind: true,\n\t\tinside: {\n\t\t\tpunctuation: /\\\\/\n\t\t}\n\t}\n});\n\n// Must be defined after the function pattern\nPrism.languages.insertBefore('php', 'operator', {\n\t'property': {\n\t\tpattern: /(->)[\\w]+/,\n\t\tlookbehind: true\n\t}\n});\n\n// Add HTML support of the markup language exists\nif (Prism.languages.markup) {\n\n\t// Tokenize all inline PHP blocks that are wrapped in <?php ?>\n\t// This allows for easy PHP + markup highlighting\n\tPrism.hooks.add('before-highlight', function(env) {\n\t\tif (env.language !== 'php') {\n\t\t\treturn;\n\t\t}\n\n\t\tenv.tokenStack = [];\n\n\t\tenv.backupCode = env.code;\n\t\tenv.code = env.code.replace(/(?:<\\?php|<\\?)[\\w\\W]*?(?:\\?>)/ig, function(match) {\n\t\t\tenv.tokenStack.push(match);\n\n\t\t\treturn '{{{PHP' + env.tokenStack.length + '}}}';\n\t\t});\n\t});\n\n\t// Restore env.code for other plugins (e.g. line-numbers)\n\tPrism.hooks.add('before-insert', function(env) {\n\t\tif (env.language === 'php') {\n\t\t\tenv.code = env.backupCode;\n\t\t\tdelete env.backupCode;\n\t\t}\n\t});\n\n\t// Re-insert the tokens after highlighting\n\tPrism.hooks.add('after-highlight', function(env) {\n\t\tif (env.language !== 'php') {\n\t\t\treturn;\n\t\t}\n\n\t\tfor (var i = 0, t; t = env.tokenStack[i]; i++) {\n\t\t\t// The replace prevents $$, $&, $`, $', $n, $nn from being interpreted as special patterns\n\t\t\tenv.highlightedCode = env.highlightedCode.replace('{{{PHP' + (i + 1) + '}}}', Prism.highlight(t, env.grammar, 'php').replace(/\\$/g, '$$$$'));\n\t\t}\n\n\t\tenv.element.innerHTML = env.highlightedCode;\n\t});\n\n\t// Wrap tokens in classes that are missing them\n\tPrism.hooks.add('wrap', function(env) {\n\t\tif (env.language === 'php' && env.type === 'markup') {\n\t\t\tenv.content = env.content.replace(/(\\{\\{\\{PHP[0-9]+\\}\\}\\})/g, \"<span class=\\\"token php\\\">$1</span>\");\n\t\t}\n\t});\n\n\t// Add the rules before all others\n\tPrism.languages.insertBefore('php', 'comment', {\n\t\t'markup': {\n\t\t\tpattern: /<[^?]\\/?(.*?)>/,\n\t\t\tinside: Prism.languages.markup\n\t\t},\n\t\t'php': /\\{\\{\\{PHP[0-9]+\\}\\}\\}/\n\t});\n}\n\n/* */ \n\"format cjs\";\n(function(Prism) {\n\n// Ignore comments starting with { to privilege string interpolation highlighting\nvar comment = /#(?!\\{).+/,\n interpolation = {\n \tpattern: /#\\{[^}]+\\}/,\n \talias: 'variable'\n };\n\nPrism.languages.coffeescript = Prism.languages.extend('javascript', {\n\t'comment': comment,\n\t'string': [\n\n\t\t// Strings are multiline\n\t\t/'(?:\\\\?[^\\\\])*?'/,\n\n\t\t{\n\t\t\t// Strings are multiline\n\t\t\tpattern: /\"(?:\\\\?[^\\\\])*?\"/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t}\n\t],\n\t'keyword': /\\b(and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\\b/,\n\t'class-member': {\n\t\tpattern: /@(?!\\d)\\w+/,\n\t\talias: 'variable'\n\t}\n});\n\nPrism.languages.insertBefore('coffeescript', 'comment', {\n\t'multiline-comment': {\n\t\tpattern: /###[\\s\\S]+?###/,\n\t\talias: 'comment'\n\t},\n\n\t// Block regexp can contain comments and interpolation\n\t'block-regex': {\n\t\tpattern: /\\/{3}[\\s\\S]*?\\/{3}/,\n\t\talias: 'regex',\n\t\tinside: {\n\t\t\t'comment': comment,\n\t\t\t'interpolation': interpolation\n\t\t}\n\t}\n});\n\nPrism.languages.insertBefore('coffeescript', 'string', {\n\t'inline-javascript': {\n\t\tpattern: /`(?:\\\\?[\\s\\S])*?`/,\n\t\tinside: {\n\t\t\t'delimiter': {\n\t\t\t\tpattern: /^`|`$/,\n\t\t\t\talias: 'punctuation'\n\t\t\t},\n\t\t\trest: Prism.languages.javascript\n\t\t}\n\t},\n\n\t// Block strings\n\t'multiline-string': [\n\t\t{\n\t\t\tpattern: /'''[\\s\\S]*?'''/,\n\t\t\talias: 'string'\n\t\t},\n\t\t{\n\t\t\tpattern: /\"\"\"[\\s\\S]*?\"\"\"/,\n\t\t\talias: 'string',\n\t\t\tinside: {\n\t\t\t\tinterpolation: interpolation\n\t\t\t}\n\t\t}\n\t]\n\n});\n\nPrism.languages.insertBefore('coffeescript', 'keyword', {\n\t// Object property\n\t'property': /(?!\\d)\\w+(?=\\s*:(?!:))/\n});\n\n}(Prism));\n/* */ \n\"format cjs\";\nPrism.languages.go = Prism.languages.extend('clike', {\n\t'keyword': /\\b(break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\\b/,\n\t'builtin': /\\b(bool|byte|complex(64|128)|error|float(32|64)|rune|string|u?int(8|16|32|64|)|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(ln)?|real|recover)\\b/,\n\t'boolean': /\\b(_|iota|nil|true|false)\\b/,\n\t'operator': /[*\\/%^!=]=?|\\+[=+]?|-[=-]?|\\|[=|]?|&(?:=|&|\\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\\.\\.\\./,\n\t'number': /\\b(-?(0x[a-f\\d]+|(\\d+\\.?\\d*|\\.\\d+)(e[-+]?\\d+)?)i?)\\b/i,\n\t'string': /(\"|'|`)(\\\\?.|\\r|\\n)*?\\1/\n});\ndelete Prism.languages.go['class-name'];\n\n/* */ \n\"format cjs\";\nPrism.languages.haskell= {\n\t'comment': {\n\t\tpattern: /(^|[^-!#$%*+=?&@|~.:<>^\\\\\\/])(--[^-!#$%*+=?&@|~.:<>^\\\\\\/].*|{-[\\w\\W]*?-})/m,\n\t\tlookbehind: true\n\t},\n\t'char': /'([^\\\\']|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+))'/,\n\t'string': /\"([^\\\\\"]|\\\\([abfnrtv\\\\\"'&]|\\^[A-Z@[\\]\\^_]|NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|\\d+|o[0-7]+|x[0-9a-fA-F]+)|\\\\\\s+\\\\)*\"/,\n\t'keyword' : /\\b(case|class|data|deriving|do|else|if|in|infixl|infixr|instance|let|module|newtype|of|primitive|then|type|where)\\b/,\n\t'import_statement' : {\n\t\t// The imported or hidden names are not included in this import\n\t\t// statement. This is because we want to highlight those exactly like\n\t\t// we do for the names in the program.\n\t\tpattern: /(\\r?\\n|\\r|^)\\s*import\\s+(qualified\\s+)?([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*(\\s+as\\s+([A-Z][_a-zA-Z0-9']*)(\\.[A-Z][_a-zA-Z0-9']*)*)?(\\s+hiding\\b)?/m,\n\t\tinside: {\n\t\t\t'keyword': /\\b(import|qualified|as|hiding)\\b/\n\t\t}\n\t},\n\t// These are builtin variables only. Constructors are highlighted later as a constant.\n\t'builtin': /\\b(abs|acos|acosh|all|and|any|appendFile|approxRational|asTypeOf|asin|asinh|atan|atan2|atanh|basicIORun|break|catch|ceiling|chr|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|denominator|digitToInt|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|error|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromDouble|fromEnum|fromInt|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|group|head|id|inRange|index|init|intToDigit|interact|ioError|isAlpha|isAlphaNum|isAscii|isControl|isDenormalized|isDigit|isHexDigit|isIEEE|isInfinite|isLower|isNaN|isNegativeZero|isOctDigit|isPrint|isSpace|isUpper|iterate|last|lcm|length|lex|lexDigits|lexLitChar|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|numerator|odd|or|ord|otherwise|pack|pi|pred|primExitWith|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|range|rangeSize|read|readDec|readFile|readFloat|readHex|readIO|readInt|readList|readLitChar|readLn|readOct|readParen|readSigned|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showInt|showList|showLitChar|showParen|showSigned|showString|shows|showsPrec|significand|signum|sin|sinh|snd|sort|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|threadToIOResult|toEnum|toInt|toInteger|toLower|toRational|toUpper|truncate|uncurry|undefined|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b/,\n\t// decimal integers and floating point numbers | octal integers | hexadecimal integers\n\t'number' : /\\b(\\d+(\\.\\d+)?(e[+-]?\\d+)?|0o[0-7]+|0x[0-9a-f]+)\\b/i,\n\t// Most of this is needed because of the meaning of a single '.'.\n\t// If it stands alone freely, it is the function composition.\n\t// It may also be a separator between a module name and an identifier => no\n\t// operator. If it comes together with other special characters it is an\n\t// operator too.\n\t'operator' : /\\s\\.\\s|[-!#$%*+=?&@|~.:<>^\\\\\\/]*\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]+|[-!#$%*+=?&@|~.:<>^\\\\\\/]+\\.[-!#$%*+=?&@|~.:<>^\\\\\\/]*|[-!#$%*+=?&@|~:<>^\\\\\\/]+|`([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*`/,\n\t// In Haskell, nearly everything is a variable, do not highlight these.\n\t'hvariable': /\\b([A-Z][_a-zA-Z0-9']*\\.)*[_a-z][_a-zA-Z0-9']*\\b/,\n\t'constant': /\\b([A-Z][_a-zA-Z0-9']*\\.)*[A-Z][_a-zA-Z0-9']*\\b/,\n\t'punctuation' : /[{}[\\];(),.:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.java = Prism.languages.extend('clike', {\n\t'keyword': /\\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\\b/,\n\t'number': /\\b0b[01]+\\b|\\b0x[\\da-f]*\\.?[\\da-fp\\-]+\\b|\\b\\d*\\.?\\d+(?:e[+-]?\\d+)?[df]?\\b/i,\n\t'operator': {\n\t\tpattern: /(^|[^.])(?:\\+[+=]?|-[-=]?|!=?|<<?=?|>>?>?=?|==?|&[&=]?|\\|[|=]?|\\*=?|\\/=?|%=?|\\^=?|[?:~])/m,\n\t\tlookbehind: true\n\t}\n});\n/* */ \n\"format cjs\";\nPrism.languages.lua = {\n\t'comment': /^#!.+|--(?:\\[(=*)\\[[\\s\\S]*?\\]\\1\\]|.*)/m,\n\t// \\z may be used to skip the following space\n\t'string': /([\"'])(?:(?!\\1)[^\\\\\\r\\n]|\\\\z(?:\\r\\n|\\s)|\\\\(?:\\r\\n|[\\s\\S]))*\\1|\\[(=*)\\[[\\s\\S]*?\\]\\2\\]/,\n\t'number': /\\b0x[a-f\\d]+\\.?[a-f\\d]*(?:p[+-]?\\d+)?\\b|\\b\\d+(?:\\.\\B|\\.?\\d*(?:e[+-]?\\d+)?\\b)|\\B\\.\\d+(?:e[+-]?\\d+)?\\b/i,\n\t'keyword': /\\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\\b/,\n\t'function': /(?!\\d)\\w+(?=\\s*(?:[({]))/,\n\t'operator': [\n\t\t/[-+*%^&|#]|\\/\\/?|<[<=]?|>[>=]?|[=~]=?/,\n\t\t{\n\t\t\t// Match \"..\" but don't break \"...\"\n\t\t\tpattern: /(^|[^.])\\.\\.(?!\\.)/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t'punctuation': /[\\[\\](){},;]|\\.+|:+/\n};\n/* */ \n\"format cjs\";\nPrism.languages.matlab = {\n\t// We put string before comment, because of printf() patterns that contain \"%\"\n\t'string': /\\B'(?:''|[^'\\n])*'/,\n\t'comment': [\n\t\t/%\\{[\\s\\S]*?\\}%/,\n\t\t/%.+/\n\t],\n\t// FIXME We could handle imaginary numbers as a whole\n\t'number': /\\b-?(?:\\d*\\.?\\d+(?:[eE][+-]?\\d+)?(?:[ij])?|[ij])\\b/,\n\t'keyword': /\\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\\b/,\n\t'function': /(?!\\d)\\w+(?=\\s*\\()/,\n\t'operator': /\\.?[*^\\/\\\\']|[+\\-:@]|[<>=~]=?|&&?|\\|\\|?/,\n\t'punctuation': /\\.{3}|[.,;\\[\\](){}!]/\n};\n/* */ \n\"format cjs\";\nPrism.languages.perl = {\n\t'comment': [\n\t\t{\n\t\t\t// POD\n\t\t\tpattern: /(^\\s*)=\\w+[\\s\\S]*?=cut.*/m,\n\t\t\tlookbehind: true\n\t\t},\n\t\t{\n\t\t\tpattern: /(^|[^\\\\$])#.*/,\n\t\t\tlookbehind: true\n\t\t}\n\t],\n\t// TODO Could be nice to handle Heredoc too.\n\t'string': [\n\t\t// q/.../\n\t\t/\\b(?:q|qq|qx|qw)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\n\t\t// q a...a\n\t\t/\\b(?:q|qq|qx|qw)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\n\t\t// q(...)\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,\n\t\n\t\t// q{...}\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}/,\n\t\n\t\t// q[...]\n\t\t/\\b(?:q|qq|qx|qw)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]/,\n\t\n\t\t// q<...>\n\t\t/\\b(?:q|qq|qx|qw)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,\n\n\t\t// \"...\", `...`\n\t\t/(\"|`)(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\n\t\t// '...'\n\t\t// FIXME Multi-line single-quoted strings are not supported as they would break variables containing '\n\t\t/'(?:[^'\\\\\\r\\n]|\\\\.)*'/\n\t],\n\t'regex': [\n\t\t// m/.../\n\t\t/\\b(?:m|qr)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[msixpodualngc]*/,\n\t\n\t\t// m a...a\n\t\t/\\b(?:m|qr)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\.)*?\\1[msixpodualngc]*/,\n\t\n\t\t// m(...)\n\t\t/\\b(?:m|qr)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngc]*/,\n\t\n\t\t// m{...}\n\t\t/\\b(?:m|qr)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngc]*/,\n\t\n\t\t// m[...]\n\t\t/\\b(?:m|qr)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngc]*/,\n\t\n\t\t// m<...>\n\t\t/\\b(?:m|qr)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngc]*/,\n\n\t\t// The lookbehinds prevent -s from breaking\n\t\t// FIXME We don't handle change of separator like s(...)[...]\n\t\t// s/.../.../\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s a...a...a\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s+([a-zA-Z0-9])(?:[^\\\\]|\\\\[\\s\\S])*?\\2(?:[^\\\\]|\\\\[\\s\\S])*?\\2[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s(...)(...)\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)\\s*\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s{...}{...}\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}\\s*\\{(?:[^{}\\\\]|\\\\[\\s\\S])*\\}[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s[...][...]\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\]\\s*\\[(?:[^[\\]\\\\]|\\\\[\\s\\S])*\\][msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// s<...><...>\n\t\t{\n\t\t\tpattern: /(^|[^-]\\b)(?:s|tr|y)\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>\\s*<(?:[^<>\\\\]|\\\\[\\s\\S])*>[msixpodualngcer]*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\n\t\t// /.../\n\t\t// The look-ahead tries to prevent two divisions on\n\t\t// the same line from being highlighted as regex.\n\t\t// This does not support multi-line regex.\n\t\t/\\/(?:[^\\/\\\\\\r\\n]|\\\\.)*\\/[msixpodualngc]*(?=\\s*(?:$|[\\r\\n,.;})&|\\-+*~<>!?^]|(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor|x)\\b))/\n\t],\n\n\t// FIXME Not sure about the handling of ::, ', and #\n\t'variable': [\n\t\t// ${^POSTMATCH}\n\t\t/[&*$@%]\\{\\^[A-Z]+\\}/,\n\t\t// $^V\n\t\t/[&*$@%]\\^[A-Z_]/,\n\t\t// ${...}\n\t\t/[&*$@%]#?(?=\\{)/,\n\t\t// $foo\n\t\t/[&*$@%]#?((::)*'?(?!\\d)[\\w$]+)+(::)*/i,\n\t\t// $1\n\t\t/[&*$@%]\\d+/,\n\t\t// $_, @_, %!\n\t\t// The negative lookahead prevents from breaking the %= operator\n\t\t/(?!%=)[$@%][!\"#$%&'()*+,\\-.\\/:;<=>?@[\\\\\\]^_`{|}~]/\n\t],\n\t'filehandle': {\n\t\t// <>, <FOO>, _\n\t\tpattern: /<(?![<=])\\S*>|\\b_\\b/,\n\t\talias: 'symbol'\n\t},\n\t'vstring': {\n\t\t// v1.2, 1.2.3\n\t\tpattern: /v\\d+(\\.\\d+)*|\\d+(\\.\\d+){2,}/,\n\t\talias: 'string'\n\t},\n\t'function': {\n\t\tpattern: /sub [a-z0-9_]+/i,\n\t\tinside: {\n\t\t\tkeyword: /sub/\n\t\t}\n\t},\n\t'keyword': /\\b(any|break|continue|default|delete|die|do|else|elsif|eval|for|foreach|given|goto|if|last|local|my|next|our|package|print|redo|require|say|state|sub|switch|undef|unless|until|use|when|while)\\b/,\n\t'number': /\\b-?(0x[\\dA-Fa-f](_?[\\dA-Fa-f])*|0b[01](_?[01])*|(\\d(_?\\d)*)?\\.?\\d(_?\\d)*([Ee][+-]?\\d+)?)\\b/,\n\t'operator': /-[rwxoRWXOezsfdlpSbctugkTBMAC]\\b|\\+[+=]?|-[-=>]?|\\*\\*?=?|\\/\\/?=?|=[=~>]?|~[~=]?|\\|\\|?=?|&&?=?|<(?:=>?|<=?)?|>>?=?|![~=]?|[%^]=?|\\.(?:=|\\.\\.?)?|[\\\\?]|\\bx(?:=|\\b)|\\b(lt|gt|le|ge|eq|ne|cmp|not|and|or|xor)\\b/,\n\t'punctuation': /[{}[\\];(),:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.python= {\n\t'triple-quoted-string': {\n\t\tpattern: /\"\"\"[\\s\\S]+?\"\"\"|'''[\\s\\S]+?'''/,\n\t\talias: 'string'\n\t},\n\t'comment': {\n\t\tpattern: /(^|[^\\\\])#.*/,\n\t\tlookbehind: true\n\t},\n\t'string': /(\"|')(?:\\\\?.)*?\\1/,\n\t'function' : {\n\t\tpattern: /((?:^|\\s)def[ \\t]+)[a-zA-Z_][a-zA-Z0-9_]*(?=\\()/g,\n\t\tlookbehind: true\n\t},\n\t'class-name': {\n\t\tpattern: /(\\bclass\\s+)[a-z0-9_]+/i,\n\t\tlookbehind: true\n\t},\n\t'keyword' : /\\b(?:as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|pass|print|raise|return|try|while|with|yield)\\b/,\n\t'boolean' : /\\b(?:True|False)\\b/,\n\t'number' : /\\b-?(?:0[bo])?(?:(?:\\d|0x[\\da-f])[\\da-f]*\\.?\\d*|\\.\\d+)(?:e[+-]?\\d+)?j?\\b/i,\n\t'operator' : /[-+%=]=?|!=|\\*\\*?=?|\\/\\/?=?|<[<=>]?|>[=>]?|[&|^~]|\\b(?:or|and|not)\\b/,\n\t'punctuation' : /[{}[\\];(),.:]/\n};\n\n/* */ \n\"format cjs\";\nPrism.languages.r = {\n\t'comment': /#.*/,\n\t'string': /(['\"])(?:\\\\?.)*?\\1/,\n\t'percent-operator': {\n\t\t// Includes user-defined operators\n\t\t// and %%, %*%, %/%, %in%, %o%, %x%\n\t\tpattern: /%[^%\\s]*%/,\n\t\talias: 'operator'\n\t},\n\t'boolean': /\\b(?:TRUE|FALSE)\\b/,\n\t'ellipsis': /\\.\\.(?:\\.|\\d+)/,\n\t'number': [\n\t\t/\\b(?:NaN|Inf)\\b/,\n\t\t/\\b(?:0x[\\dA-Fa-f]+(?:\\.\\d*)?|\\d*\\.?\\d+)(?:[EePp][+-]?\\d+)?[iL]?\\b/\n\t],\n\t'keyword': /\\b(?:if|else|repeat|while|function|for|in|next|break|NULL|NA|NA_integer_|NA_real_|NA_complex_|NA_character_)\\b/,\n\t'operator': /->?>?|<(?:=|<?-)?|[>=!]=?|::?|&&?|\\|\\|?|[+*\\/^$@~]/,\n\t'punctuation': /[(){}\\[\\],;]/\n};\n/* */ \n\"format cjs\";\n/**\n * Original by Samuel Flores\n *\n * Adds the following new token classes:\n * \t\tconstant, builtin, variable, symbol, regex\n */\n(function(Prism) {\n\tPrism.languages.ruby = Prism.languages.extend('clike', {\n\t\t'comment': /#(?!\\{[^\\r\\n]*?\\}).*/,\n\t\t'keyword': /\\b(alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|false|for|if|in|module|new|next|nil|not|or|raise|redo|require|rescue|retry|return|self|super|then|throw|true|undef|unless|until|when|while|yield)\\b/\n\t});\n\n\tvar interpolation = {\n\t\tpattern: /#\\{[^}]+\\}/,\n\t\tinside: {\n\t\t\t'delimiter': {\n\t\t\t\tpattern: /^#\\{|\\}$/,\n\t\t\t\talias: 'tag'\n\t\t\t},\n\t\t\trest: Prism.util.clone(Prism.languages.ruby)\n\t\t}\n\t};\n\n\tPrism.languages.insertBefore('ruby', 'keyword', {\n\t\t'regex': [\n\t\t\t{\n\t\t\t\tpattern: /%r([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\t// Here we need to specifically allow interpolation\n\t\t\t\tpattern: /%r\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\][gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /%r<(?:[^<>\\\\]|\\\\[\\s\\S])*>[gim]{0,3}/,\n\t\t\t\tinside: {\n\t\t\t\t\t'interpolation': interpolation\n\t\t\t\t}\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /(^|[^/])\\/(?!\\/)(\\[.+?]|\\\\.|[^/\\r\\n])+\\/[gim]{0,3}(?=\\s*($|[\\r\\n,.;})]))/,\n\t\t\t\tlookbehind: true\n\t\t\t}\n\t\t],\n\t\t'variable': /[@$]+[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/,\n\t\t'symbol': /:[a-zA-Z_][a-zA-Z_0-9]*(?:[?!]|\\b)/\n\t});\n\n\tPrism.languages.insertBefore('ruby', 'number', {\n\t\t'builtin': /\\b(Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|File|Fixnum|Fload|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\\b/,\n\t\t'constant': /\\b[A-Z][a-zA-Z_0-9]*(?:[?!]|\\b)/\n\t});\n\n\tPrism.languages.ruby.string = [\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?([^a-zA-Z0-9\\s\\{\\(\\[<])(?:[^\\\\]|\\\\[\\s\\S])*?\\1/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?\\((?:[^()\\\\]|\\\\[\\s\\S])*\\)/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t// Here we need to specifically allow interpolation\n\t\t\tpattern: /%[qQiIwWxs]?\\{(?:[^#{}\\\\]|#(?:\\{[^}]+\\})?|\\\\[\\s\\S])*\\}/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?\\[(?:[^\\[\\]\\\\]|\\\\[\\s\\S])*\\]/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /%[qQiIwWxs]?<(?:[^<>\\\\]|\\\\[\\s\\S])*>/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\tpattern: /(\"|')(#\\{[^}]+\\}|\\\\(?:\\r?\\n|\\r)|\\\\?.)*?\\1/,\n\t\t\tinside: {\n\t\t\t\t'interpolation': interpolation\n\t\t\t}\n\t\t}\n\t];\n}(Prism));\n/* */ \n\"format cjs\";\n(function(Prism) {\n\tvar insideString = {\n\t\tvariable: [\n\t\t\t// Arithmetic Environment\n\t\t\t{\n\t\t\t\tpattern: /\\$?\\(\\([\\w\\W]+?\\)\\)/,\n\t\t\t\tinside: {\n\t\t\t\t\t// If there is a $ sign at the beginning highlight $(( and )) as variable\n\t\t\t\t\tvariable: [{\n\t\t\t\t\t\t\tpattern: /(^\\$\\(\\([\\w\\W]+)\\)\\)/,\n\t\t\t\t\t\t\tlookbehind: true\n\t\t\t\t\t\t},\n\t\t\t\t\t\t/^\\$\\(\\(/,\n\t\t\t\t\t],\n\t\t\t\t\tnumber: /\\b-?(?:0x[\\dA-Fa-f]+|\\d*\\.?\\d+(?:[Ee]-?\\d+)?)\\b/,\n\t\t\t\t\t// Operators according to https://www.gnu.org/software/bash/manual/bashref.html#Shell-Arithmetic\n\t\t\t\t\toperator: /--?|-=|\\+\\+?|\\+=|!=?|~|\\*\\*?|\\*=|\\/=?|%=?|<<=?|>>=?|<=?|>=?|==?|&&?|&=|\\^=?|\\|\\|?|\\|=|\\?|:/,\n\t\t\t\t\t// If there is no $ sign at the beginning highlight (( and )) as punctuation\n\t\t\t\t\tpunctuation: /\\(\\(?|\\)\\)?|,|;/\n\t\t\t\t}\n\t\t\t},\n\t\t\t// Command Substitution\n\t\t\t{\n\t\t\t\tpattern: /\\$\\([^)]+\\)|`[^`]+`/,\n\t\t\t\tinside: {\n\t\t\t\t\tvariable: /^\\$\\(|^`|\\)$|`$/\n\t\t\t\t}\n\t\t\t},\n\t\t\t/\\$(?:[a-z0-9_#\\?\\*!@]+|\\{[^}]+\\})/i\n\t\t],\n\t};\n\n\tPrism.languages.bash = {\n\t\t'shebang': {\n\t\t\tpattern: /^#!\\s*\\/bin\\/bash|^#!\\s*\\/bin\\/sh/,\n\t\t\talias: 'important'\n\t\t},\n\t\t'comment': {\n\t\t\tpattern: /(^|[^\"{\\\\])#.*/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'string': [\n\t\t\t//Support for Here-Documents https://en.wikipedia.org/wiki/Here_document\n\t\t\t{\n\t\t\t\tpattern: /((?:^|[^<])<<\\s*)(?:\"|')?(\\w+?)(?:\"|')?\\s*\\r?\\n(?:[\\s\\S])*?\\r?\\n\\2/g,\n\t\t\t\tlookbehind: true,\n\t\t\t\tinside: insideString\n\t\t\t},\n\t\t\t{\n\t\t\t\tpattern: /(\"|')(?:\\\\?[\\s\\S])*?\\1/g,\n\t\t\t\tinside: insideString\n\t\t\t}\n\t\t],\n\t\t'variable': insideString.variable,\n\t\t// Originally based on http://ss64.com/bash/\n\t\t'function': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:alias|apropos|apt-get|aptitude|aspell|awk|basename|bash|bc|bg|builtin|bzip2|cal|cat|cd|cfdisk|chgrp|chmod|chown|chroot|chkconfig|cksum|clear|cmp|comm|command|cp|cron|crontab|csplit|cut|date|dc|dd|ddrescue|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|enable|env|ethtool|eval|exec|expand|expect|export|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|getopts|git|grep|groupadd|groupdel|groupmod|groups|gzip|hash|head|help|hg|history|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|jobs|join|kill|killall|less|link|ln|locate|logname|logout|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|make|man|mkdir|mkfifo|mkisofs|mknod|more|most|mount|mtools|mtr|mv|mmv|nano|netstat|nice|nl|nohup|notify-send|nslookup|open|op|passwd|paste|pathchk|ping|pkill|popd|pr|printcap|printenv|printf|ps|pushd|pv|pwd|quota|quotacheck|quotactl|ram|rar|rcp|read|readarray|readonly|reboot|rename|renice|remsync|rev|rm|rmdir|rsync|screen|scp|sdiff|sed|seq|service|sftp|shift|shopt|shutdown|sleep|slocate|sort|source|split|ssh|stat|strace|su|sudo|sum|suspend|sync|tail|tar|tee|test|time|timeout|times|touch|top|traceroute|trap|tr|tsort|tty|type|ulimit|umask|umount|unalias|uname|unexpand|uniq|units|unrar|unshar|uptime|useradd|userdel|usermod|users|uuencode|uudecode|v|vdir|vi|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yes|zip)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'keyword': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:let|:|\\.|if|then|else|elif|fi|for|break|continue|while|in|case|function|select|do|done|until|echo|exit|return|set|declare)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'boolean': {\n\t\t\tpattern: /(^|\\s|;|\\||&)(?:true|false)(?=$|\\s|;|\\||&)/,\n\t\t\tlookbehind: true\n\t\t},\n\t\t'operator': /&&?|\\|\\|?|==?|!=?|<<<?|>>|<=?|>=?|=~/,\n\t\t'punctuation': /\\$?\\(\\(?|\\)\\)?|\\.\\.|[{}[\\];]/\n\t};\n\n\tvar inside = insideString.variable[1].inside;\n\tinside['function'] = Prism.languages.bash['function'];\n\tinside.keyword = Prism.languages.bash.keyword;\n\tinside.boolean = Prism.languages.bash.boolean;\n\tinside.operator = Prism.languages.bash.operator;\n\tinside.punctuation = Prism.languages.bash.punctuation;\n})(Prism);\n/* */ \n\"format cjs\";\n// issues: nested multiline comments\nPrism.languages.swift = Prism.languages.extend('clike', {\n\t'string': {\n\t\tpattern: /(\"|')(\\\\(?:\\((?:[^()]|\\([^)]+\\))+\\)|\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1/,\n\t\tinside: {\n\t\t\t'interpolation': {\n\t\t\t\tpattern: /\\\\\\((?:[^()]|\\([^)]+\\))+\\)/,\n\t\t\t\tinside: {\n\t\t\t\t\tdelimiter: {\n\t\t\t\t\t\tpattern: /^\\\\\\(|\\)$/,\n\t\t\t\t\t\talias: 'variable'\n\t\t\t\t\t}\n\t\t\t\t\t// See rest below\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\t'keyword': /\\b(as|associativity|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic(?:Type)?|else|enum|extension|fallthrough|final|for|func|get|guard|if|import|in|infix|init|inout|internal|is|lazy|left|let|mutating|new|none|nonmutating|operator|optional|override|postfix|precedence|prefix|private|Protocol|public|repeat|required|rethrows|return|right|safe|self|Self|set|static|struct|subscript|super|switch|throws?|try|Type|typealias|unowned|unsafe|var|weak|where|while|willSet|__(?:COLUMN__|FILE__|FUNCTION__|LINE__))\\b/,\n\t'number': /\\b([\\d_]+(\\.[\\de_]+)?|0x[a-f0-9_]+(\\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\\b/i,\n\t'constant': /\\b(nil|[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\\b/,\n\t'atrule': /@\\b(IB(?:Outlet|Designable|Action|Inspectable)|class_protocol|exported|noreturn|NS(?:Copying|Managed)|objc|UIApplicationMain|auto_closure)\\b/,\n\t'builtin': /\\b([A-Z]\\S+|abs|advance|alignof(?:Value)?|assert|contains|count(?:Elements)?|debugPrint(?:ln)?|distance|drop(?:First|Last)|dump|enumerate|equal|filter|find|first|getVaList|indices|isEmpty|join|last|lexicographicalCompare|map|max(?:Element)?|min(?:Element)?|numericCast|overlaps|partition|print(?:ln)?|reduce|reflect|reverse|sizeof(?:Value)?|sort(?:ed)?|split|startsWith|stride(?:of(?:Value)?)?|suffix|swap|toDebugString|toString|transcode|underestimateCount|unsafeBitCast|with(?:ExtendedLifetime|Unsafe(?:MutablePointers?|Pointers?)|VaList))\\b/\n});\nPrism.languages.swift['string'].inside['interpolation'].inside.rest = Prism.util.clone(Prism.languages.swift);\n/* */ \n\"format cjs\";\nPrism.languages.objectivec = Prism.languages.extend('c', {\n\t'keyword': /\\b(asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while|in|self|super)\\b|(@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\\b/,\n\t'string': /(\"|')(\\\\(?:\\r\\n|[\\s\\S])|(?!\\1)[^\\\\\\r\\n])*\\1|@\"(\\\\(?:\\r\\n|[\\s\\S])|[^\"\\\\\\r\\n])*\"/,\n\t'operator': /-[->]?|\\+\\+?|!=?|<<?=?|>>?=?|==?|&&?|\\|\\|?|[~^%?*\\/@]/\n});\n\n/* */ \n\"format cjs\";\nPrism.languages.scala = Prism.languages.extend('java', {\n\t'keyword': /<-|=>|\\b(?:abstract|case|catch|class|def|do|else|extends|final|finally|for|forSome|if|implicit|import|lazy|match|new|null|object|override|package|private|protected|return|sealed|self|super|this|throw|trait|try|type|val|var|while|with|yield)\\b/,\n\t'string': /\"\"\"[\\W\\w]*?\"\"\"|\"(?:[^\"\\\\\\r\\n]|\\\\.)*\"|'(?:[^\\\\\\r\\n']|\\\\.[^\\\\']*)'/,\n\t'builtin': /\\b(?:String|Int|Long|Short|Byte|Boolean|Double|Float|Char|Any|AnyRef|AnyVal|Unit|Nothing)\\b/,\n\t'number': /\\b(?:0x[\\da-f]*\\.?[\\da-f]+|\\d*\\.?\\d+e?\\d*[dfl]?)\\b/i,\n\t'symbol': /'[^\\d\\s\\\\]\\w*/\n});\ndelete Prism.languages.scala['class-name'];\ndelete Prism.languages.scala['function'];\n","/* */ \n\"format cjs\";\n/**\n * marked - a markdown parser\n * Copyright (c) 2011-2014, Christopher Jeffrey. (MIT Licensed)\n * https://github.com/chjj/marked\n */\n\n;(function() {\n\n/**\n * Block-Level Grammar\n */\n\nvar block = {\n newline: /^\\n+/,\n code: /^( {4}[^\\n]+\\n*)+/,\n fences: noop,\n hr: /^( *[-*_]){3,} *(?:\\n+|$)/,\n heading: /^ *(#{1,6}) *([^\\n]+?) *#* *(?:\\n+|$)/,\n nptable: noop,\n lheading: /^([^\\n]+)\\n *(=|-){2,} *(?:\\n+|$)/,\n blockquote: /^( *>[^\\n]+(\\n(?!def)[^\\n]+)*\\n*)+/,\n list: /^( *)(bull) [\\s\\S]+?(?:hr|def|\\n{2,}(?! )(?!\\1bull )\\n*|\\s*$)/,\n html: /^ *(?:comment *(?:\\n|\\s*$)|closed *(?:\\n{2,}|\\s*$)|closing *(?:\\n{2,}|\\s*$))/,\n def: /^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +[\"(]([^\\n]+)[\")])? *(?:\\n+|$)/,\n table: noop,\n paragraph: /^((?:[^\\n]+\\n?(?!hr|heading|lheading|blockquote|tag|def))+)\\n*/,\n text: /^[^\\n]+/\n};\n\nblock.bullet = /(?:[*+-]|\\d+\\.)/;\nblock.item = /^( *)(bull) [^\\n]*(?:\\n(?!\\1bull )[^\\n]*)*/;\nblock.item = replace(block.item, 'gm')\n (/bull/g, block.bullet)\n ();\n\nblock.list = replace(block.list)\n (/bull/g, block.bullet)\n ('hr', '\\\\n+(?=\\\\1?(?:[-*_] *){3,}(?:\\\\n+|$))')\n ('def', '\\\\n+(?=' + block.def.source + ')')\n ();\n\nblock.blockquote = replace(block.blockquote)\n ('def', block.def)\n ();\n\nblock._tag = '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code'\n + '|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo'\n + '|span|br|wbr|ins|del|img)\\\\b)\\\\w+(?!:/|[^\\\\w\\\\s@]*@)\\\\b';\n\nblock.html = replace(block.html)\n ('comment', /<!--[\\s\\S]*?-->/)\n ('closed', /<(tag)[\\s\\S]+?<\\/\\1>/)\n ('closing', /<tag(?:\"[^\"]*\"|'[^']*'|[^'\">])*?>/)\n (/tag/g, block._tag)\n ();\n\nblock.paragraph = replace(block.paragraph)\n ('hr', block.hr)\n ('heading', block.heading)\n ('lheading', block.lheading)\n ('blockquote', block.blockquote)\n ('tag', '<' + block._tag)\n ('def', block.def)\n ();\n\n/**\n * Normal Block Grammar\n */\n\nblock.normal = merge({}, block);\n\n/**\n * GFM Block Grammar\n */\n\nblock.gfm = merge({}, block.normal, {\n fences: /^ *(`{3,}|~{3,})[ \\.]*(\\S+)? *\\n([\\s\\S]*?)\\s*\\1 *(?:\\n+|$)/,\n paragraph: /^/,\n heading: /^ *(#{1,6}) +([^\\n]+?) *#* *(?:\\n+|$)/\n});\n\nblock.gfm.paragraph = replace(block.paragraph)\n ('(?!', '(?!'\n + block.gfm.fences.source.replace('\\\\1', '\\\\2') + '|'\n + block.list.source.replace('\\\\1', '\\\\3') + '|')\n ();\n\n/**\n * GFM + Tables Block Grammar\n */\n\nblock.tables = merge({}, block.gfm, {\n nptable: /^ *(\\S.*\\|.*)\\n *([-:]+ *\\|[-| :]*)\\n((?:.*\\|.*(?:\\n|$))*)\\n*/,\n table: /^ *\\|(.+)\\n *\\|( *[-:]+[-| :]*)\\n((?: *\\|.*(?:\\n|$))*)\\n*/\n});\n\n/**\n * Block Lexer\n */\n\nfunction Lexer(options) {\n this.tokens = [];\n this.tokens.links = {};\n this.options = options || marked.defaults;\n this.rules = block.normal;\n\n if (this.options.gfm) {\n if (this.options.tables) {\n this.rules = block.tables;\n } else {\n this.rules = block.gfm;\n }\n }\n}\n\n/**\n * Expose Block Rules\n */\n\nLexer.rules = block;\n\n/**\n * Static Lex Method\n */\n\nLexer.lex = function(src, options) {\n var lexer = new Lexer(options);\n return lexer.lex(src);\n};\n\n/**\n * Preprocessing\n */\n\nLexer.prototype.lex = function(src) {\n src = src\n .replace(/\\r\\n|\\r/g, '\\n')\n .replace(/\\t/g, ' ')\n .replace(/\\u00a0/g, ' ')\n .replace(/\\u2424/g, '\\n');\n\n return this.token(src, true);\n};\n\n/**\n * Lexing\n */\n\nLexer.prototype.token = function(src, top, bq) {\n var src = src.replace(/^ +$/gm, '')\n , next\n , loose\n , cap\n , bull\n , b\n , item\n , space\n , i\n , l;\n\n while (src) {\n // newline\n if (cap = this.rules.newline.exec(src)) {\n src = src.substring(cap[0].length);\n if (cap[0].length > 1) {\n this.tokens.push({\n type: 'space'\n });\n }\n }\n\n // code\n if (cap = this.rules.code.exec(src)) {\n src = src.substring(cap[0].length);\n cap = cap[0].replace(/^ {4}/gm, '');\n this.tokens.push({\n type: 'code',\n text: !this.options.pedantic\n ? cap.replace(/\\n+$/, '')\n : cap\n });\n continue;\n }\n\n // fences (gfm)\n if (cap = this.rules.fences.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'code',\n lang: cap[2],\n text: cap[3] || ''\n });\n continue;\n }\n\n // heading\n if (cap = this.rules.heading.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'heading',\n depth: cap[1].length,\n text: cap[2]\n });\n continue;\n }\n\n // table no leading pipe (gfm)\n if (top && (cap = this.rules.nptable.exec(src))) {\n src = src.substring(cap[0].length);\n\n item = {\n type: 'table',\n header: cap[1].replace(/^ *| *\\| *$/g, '').split(/ *\\| */),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n cells: cap[3].replace(/\\n$/, '').split('\\n')\n };\n\n for (i = 0; i < item.align.length; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n for (i = 0; i < item.cells.length; i++) {\n item.cells[i] = item.cells[i].split(/ *\\| */);\n }\n\n this.tokens.push(item);\n\n continue;\n }\n\n // lheading\n if (cap = this.rules.lheading.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'heading',\n depth: cap[2] === '=' ? 1 : 2,\n text: cap[1]\n });\n continue;\n }\n\n // hr\n if (cap = this.rules.hr.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'hr'\n });\n continue;\n }\n\n // blockquote\n if (cap = this.rules.blockquote.exec(src)) {\n src = src.substring(cap[0].length);\n\n this.tokens.push({\n type: 'blockquote_start'\n });\n\n cap = cap[0].replace(/^ *> ?/gm, '');\n\n // Pass `top` to keep the current\n // \"toplevel\" state. This is exactly\n // how markdown.pl works.\n this.token(cap, top, true);\n\n this.tokens.push({\n type: 'blockquote_end'\n });\n\n continue;\n }\n\n // list\n if (cap = this.rules.list.exec(src)) {\n src = src.substring(cap[0].length);\n bull = cap[2];\n\n this.tokens.push({\n type: 'list_start',\n ordered: bull.length > 1\n });\n\n // Get each top-level item.\n cap = cap[0].match(this.rules.item);\n\n next = false;\n l = cap.length;\n i = 0;\n\n for (; i < l; i++) {\n item = cap[i];\n\n // Remove the list item's bullet\n // so it is seen as the next token.\n space = item.length;\n item = item.replace(/^ *([*+-]|\\d+\\.) +/, '');\n\n // Outdent whatever the\n // list item contains. Hacky.\n if (~item.indexOf('\\n ')) {\n space -= item.length;\n item = !this.options.pedantic\n ? item.replace(new RegExp('^ {1,' + space + '}', 'gm'), '')\n : item.replace(/^ {1,4}/gm, '');\n }\n\n // Determine whether the next list item belongs here.\n // Backpedal if it does not belong in this list.\n if (this.options.smartLists && i !== l - 1) {\n b = block.bullet.exec(cap[i + 1])[0];\n if (bull !== b && !(bull.length > 1 && b.length > 1)) {\n src = cap.slice(i + 1).join('\\n') + src;\n i = l - 1;\n }\n }\n\n // Determine whether item is loose or not.\n // Use: /(^|\\n)(?! )[^\\n]+\\n\\n(?!\\s*$)/\n // for discount behavior.\n loose = next || /\\n\\n(?!\\s*$)/.test(item);\n if (i !== l - 1) {\n next = item.charAt(item.length - 1) === '\\n';\n if (!loose) loose = next;\n }\n\n this.tokens.push({\n type: loose\n ? 'loose_item_start'\n : 'list_item_start'\n });\n\n // Recurse.\n this.token(item, false, bq);\n\n this.tokens.push({\n type: 'list_item_end'\n });\n }\n\n this.tokens.push({\n type: 'list_end'\n });\n\n continue;\n }\n\n // html\n if (cap = this.rules.html.exec(src)) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: this.options.sanitize\n ? 'paragraph'\n : 'html',\n pre: !this.options.sanitizer\n && (cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style'),\n text: cap[0]\n });\n continue;\n }\n\n // def\n if ((!bq && top) && (cap = this.rules.def.exec(src))) {\n src = src.substring(cap[0].length);\n this.tokens.links[cap[1].toLowerCase()] = {\n href: cap[2],\n title: cap[3]\n };\n continue;\n }\n\n // table (gfm)\n if (top && (cap = this.rules.table.exec(src))) {\n src = src.substring(cap[0].length);\n\n item = {\n type: 'table',\n header: cap[1].replace(/^ *| *\\| *$/g, '').split(/ *\\| */),\n align: cap[2].replace(/^ *|\\| *$/g, '').split(/ *\\| */),\n cells: cap[3].replace(/(?: *\\| *)?\\n$/, '').split('\\n')\n };\n\n for (i = 0; i < item.align.length; i++) {\n if (/^ *-+: *$/.test(item.align[i])) {\n item.align[i] = 'right';\n } else if (/^ *:-+: *$/.test(item.align[i])) {\n item.align[i] = 'center';\n } else if (/^ *:-+ *$/.test(item.align[i])) {\n item.align[i] = 'left';\n } else {\n item.align[i] = null;\n }\n }\n\n for (i = 0; i < item.cells.length; i++) {\n item.cells[i] = item.cells[i]\n .replace(/^ *\\| *| *\\| *$/g, '')\n .split(/ *\\| */);\n }\n\n this.tokens.push(item);\n\n continue;\n }\n\n // top-level paragraph\n if (top && (cap = this.rules.paragraph.exec(src))) {\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'paragraph',\n text: cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1]\n });\n continue;\n }\n\n // text\n if (cap = this.rules.text.exec(src)) {\n // Top-level should never reach here.\n src = src.substring(cap[0].length);\n this.tokens.push({\n type: 'text',\n text: cap[0]\n });\n continue;\n }\n\n if (src) {\n throw new\n Error('Infinite loop on byte: ' + src.charCodeAt(0));\n }\n }\n\n return this.tokens;\n};\n\n/**\n * Inline-Level Grammar\n */\n\nvar inline = {\n escape: /^\\\\([\\\\`*{}\\[\\]()#+\\-.!_>])/,\n autolink: /^<([^ >]+(@|:\\/)[^ >]+)>/,\n url: noop,\n tag: /^<!--[\\s\\S]*?-->|^<\\/?\\w+(?:\"[^\"]*\"|'[^']*'|[^'\">])*?>/,\n link: /^!?\\[(inside)\\]\\(href\\)/,\n reflink: /^!?\\[(inside)\\]\\s*\\[([^\\]]*)\\]/,\n nolink: /^!?\\[((?:\\[[^\\]]*\\]|[^\\[\\]])*)\\]/,\n strong: /^__([\\s\\S]+?)__(?!_)|^\\*\\*([\\s\\S]+?)\\*\\*(?!\\*)/,\n em: /^\\b_((?:[^_]|__)+?)_\\b|^\\*((?:\\*\\*|[\\s\\S])+?)\\*(?!\\*)/,\n code: /^(`+)\\s*([\\s\\S]*?[^`])\\s*\\1(?!`)/,\n br: /^ {2,}\\n(?!\\s*$)/,\n del: noop,\n text: /^[\\s\\S]+?(?=[\\\\<!\\[_*`]| {2,}\\n|$)/\n};\n\ninline._inside = /(?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*/;\ninline._href = /\\s*<?([\\s\\S]*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*/;\n\ninline.link = replace(inline.link)\n ('inside', inline._inside)\n ('href', inline._href)\n ();\n\ninline.reflink = replace(inline.reflink)\n ('inside', inline._inside)\n ();\n\n/**\n * Normal Inline Grammar\n */\n\ninline.normal = merge({}, inline);\n\n/**\n * Pedantic Inline Grammar\n */\n\ninline.pedantic = merge({}, inline.normal, {\n strong: /^__(?=\\S)([\\s\\S]*?\\S)__(?!_)|^\\*\\*(?=\\S)([\\s\\S]*?\\S)\\*\\*(?!\\*)/,\n em: /^_(?=\\S)([\\s\\S]*?\\S)_(?!_)|^\\*(?=\\S)([\\s\\S]*?\\S)\\*(?!\\*)/\n});\n\n/**\n * GFM Inline Grammar\n */\n\ninline.gfm = merge({}, inline.normal, {\n escape: replace(inline.escape)('])', '~|])')(),\n url: /^(https?:\\/\\/[^\\s<]+[^<.,:;\"')\\]\\s])/,\n del: /^~~(?=\\S)([\\s\\S]*?\\S)~~/,\n text: replace(inline.text)\n (']|', '~]|')\n ('|', '|https?://|')\n ()\n});\n\n/**\n * GFM + Line Breaks Inline Grammar\n */\n\ninline.breaks = merge({}, inline.gfm, {\n br: replace(inline.br)('{2,}', '*')(),\n text: replace(inline.gfm.text)('{2,}', '*')()\n});\n\n/**\n * Inline Lexer & Compiler\n */\n\nfunction InlineLexer(links, options) {\n this.options = options || marked.defaults;\n this.links = links;\n this.rules = inline.normal;\n this.renderer = this.options.renderer || new Renderer;\n this.renderer.options = this.options;\n\n if (!this.links) {\n throw new\n Error('Tokens array requires a `links` property.');\n }\n\n if (this.options.gfm) {\n if (this.options.breaks) {\n this.rules = inline.breaks;\n } else {\n this.rules = inline.gfm;\n }\n } else if (this.options.pedantic) {\n this.rules = inline.pedantic;\n }\n}\n\n/**\n * Expose Inline Rules\n */\n\nInlineLexer.rules = inline;\n\n/**\n * Static Lexing/Compiling Method\n */\n\nInlineLexer.output = function(src, links, options) {\n var inline = new InlineLexer(links, options);\n return inline.output(src);\n};\n\n/**\n * Lexing/Compiling\n */\n\nInlineLexer.prototype.output = function(src) {\n var out = ''\n , link\n , text\n , href\n , cap;\n\n while (src) {\n // escape\n if (cap = this.rules.escape.exec(src)) {\n src = src.substring(cap[0].length);\n out += cap[1];\n continue;\n }\n\n // autolink\n if (cap = this.rules.autolink.exec(src)) {\n src = src.substring(cap[0].length);\n if (cap[2] === '@') {\n text = cap[1].charAt(6) === ':'\n ? this.mangle(cap[1].substring(7))\n : this.mangle(cap[1]);\n href = this.mangle('mailto:') + text;\n } else {\n text = escape(cap[1]);\n href = text;\n }\n out += this.renderer.link(href, null, text);\n continue;\n }\n\n // url (gfm)\n if (!this.inLink && (cap = this.rules.url.exec(src))) {\n src = src.substring(cap[0].length);\n text = escape(cap[1]);\n href = text;\n out += this.renderer.link(href, null, text);\n continue;\n }\n\n // tag\n if (cap = this.rules.tag.exec(src)) {\n if (!this.inLink && /^<a /i.test(cap[0])) {\n this.inLink = true;\n } else if (this.inLink && /^<\\/a>/i.test(cap[0])) {\n this.inLink = false;\n }\n src = src.substring(cap[0].length);\n out += this.options.sanitize\n ? this.options.sanitizer\n ? this.options.sanitizer(cap[0])\n : escape(cap[0])\n : cap[0]\n continue;\n }\n\n // link\n if (cap = this.rules.link.exec(src)) {\n src = src.substring(cap[0].length);\n this.inLink = true;\n out += this.outputLink(cap, {\n href: cap[2],\n title: cap[3]\n });\n this.inLink = false;\n continue;\n }\n\n // reflink, nolink\n if ((cap = this.rules.reflink.exec(src))\n || (cap = this.rules.nolink.exec(src))) {\n src = src.substring(cap[0].length);\n link = (cap[2] || cap[1]).replace(/\\s+/g, ' ');\n link = this.links[link.toLowerCase()];\n if (!link || !link.href) {\n out += cap[0].charAt(0);\n src = cap[0].substring(1) + src;\n continue;\n }\n this.inLink = true;\n out += this.outputLink(cap, link);\n this.inLink = false;\n continue;\n }\n\n // strong\n if (cap = this.rules.strong.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.strong(this.output(cap[2] || cap[1]));\n continue;\n }\n\n // em\n if (cap = this.rules.em.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.em(this.output(cap[2] || cap[1]));\n continue;\n }\n\n // code\n if (cap = this.rules.code.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.codespan(escape(cap[2], true));\n continue;\n }\n\n // br\n if (cap = this.rules.br.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.br();\n continue;\n }\n\n // del (gfm)\n if (cap = this.rules.del.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.del(this.output(cap[1]));\n continue;\n }\n\n // text\n if (cap = this.rules.text.exec(src)) {\n src = src.substring(cap[0].length);\n out += this.renderer.text(escape(this.smartypants(cap[0])));\n continue;\n }\n\n if (src) {\n throw new\n Error('Infinite loop on byte: ' + src.charCodeAt(0));\n }\n }\n\n return out;\n};\n\n/**\n * Compile Link\n */\n\nInlineLexer.prototype.outputLink = function(cap, link) {\n var href = escape(link.href)\n , title = link.title ? escape(link.title) : null;\n\n return cap[0].charAt(0) !== '!'\n ? this.renderer.link(href, title, this.output(cap[1]))\n : this.renderer.image(href, title, escape(cap[1]));\n};\n\n/**\n * Smartypants Transformations\n */\n\nInlineLexer.prototype.smartypants = function(text) {\n if (!this.options.smartypants) return text;\n return text\n // em-dashes\n .replace(/---/g, '\\u2014')\n // en-dashes\n .replace(/--/g, '\\u2013')\n // opening singles\n .replace(/(^|[-\\u2014/(\\[{\"\\s])'/g, '$1\\u2018')\n // closing singles & apostrophes\n .replace(/'/g, '\\u2019')\n // opening doubles\n .replace(/(^|[-\\u2014/(\\[{\\u2018\\s])\"/g, '$1\\u201c')\n // closing doubles\n .replace(/\"/g, '\\u201d')\n // ellipses\n .replace(/\\.{3}/g, '\\u2026');\n};\n\n/**\n * Mangle Links\n */\n\nInlineLexer.prototype.mangle = function(text) {\n if (!this.options.mangle) return text;\n var out = ''\n , l = text.length\n , i = 0\n , ch;\n\n for (; i < l; i++) {\n ch = text.charCodeAt(i);\n if (Math.random() > 0.5) {\n ch = 'x' + ch.toString(16);\n }\n out += '&#' + ch + ';';\n }\n\n return out;\n};\n\n/**\n * Renderer\n */\n\nfunction Renderer(options) {\n this.options = options || {};\n}\n\nRenderer.prototype.code = function(code, lang, escaped) {\n if (this.options.highlight) {\n var out = this.options.highlight(code, lang);\n if (out != null && out !== code) {\n escaped = true;\n code = out;\n }\n }\n\n if (!lang) {\n return '<pre><code>'\n + (escaped ? code : escape(code, true))\n + '\\n</code></pre>';\n }\n\n return '<pre><code class=\"'\n + this.options.langPrefix\n + escape(lang, true)\n + '\">'\n + (escaped ? code : escape(code, true))\n + '\\n</code></pre>\\n';\n};\n\nRenderer.prototype.blockquote = function(quote) {\n return '<blockquote>\\n' + quote + '</blockquote>\\n';\n};\n\nRenderer.prototype.html = function(html) {\n return html;\n};\n\nRenderer.prototype.heading = function(text, level, raw) {\n return '<h'\n + level\n + ' id=\"'\n + this.options.headerPrefix\n + raw.toLowerCase().replace(/[^\\w]+/g, '-')\n + '\">'\n + text\n + '</h'\n + level\n + '>\\n';\n};\n\nRenderer.prototype.hr = function() {\n return this.options.xhtml ? '<hr/>\\n' : '<hr>\\n';\n};\n\nRenderer.prototype.list = function(body, ordered) {\n var type = ordered ? 'ol' : 'ul';\n return '<' + type + '>\\n' + body + '</' + type + '>\\n';\n};\n\nRenderer.prototype.listitem = function(text) {\n return '<li>' + text + '</li>\\n';\n};\n\nRenderer.prototype.paragraph = function(text) {\n return '<p>' + text + '</p>\\n';\n};\n\nRenderer.prototype.table = function(header, body) {\n return '<table>\\n'\n + '<thead>\\n'\n + header\n + '</thead>\\n'\n + '<tbody>\\n'\n + body\n + '</tbody>\\n'\n + '</table>\\n';\n};\n\nRenderer.prototype.tablerow = function(content) {\n return '<tr>\\n' + content + '</tr>\\n';\n};\n\nRenderer.prototype.tablecell = function(content, flags) {\n var type = flags.header ? 'th' : 'td';\n var tag = flags.align\n ? '<' + type + ' style=\"text-align:' + flags.align + '\">'\n : '<' + type + '>';\n return tag + content + '</' + type + '>\\n';\n};\n\n// span level renderer\nRenderer.prototype.strong = function(text) {\n return '<strong>' + text + '</strong>';\n};\n\nRenderer.prototype.em = function(text) {\n return '<em>' + text + '</em>';\n};\n\nRenderer.prototype.codespan = function(text) {\n return '<code>' + text + '</code>';\n};\n\nRenderer.prototype.br = function() {\n return this.options.xhtml ? '<br/>' : '<br>';\n};\n\nRenderer.prototype.del = function(text) {\n return '<del>' + text + '</del>';\n};\n\nRenderer.prototype.link = function(href, title, text) {\n if (this.options.sanitize) {\n try {\n var prot = decodeURIComponent(unescape(href))\n .replace(/[^\\w:]/g, '')\n .toLowerCase();\n } catch (e) {\n return '';\n }\n if (prot.indexOf('javascript:') === 0 || prot.indexOf('vbscript:') === 0) {\n return '';\n }\n }\n var out = '<a href=\"' + href + '\"';\n if (title) {\n out += ' title=\"' + title + '\"';\n }\n out += '>' + text + '</a>';\n return out;\n};\n\nRenderer.prototype.image = function(href, title, text) {\n var out = '<img src=\"' + href + '\" alt=\"' + text + '\"';\n if (title) {\n out += ' title=\"' + title + '\"';\n }\n out += this.options.xhtml ? '/>' : '>';\n return out;\n};\n\nRenderer.prototype.text = function(text) {\n return text;\n};\n\n/**\n * Parsing & Compiling\n */\n\nfunction Parser(options) {\n this.tokens = [];\n this.token = null;\n this.options = options || marked.defaults;\n this.options.renderer = this.options.renderer || new Renderer;\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n}\n\n/**\n * Static Parse Method\n */\n\nParser.parse = function(src, options, renderer) {\n var parser = new Parser(options, renderer);\n return parser.parse(src);\n};\n\n/**\n * Parse Loop\n */\n\nParser.prototype.parse = function(src) {\n this.inline = new InlineLexer(src.links, this.options, this.renderer);\n this.tokens = src.reverse();\n\n var out = '';\n while (this.next()) {\n out += this.tok();\n }\n\n return out;\n};\n\n/**\n * Next Token\n */\n\nParser.prototype.next = function() {\n return this.token = this.tokens.pop();\n};\n\n/**\n * Preview Next Token\n */\n\nParser.prototype.peek = function() {\n return this.tokens[this.tokens.length - 1] || 0;\n};\n\n/**\n * Parse Text Tokens\n */\n\nParser.prototype.parseText = function() {\n var body = this.token.text;\n\n while (this.peek().type === 'text') {\n body += '\\n' + this.next().text;\n }\n\n return this.inline.output(body);\n};\n\n/**\n * Parse Current Token\n */\n\nParser.prototype.tok = function() {\n switch (this.token.type) {\n case 'space': {\n return '';\n }\n case 'hr': {\n return this.renderer.hr();\n }\n case 'heading': {\n return this.renderer.heading(\n this.inline.output(this.token.text),\n this.token.depth,\n this.token.text);\n }\n case 'code': {\n return this.renderer.code(this.token.text,\n this.token.lang,\n this.token.escaped);\n }\n case 'table': {\n var header = ''\n , body = ''\n , i\n , row\n , cell\n , flags\n , j;\n\n // header\n cell = '';\n for (i = 0; i < this.token.header.length; i++) {\n flags = { header: true, align: this.token.align[i] };\n cell += this.renderer.tablecell(\n this.inline.output(this.token.header[i]),\n { header: true, align: this.token.align[i] }\n );\n }\n header += this.renderer.tablerow(cell);\n\n for (i = 0; i < this.token.cells.length; i++) {\n row = this.token.cells[i];\n\n cell = '';\n for (j = 0; j < row.length; j++) {\n cell += this.renderer.tablecell(\n this.inline.output(row[j]),\n { header: false, align: this.token.align[j] }\n );\n }\n\n body += this.renderer.tablerow(cell);\n }\n return this.renderer.table(header, body);\n }\n case 'blockquote_start': {\n var body = '';\n\n while (this.next().type !== 'blockquote_end') {\n body += this.tok();\n }\n\n return this.renderer.blockquote(body);\n }\n case 'list_start': {\n var body = ''\n , ordered = this.token.ordered;\n\n while (this.next().type !== 'list_end') {\n body += this.tok();\n }\n\n return this.renderer.list(body, ordered);\n }\n case 'list_item_start': {\n var body = '';\n\n while (this.next().type !== 'list_item_end') {\n body += this.token.type === 'text'\n ? this.parseText()\n : this.tok();\n }\n\n return this.renderer.listitem(body);\n }\n case 'loose_item_start': {\n var body = '';\n\n while (this.next().type !== 'list_item_end') {\n body += this.tok();\n }\n\n return this.renderer.listitem(body);\n }\n case 'html': {\n var html = !this.token.pre && !this.options.pedantic\n ? this.inline.output(this.token.text)\n : this.token.text;\n return this.renderer.html(html);\n }\n case 'paragraph': {\n return this.renderer.paragraph(this.inline.output(this.token.text));\n }\n case 'text': {\n return this.renderer.paragraph(this.parseText());\n }\n }\n};\n\n/**\n * Helpers\n */\n\nfunction escape(html, encode) {\n return html\n .replace(!encode ? /&(?!#?\\w+;)/g : /&/g, '&')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n}\n\nfunction unescape(html) {\n return html.replace(/&([#\\w]+);/g, function(_, n) {\n n = n.toLowerCase();\n if (n === 'colon') return ':';\n if (n.charAt(0) === '#') {\n return n.charAt(1) === 'x'\n ? String.fromCharCode(parseInt(n.substring(2), 16))\n : String.fromCharCode(+n.substring(1));\n }\n return '';\n });\n}\n\nfunction replace(regex, opt) {\n regex = regex.source;\n opt = opt || '';\n return function self(name, val) {\n if (!name) return new RegExp(regex, opt);\n val = val.source || val;\n val = val.replace(/(^|[^\\[])\\^/g, '$1');\n regex = regex.replace(name, val);\n return self;\n };\n}\n\nfunction noop() {}\nnoop.exec = noop;\n\nfunction merge(obj) {\n var i = 1\n , target\n , key;\n\n for (; i < arguments.length; i++) {\n target = arguments[i];\n for (key in target) {\n if (Object.prototype.hasOwnProperty.call(target, key)) {\n obj[key] = target[key];\n }\n }\n }\n\n return obj;\n}\n\n\n/**\n * Marked\n */\n\nfunction marked(src, opt, callback) {\n if (callback || typeof opt === 'function') {\n if (!callback) {\n callback = opt;\n opt = null;\n }\n\n opt = merge({}, marked.defaults, opt || {});\n\n var highlight = opt.highlight\n , tokens\n , pending\n , i = 0;\n\n try {\n tokens = Lexer.lex(src, opt)\n } catch (e) {\n return callback(e);\n }\n\n pending = tokens.length;\n\n var done = function(err) {\n if (err) {\n opt.highlight = highlight;\n return callback(err);\n }\n\n var out;\n\n try {\n out = Parser.parse(tokens, opt);\n } catch (e) {\n err = e;\n }\n\n opt.highlight = highlight;\n\n return err\n ? callback(err)\n : callback(null, out);\n };\n\n if (!highlight || highlight.length < 3) {\n return done();\n }\n\n delete opt.highlight;\n\n if (!pending) return done();\n\n for (; i < tokens.length; i++) {\n (function(token) {\n if (token.type !== 'code') {\n return --pending || done();\n }\n return highlight(token.text, token.lang, function(err, code) {\n if (err) return done(err);\n if (code == null || code === token.text) {\n return --pending || done();\n }\n token.text = code;\n token.escaped = true;\n --pending || done();\n });\n })(tokens[i]);\n }\n\n return;\n }\n try {\n if (opt) opt = merge({}, marked.defaults, opt);\n return Parser.parse(Lexer.lex(src, opt), opt);\n } catch (e) {\n e.message += '\\nPlease report this to https://github.com/chjj/marked.';\n if ((opt || marked.defaults).silent) {\n return '<p>An error occured:</p><pre>'\n + escape(e.message + '', true)\n + '</pre>';\n }\n throw e;\n }\n}\n\n/**\n * Options\n */\n\nmarked.options =\nmarked.setOptions = function(opt) {\n merge(marked.defaults, opt);\n return marked;\n};\n\nmarked.defaults = {\n gfm: true,\n tables: true,\n breaks: false,\n pedantic: false,\n sanitize: false,\n sanitizer: null,\n mangle: true,\n smartLists: false,\n silent: false,\n highlight: null,\n langPrefix: 'lang-',\n smartypants: false,\n headerPrefix: '',\n renderer: new Renderer,\n xhtml: false\n};\n\n/**\n * Expose\n */\n\nmarked.Parser = Parser;\nmarked.parser = Parser.parse;\n\nmarked.Renderer = Renderer;\n\nmarked.Lexer = Lexer;\nmarked.lexer = Lexer.lex;\n\nmarked.InlineLexer = InlineLexer;\nmarked.inlineLexer = InlineLexer.output;\n\nmarked.parse = marked;\n\nif (typeof module !== 'undefined' && typeof exports === 'object') {\n module.exports = marked;\n} else if (typeof define === 'function' && define.amd) {\n define(function() { return marked; });\n} else {\n this.marked = marked;\n}\n\n}).call(function() {\n return this || (typeof window !== 'undefined' ? window : global);\n}());\n","module.exports = require(\"npm:marked@0.3.5/lib/marked.js\");","'use strict';\n\nimport {Pipe} from '@angular/core';\nimport {isString, stringify, isBlank} from '@angular/core/src/facade/lang';\nimport {BaseException} from '@angular/core/src/facade/exceptions';\nimport {JsonPointer} from './JsonPointer';\n\nimport Prism from '../../prismjs-bundle';\n\nimport 'prismjs/themes/prism-dark.css!css';\nimport 'hint.css/hint.base.css!css';\n\nimport marked from 'marked';\n\n// in gfm mode marked doesn't parse #Heading (without space after #) as heading\n// https://github.com/chjj/marked/issues/642\nmarked.Lexer.rules.gfm.heading = marked.Lexer.rules.normal.heading;\nmarked.Lexer.rules.tables.heading = marked.Lexer.rules.normal.heading;\n\nmarked.setOptions({\n renderer: new marked.Renderer(),\n gfm: true,\n tables: true,\n breaks: false,\n pedantic: false,\n smartLists: true,\n smartypants: false\n});\n\nclass InvalidPipeArgumentException extends BaseException {\n constructor(type, value) {\n super(`Invalid argument '${value}' for pipe '${stringify(type)}'`);\n }\n}\n\n@Pipe({ name: 'keys' })\nexport class KeysPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (typeof value !== 'object') {\n throw new InvalidPipeArgumentException(ValuesPipe, value);\n }\n return Object.keys(value);\n }\n}\n\n@Pipe({ name: 'values' })\nexport class ValuesPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (typeof value !== 'object') {\n throw new InvalidPipeArgumentException(ValuesPipe, value);\n }\n return Object.keys(value).map(key => value[key]);\n }\n}\n\n@Pipe({ name: 'jsonPointerEscape' })\nexport class JsonPointerEscapePipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n return JsonPointer.escape(value);\n }\n}\n\n@Pipe({ name: 'marked' })\nexport class MarkedPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n return `<span class=\"redoc-markdown-block\">${marked(value)}</span>`;\n }\n}\n\nconst langMap = {\n 'c++': 'cpp',\n 'c#': 'csharp',\n 'objective-c': 'objectivec',\n 'shell': 'bash',\n 'viml': 'vim'\n};\n\n@Pipe({ name: 'prism' })\nexport class PrismPipe {\n transform(value, args) {\n if (isBlank(args) || args.length === 0) {\n throw new BaseException('Prism pipe requires one argument');\n }\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(JsonPointerEscapePipe, value);\n }\n let lang = args[0].toString().trim().toLowerCase();\n if (langMap[lang]) lang = langMap[lang];\n\n let grammar = Prism.languages[lang];\n //fallback to clike\n if (!grammar) grammar = Prism.languages.clike;\n return Prism.highlight(value, grammar);\n }\n}\n\n@Pipe({ name: 'encodeURIComponent' })\nexport class EncodeURIComponentPipe {\n transform(value) {\n if (isBlank(value)) return value;\n if (!isString(value)) {\n throw new InvalidPipeArgumentException(EncodeURIComponentPipe, value);\n }\n return encodeURIComponent(value);\n }\n}\n","'use strict';\nimport { Component, ChangeDetectionStrategy } from '@angular/core';\nimport { CORE_DIRECTIVES, JsonPipe, AsyncPipe } from '@angular/common';\nimport SchemaManager from '../utils/SchemaManager';\nimport JsonPointer from '../utils/JsonPointer';\nimport { MarkedPipe, JsonPointerEscapePipe } from '../utils/pipes';\n\nexport { SchemaManager };\n\n// common inputs for all components\nlet commonInputs = ['pointer']; // json pointer to the schema chunk\n\n// internal helper function\nfunction safeConcat(a, b) {\n let res = a && a.slice() || [];\n b = (b == null) ? [] : b;\n return res.concat(b);\n}\n\nfunction defaults(target, src) {\n var props = Object.keys(src);\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n if (target[key] === undefined) {\n target[key] = src[key];\n }\n }\n return target;\n}\n\nfunction snapshot(obj) {\n if(obj == null || typeof(obj) != 'object') {\n return obj;\n }\n\n var temp = new obj.constructor();\n\n for(var key in obj) {\n if (obj.hasOwnProperty(key)) {\n temp[key] = snapshot(obj[key]);\n }\n }\n\n return temp;\n}\n\n/**\n * Class decorator\n * Simplifies setup of component metainfo\n * All options are options from either Component or View angular2 decorator\n * For detailed info look angular2 doc\n * @param {Object} options - component options\n * @param {string[]} options.inputs - component inputs\n * @param {*[]} options.directives - directives used by component\n * (except CORE_DIRECTIVES)\n * @param {*[]} options.pipes - pipes used by component\n * @param {*[]} options.providers - component providers\n * @param {string} options.templateUrl - path to component template\n * @param {string} options.template - component template html\n * @param {string} options.styles - component css styles\n */\nexport function RedocComponent(options) {\n let inputs = safeConcat(options.inputs, commonInputs);\n let directives = safeConcat(options.directives, CORE_DIRECTIVES);\n let pipes = safeConcat(options.pipes, [JsonPointerEscapePipe, MarkedPipe, JsonPipe, AsyncPipe]);\n\n return function decorator(target) {\n\n let componentDecorator = Component({\n selector: options.selector,\n inputs: inputs,\n outputs: options.outputs,\n providers: options.providers,\n changeDetection: options.changeDetection || ChangeDetectionStrategy.Default,\n templateUrl: options.templateUrl,\n template: options.template,\n styles: options.styles,\n directives: directives,\n pipes: pipes\n });\n\n return componentDecorator(target) || target;\n };\n}\n\n/**\n * Generic Component\n * @class\n */\n@Reflect.metadata('parameters', [[SchemaManager]])\nexport class BaseComponent {\n constructor(schemaMgr) {\n this.schemaMgr = schemaMgr;\n this.componentSchema = null;\n }\n\n /**\n * onInit method is run by angular2 after all component inputs are resolved\n */\n ngOnInit() {\n this.componentSchema = snapshot(this.schemaMgr.byPointer(this.pointer || ''));\n this.prepareModel();\n this.init();\n }\n\n ngOnDestroy() {\n this.destroy();\n }\n\n /**\n * simple in-place schema dereferencing. Schema is already bundled so no need in global dereferencing.\n */\n dereference(schema = Object.assign({}, this.componentSchema)) {\n let dereferencedCache = {};\n\n let resolve = (schema) => {\n let resolvedRef;\n if (schema && schema.$ref) {\n resolvedRef = schema.$ref;\n let resolved = this.schemaMgr.byPointer(schema.$ref);\n let baseName = JsonPointer.baseName(schema.$ref);\n if (!dereferencedCache[schema.$ref]) {\n // if resolved schema doesn't have title use name from ref\n resolved = Object.assign({}, resolved);\n resolved._pointer = schema.$ref;\n } else {\n // for circular referenced save only title and type\n resolved = {\n title: resolved.title,\n type: resolved.type\n };\n }\n\n dereferencedCache[schema.$ref] = dereferencedCache[schema.$ref] ? dereferencedCache[schema.$ref] + 1 : 1;\n\n resolved.title = resolved.title || baseName;\n\n let keysCount = Object.keys(schema).length;\n if ( keysCount > 2 || (keysCount === 2 && !schema.description) ) {\n // allow only description field on the same level as $ref because it is\n // common pattern over specs in the wild\n console.warn(`other properties defined at the same level as $ref at '${this.pointer}'.\n They are IGNORRED according to JsonSchema spec`);\n }\n\n schema = schema.description ? {\n description: schema.description\n } : {};\n Object.assign(schema, resolved);\n }\n\n Object.keys(schema).forEach((key) => {\n let value = schema[key];\n if (value && typeof value === 'object') {\n schema[key] = resolve(value);\n }\n });\n if (resolvedRef) dereferencedCache[resolvedRef] = dereferencedCache[resolvedRef] ? dereferencedCache[resolvedRef] - 1 : 0;\n return schema;\n };\n\n this.componentSchema = snapshot(resolve(schema, 1));\n }\n\n static joinAllOf(schema, opts) {\n function merge(into, schemas) {\n for (let subSchema of schemas) {\n if (opts && opts.omitParent && subSchema.discriminator) continue;\n // TODO: add support for merge array schemas\n if (typeof subSchema !== 'object') {\n let errMessage = `Items of allOf should be Object: ${typeof subSchema} found\n ${subSchema}`;\n throw new Error(errMessage);\n }\n\n if (into.type && subSchema.type && into.type !== subSchema.type) {\n let errMessage = `allOf merging error: schemas with different types can't be merged`;\n throw new Error(errMessage);\n }\n\n\n if (into.type === 'array') {\n console.warn('allOf: subschemas with type array are not supported yet');\n }\n\n // TODO: add check if can be merged correctly (no different properties with the same name)\n into.type = into.type || subSchema.type;\n if (into.type === 'object' && subSchema.properties) {\n into.properties || (into.properties = {});\n Object.assign(into.properties, subSchema.properties);\n Object.keys(subSchema.properties).forEach(propName => {\n if (!subSchema.properties[propName]._pointer) {\n subSchema.properties[propName]._pointer = subSchema._pointer ?\n JsonPointer.join(subSchema._pointer, ['properties', propName]) : null;\n }\n });\n }\n if (into.type === 'object' && subSchema.required) {\n into.required || (into.required = []);\n into.required.push(...subSchema.required);\n }\n // don't merge _pointer\n subSchema._pointer = null;\n defaults(into, subSchema);\n }\n into.allOf = null;\n }\n\n function traverse(obj) {\n if (obj === null || typeof(obj) !== 'object') {\n return;\n }\n\n for(var key in obj) {\n if (obj.hasOwnProperty(key)) {\n traverse(obj[key]);\n }\n }\n\n if (obj.allOf) {\n merge(obj, obj.allOf);\n }\n }\n\n traverse(schema);\n }\n\n /**\n * Used to prepare model based on component schema\n * @abstract\n */\n prepareModel() {}\n\n /**\n * Used to initialize component. Run after prepareModel\n * @abstract\n */\n init() {}\n\n /**\n + Used to destroy component\n * @abstract\n */\n destroy() {}\n}\n","'use strict';\n\nimport { ElementRef, ChangeDetectorRef } from '@angular/core';\nimport { BrowserDomAdapter } from '@angular/platform-browser/src/browser/browser_adapter';\nimport { global } from '@angular/core/src/facade/lang';\n\nimport { RedocComponent, BaseComponent, SchemaManager } from '../base';\nimport { ScrollService, Hash, MenuService, OptionsService } from '../../services/index';\n\n@RedocComponent({\n selector: 'side-menu',\n template: `\n <div #mobile class=\"mobile-nav\" (click)=\"toggleMobileNav()\">\n <span class=\"menu-header\"> API Reference: </span>\n <span class=\"selected-item-info\">\n <span class=\"selected-tag\"> {{activeCatCaption}} </span>\n <span class=\"selected-endpoint\">{{activeItemCaption}}</span>\n </span>\n </div>\n <div #desktop id=\"resources-nav\">\n <h5 class=\"menu-header\"> API reference </h5>\n <div *ngFor=\"let cat of data.menu; let idx = index\" class=\"menu-cat\">\n\n <label class=\"menu-cat-header\" (click)=\"activateAndScroll(idx, -1)\" [ngClass]=\"{active: cat.active}\"> {{cat.name}}</label>\n <ul class=\"menu-subitems\" [ngClass]=\"{active: cat.active}\">\n <li *ngFor=\"let method of cat.methods; let methIdx = index\"\n [ngClass]=\"{active: method.active}\"\n (click)=\"activateAndScroll(idx, methIdx)\">\n {{method.summary}}\n </li>\n </ul>\n\n </div>\n </div>\n `,\n providers: [ScrollService, MenuService, Hash],\n styles: [`\n .menu-header{text-transform:uppercase;color:#0033a0;padding:0 20px;margin:10px 0}.menu-cat-header{font-size:0.929em;font-family:Montserrat,sans-serif;font-weight:300;cursor:pointer;color:rgba(38,50,56,0.6);text-transform:uppercase;background-color:#FAFAFA;-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;display:block;padding:12.5px 20px}.menu-cat-header:hover,.menu-cat-header.active{color:#0033a0;background-color:#f0f0f0}.menu-subitems{margin:0;font-size:0.929em;line-height:1.2em;font-weight:300;color:rgba(38,50,56,0.9);padding:0;height:0;overflow:hidden}.menu-subitems.active{height:auto}.menu-subitems li{-webkit-transition:all .15s ease-in-out;-moz-transition:all .15s ease-in-out;-ms-transition:all .15s ease-in-out;-o-transition:all .15s ease-in-out;transition:all .15s ease-in-out;list-style:none inside none;cursor:pointer;background-color:#f0f0f0;padding:10px 40px;padding-left:40px;overflow:hidden;text-overflow:ellipsis}.menu-subitems li:hover,.menu-subitems li.active{background:#e1e1e1}.mobile-nav{display:none;height:3em;line-height:3em;box-sizing:border-box;border-bottom:1px solid #ccc;cursor:pointer}.mobile-nav:after{content:\"\";display:inline-block;width:3em;height:3em;background:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" enable-background=\"new 0 0 100 100\" version=\"1.1\" viewBox=\"0 0 100 100\" xml:space=\"preserve\"><polygon fill=\"#010101\" points=\"23.1 34.1 51.5 61.7 80 34.1 81.5 35 51.5 64.1 21.5 35 23.1 34.1 \"/></svg>');background-size:70%;background-repeat:no-repeat;background-position:center;float:right;vertical-align:middle}.mobile-nav .menu-header{padding:0 10px 0 20px;font-size:0.95em}@media (max-width: 550px){.mobile-nav .menu-header{display:none}}@media (max-width: 1000px){.mobile-nav{display:block}#resources-nav{height:0;overflow-y:auto;transition:all 0.3s ease}#resources-nav .menu-header{display:none}.menu-subitems{height:auto}}.selected-tag{text-transform:capitalize}.selected-endpoint:before{content:\"/\";padding:0 2px;color:#ccc}.selected-endpoint:empty:before{display:none}.selected-item-info{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;box-sizing:border-box;max-width:350px}@media (max-width: 550px){.selected-item-info{display:inline-block;padding:0 20px;max-width:80%;max-width:calc(100% - 4em)}}\n `]\n})\n@Reflect.metadata('parameters', [[SchemaManager], [ElementRef], [BrowserDomAdapter],\n [ScrollService], [MenuService], [Hash], [OptionsService], [ChangeDetectorRef]])\nexport class SideMenu extends BaseComponent {\n constructor(schemaMgr, elementRef, dom, scrollService,\n menuService, hash, optionsService, detectorRef) {\n super(schemaMgr);\n this.$element = elementRef.nativeElement;\n this.dom = dom;\n this.scrollService = scrollService;\n this.menuService = menuService;\n this.hash = hash;\n\n this.activeCatCaption = '';\n this.activeItemCaption = '';\n\n this.options = optionsService.options;\n this.detectorRef = detectorRef;\n\n this.menuService.changed.subscribe((cat, item) => this.changed(cat, item));\n }\n\n changed(cat, item) {\n this.activeCatCaption = cat.name || '';\n this.activeItemCaption = item && item.summary || '';\n\n //safari doesn't update bindings if not run changeDetector manually :(\n this.detectorRef.detectChanges();\n }\n\n activateAndScroll(idx, methodIdx) {\n if (this.mobileMode()) {\n this.toggleMobileNav();\n }\n this.menuService.activate(idx, methodIdx);\n this.menuService.scrollToActive();\n }\n\n init() {\n this.$mobileNav = this.dom.querySelector(this.$element, '.mobile-nav');\n this.$resourcesNav = this.dom.querySelector(this.$element, '#resources-nav');\n\n //decorate option.scrollYOffset to account mobile nav\n var origOffset = this.options.scrollYOffset;\n this.options.scrollYOffset = () => {\n let mobileNavOffset = this.$mobileNav.clientHeight;\n return origOffset() + mobileNavOffset;\n };\n }\n\n prepareModel() {\n this.data = {};\n this.data.menu = this.menuService.categories;\n }\n\n mobileMode() {\n return this.$mobileNav.clientHeight > 0;\n }\n\n toggleMobileNav() {\n let dom = this.dom;\n let $overflowParent = (this.$scrollParent === global) ? dom.defaultDoc().body : this.$scrollParent;\n if (dom.hasStyle(this.$resourcesNav, 'height')) {\n dom.removeStyle(this.$resourcesNav, 'height');\n dom.removeStyle($overflowParent, 'overflow-y');\n } else {\n let viewportHeight = this.$scrollParent.innerHeight || this.$scrollParent.clientHeight;\n let height = viewportHeight - this.$mobileNav.getBoundingClientRect().bottom;\n dom.setStyle($overflowParent, 'overflow-y', 'hidden');\n dom.setStyle(this.$resourcesNav, 'height', height + 'px');\n }\n }\n\n destroy() {\n this.scrollService.unbind();\n this.hash.unbind();\n }\n}\n","/* */ \n\"format global\";\n/*\n * DropKick\n *\n * Highly customizable <select> lists\n * https://github.com/robdel12/DropKick\n *\n*/\n(function(factory) {\n var jQuery;\n\n if ( typeof exports === \"object\" ) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n try {\n jQuery = require( \"jquery\" );\n } catch ( e ) {}\n\n module.exports = factory( window, document, jQuery );\n } else {\n // Browser globals (root is window)\n window.Dropkick = factory( window, document, window.jQuery );\n }\n\n}(function( window, document, jQuery, undefined ) {\n\n\nvar\n\n // Browser testing stuff\n isMobile = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test( navigator.userAgent ),\n isIframe = (window.parent !== window.self && location.host === parent.location.host),\n isIE = navigator.appVersion.indexOf(\"MSIE\")!==-1,\n\n /**\n * # Getting started\n * After you've cloned the repo you will need to add the library to your page. In the `build/js` folder use\n * one of the two DropKick files given. One has a version number in the file name and the other is a version\n * number-less version. You will also need to grab the css from `build/css` and load it on the page.\n *\n * Once those files are imported into the page you can call DropKick on any HTMLSelectElement:\n * `new Dropkick( HTMLSelectElement, Options );` or `new Dropkick( \"ID\", Options );`. This returns the dropkick\n * object to you. It may be useful for you to store this in a var to reference later.\n *\n * If you're using jQuery you can do this instead:\n * `$('#select').dropkick( Options );`\n *\n *\n * @class Dropkick\n * @return { object } DropKick Object for that select. You can call your methods on this if stored in a var\n * @param {elem} sel HTMLSelect Element being passed.\n * @param {opts} options See list of [properties you can pass in here](#list_of_properties)\n * @constructor\n * @example\n * ```js\n * // Pure JS\n * var select = new Dropkick(\"#select\");\n * ```\n * @example\n * ```js\n * // jQuery\n * $(\"#select\").dropkick();\n * ```\n */\n Dropkick = function( sel, opts ) {\n var i, dk;\n\n // Safety if `Dropkick` is called without `new`\n if ( this === window ) {\n return new Dropkick( sel, opts );\n }\n\n if ( typeof sel === \"string\" && sel[0] === \"#\" ) {\n sel = document.getElementById( sel.substr( 1 ) );\n }\n\n // Check if select has already been DK'd and return the DK Object\n for ( i = 0; i < Dropkick.uid; i++) {\n dk = Dropkick.cache[ i ];\n\n if ( dk instanceof Dropkick && dk.data.select === sel ) {\n _.extend( dk.data.settings, opts );\n return dk;\n }\n }\n\n if ( !sel ) {\n console.error(\"You must pass a select to DropKick\");\n return false;\n }\n\n if ( sel.nodeName === \"SELECT\" ) {\n return this.init( sel, opts );\n }\n },\n\n noop = function() {},\n _docListener,\n\n // DK default options\n defaults = {\n\n /**\n * Called once after the DK element is inserted into the DOM.\n * The value of `this` is the Dropkick object itself.\n *\n * @config initialize\n * @type Function\n *\n */\n initialize: noop,\n\n /**\n * Called whenever the value of the Dropkick select changes (by user action or through the API).\n * The value of `this` is the Dropkick object itself.\n *\n * @config change\n * @type Function\n *\n */\n change: noop,\n\n /**\n * Called whenever the Dropkick select is opened. The value of `this` is the Dropkick object itself.\n *\n * @config open\n * @type Function\n *\n */\n open: noop,\n\n /**\n * Called whenever the Dropkick select is closed. The value of `this` is the Dropkick object itself.\n *\n * @config close\n * @type Function\n *\n */\n close: noop,\n\n // Search method; \"strict\", \"partial\", or \"fuzzy\"\n /**\n * `\"strict\"` - The search string matches exactly from the beginning of the option's text value (case insensitive).\n *\n * `\"partial\"` - The search string matches part of the option's text value (case insensitive).\n *\n * `\"fuzzy\"` - The search string matches the characters in the given order (not exclusively).\n * The strongest match is selected first. (case insensitive).\n *\n * @default \"strict\"\n * @config search\n * @type string\n *\n */\n search: \"strict\",\n\n /**\n * Bubble up the custom change event attached to Dropkick to the original element (select).\n */\n bubble: true\n },\n\n // Common Utilities\n _ = {\n\n hasClass: function( elem, classname ) {\n var reg = new RegExp( \"(^|\\\\s+)\" + classname + \"(\\\\s+|$)\" );\n return elem && reg.test( elem.className );\n },\n\n addClass: function( elem, classname ) {\n if( elem && !_.hasClass( elem, classname ) ) {\n elem.className += \" \" + classname;\n }\n },\n\n removeClass: function( elem, classname ) {\n var reg = new RegExp( \"(^|\\\\s+)\" + classname + \"(\\\\s+|$)\" );\n elem && ( elem.className = elem.className.replace( reg, \" \" ) );\n },\n\n toggleClass: function( elem, classname ) {\n var fn = _.hasClass( elem, classname ) ? \"remove\" : \"add\";\n _[ fn + \"Class\" ]( elem, classname );\n },\n\n // Shallow object extend\n extend: function( obj ) {\n Array.prototype.slice.call( arguments, 1 ).forEach( function( source ) {\n if ( source ) { for ( var prop in source ) obj[ prop ] = source[ prop ]; }\n });\n\n return obj;\n },\n\n // Returns the top and left offset of an element\n offset: function( elem ) {\n var box = elem.getBoundingClientRect() || { top: 0, left: 0 },\n docElem = document.documentElement,\n offsetTop = isIE ? docElem.scrollTop : window.pageYOffset,\n offsetLeft = isIE ? docElem.scrollLeft : window.pageXOffset;\n\n return {\n top: box.top + offsetTop - docElem.clientTop,\n left: box.left + offsetLeft - docElem.clientLeft\n };\n },\n\n // Returns the top and left position of an element relative to an ancestor\n position: function( elem, relative ) {\n var pos = { top: 0, left: 0 };\n\n while ( elem && elem !== relative ) {\n pos.top += elem.offsetTop;\n pos.left += elem.offsetLeft;\n elem = elem.parentNode;\n }\n\n return pos;\n },\n\n // Returns the closest ancestor element of the child or false if not found\n closest: function( child, ancestor ) {\n while ( child ) {\n if ( child === ancestor ) { return child; }\n child = child.parentNode;\n }\n return false;\n },\n\n // Creates a DOM node with the specified attributes\n create: function( name, attrs ) {\n var a, node = document.createElement( name );\n\n if ( !attrs ) { attrs = {}; }\n\n for ( a in attrs ) {\n if ( attrs.hasOwnProperty( a ) ) {\n if ( a === \"innerHTML\" ) {\n node.innerHTML = attrs[ a ];\n } else {\n node.setAttribute( a, attrs[ a ] );\n }\n }\n }\n\n return node;\n },\n\n deferred: function( fn ) {\n return function() {\n var args = arguments,\n ctx = this;\n\n window.setTimeout(function() {\n fn.apply(ctx, args);\n }, 1);\n };\n }\n\n };\n\n\n// Cache of DK Objects\nDropkick.cache = {};\nDropkick.uid = 0;\n\n\n// Extends the DK objects's Prototype\nDropkick.prototype = {\n\n // Emulate some of HTMLSelectElement's methods\n\n /**\n * Adds an element to the select. This option will not only add it to the original\n * select, but create a Dropkick option and add it to the Dropkick select.\n *\n * @method add\n * @param {string} elem HTMLOptionElement\n * @param {Node/Integer} before HTMLOptionElement/Index of Element\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.add(\"New option\", 5);\n * ```\n */\n add: function( elem, before ) {\n var text, option, i;\n\n if ( typeof elem === \"string\" ) {\n text = elem;\n elem = document.createElement(\"option\");\n elem.text = text;\n }\n\n if ( elem.nodeName === \"OPTION\" ) {\n option = _.create( \"li\", {\n \"class\": \"dk-option\",\n \"data-value\": elem.value,\n \"innerHTML\": elem.text,\n \"role\": \"option\",\n \"aria-selected\": \"false\",\n \"id\": \"dk\" + this.data.cacheID + \"-\" + ( elem.id || elem.value.replace( \" \", \"-\" ) )\n });\n\n _.addClass( option, elem.className );\n this.length += 1;\n\n if ( elem.disabled ) {\n _.addClass( option, \"dk-option-disabled\" );\n option.setAttribute( \"aria-disabled\", \"true\" );\n }\n\n this.data.select.add( elem, before );\n\n if ( typeof before === \"number\" ) {\n before = this.item( before );\n }\n\n if ( this.options.indexOf( before ) > -1 ) {\n before.parentNode.insertBefore( option, before );\n } else {\n this.data.elem.lastChild.appendChild( option );\n }\n\n option.addEventListener( \"mouseover\", this );\n\n i = this.options.indexOf( before );\n this.options.splice( i, 0, option );\n\n if ( elem.selected ) {\n this.select( i );\n }\n }\n },\n\n /**\n * Selects an option in the list at the desired index (negative numbers select from the end).\n *\n * @method item\n * @param {Integer} index Index of element (positive or negative)\n * @return {Node} The DK option from the list, or null if not found\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.item(4); //returns DOM node of index\n * ```\n */\n item: function( index ) {\n index = index < 0 ? this.options.length + index : index;\n return this.options[ index ] || null;\n },\n\n /**\n * Removes the option (from both the select and Dropkick) at the given index.\n *\n * @method remove\n * @param {Integer} index Index of element (positive or negative)\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.remove(4);\n * ```\n */\n remove: function( index ) {\n var dkOption = this.item( index );\n dkOption.parentNode.removeChild( dkOption );\n this.options.splice( index, 1 );\n this.data.select.remove( index );\n this.select( this.data.select.selectedIndex );\n this.length -= 1;\n },\n\n /**\n * Initializes the DK Object\n *\n * @method init\n * @private\n * @param {Node} sel [description]\n * @param {Object} opts Options to override defaults\n * @return {Object} The DK Object\n */\n init: function( sel, opts ) {\n var i,\n dk = Dropkick.build( sel, \"dk\" + Dropkick.uid );\n\n // Set some data on the DK Object\n this.data = {};\n this.data.select = sel;\n this.data.elem = dk.elem;\n this.data.settings = _.extend({}, defaults, opts );\n\n // Emulate some of HTMLSelectElement's properties\n\n /**\n * Whether the form is currently disabled or not\n *\n * @property {boolean} disabled\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.disabled;\n * ```\n */\n this.disabled = sel.disabled;\n\n /**\n * The form associated with the select\n *\n * @property {node} form\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.form;\n * ```\n */\n this.form = sel.form;\n\n /**\n * The number of options in the select\n *\n * @property {integer} length\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.length;\n * ```\n */\n this.length = sel.length;\n\n /**\n * If this select is a multi-select\n *\n * @property {boolean} multiple\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.multiple;\n * ```\n */\n this.multiple = sel.multiple;\n\n /**\n * An array of Dropkick options\n *\n * @property {array} options\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.options;\n * ```\n */\n this.options = dk.options.slice( 0 );\n\n /**\n * An index of the first selected option\n *\n * @property {integer} selectedIndex\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectedIndex;\n * ```\n */\n this.selectedIndex = sel.selectedIndex;\n\n /**\n * An array of selected Dropkick options\n *\n * @property {array} selectedOptions\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectedOptions;\n * ```\n */\n this.selectedOptions = dk.selected.slice( 0 );\n\n /**\n * The current value of the select\n *\n * @property {string} value\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.value;\n * ```\n */\n this.value = sel.value;\n\n // Add the DK Object to the cache\n this.data.cacheID = Dropkick.uid;\n Dropkick.cache[ this.data.cacheID ] = this;\n\n // Call the optional initialize function\n this.data.settings.initialize.call( this );\n\n // Increment the index\n Dropkick.uid += 1;\n\n // Add the change listener to the select\n if ( !this._changeListener ) {\n sel.addEventListener( \"change\", this );\n this._changeListener = true;\n }\n\n // Don't continue if we're not rendering on mobile\n if ( !( isMobile && !this.data.settings.mobile ) ) {\n\n // Insert the DK element before the original select\n sel.parentNode.insertBefore( this.data.elem, sel );\n sel.setAttribute( \"data-dkCacheId\", this.data.cacheID );\n\n // Bind events\n this.data.elem.addEventListener( \"click\", this );\n this.data.elem.addEventListener( \"keydown\", this );\n this.data.elem.addEventListener( \"keypress\", this );\n\n if ( this.form ) {\n this.form.addEventListener( \"reset\", this );\n }\n\n if ( !this.multiple ) {\n for ( i = 0; i < this.options.length; i++ ) {\n this.options[ i ].addEventListener( \"mouseover\", this );\n }\n }\n\n if ( !_docListener ) {\n document.addEventListener( \"click\", Dropkick.onDocClick );\n\n if ( isIframe ){\n parent.document.addEventListener( \"click\", Dropkick.onDocClick );\n }\n\n _docListener = true;\n }\n }\n\n return this;\n },\n\n /**\n * Closes the DK dropdown\n *\n * @method close\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.close(); //closes dk dropdown\n * ```\n */\n close: function() {\n var i,\n dk = this.data.elem;\n\n if ( !this.isOpen || this.multiple ) {\n return false;\n }\n\n for ( i = 0; i < this.options.length; i++ ) {\n _.removeClass( this.options[ i ], \"dk-option-highlight\" );\n }\n\n dk.lastChild.setAttribute( \"aria-expanded\", \"false\" );\n _.removeClass( dk.lastChild, \"dk-select-options-highlight\" );\n _.removeClass( dk, \"dk-select-open-(up|down)\" );\n this.isOpen = false;\n\n this.data.settings.close.call( this );\n },\n\n /**\n * Opens the DK dropdown\n *\n * @method open\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.open(); //Opens the dk dropdown\n * ```\n */\n open: _.deferred(function() {\n var dropHeight, above, below, direction, dkTop, dkBottom,\n dk = this.data.elem,\n dkOptsList = dk.lastChild;\n\n if ( isIE ) {\n dkTop = _.offset( dk ).top - document.documentElement.scrollTop;\n } else {\n dkTop = _.offset( dk ).top - window.scrollY;\n }\n\n dkBottom = window.innerHeight - ( dkTop + dk.offsetHeight );\n\n if ( this.isOpen || this.multiple ) { return false; }\n\n dkOptsList.style.display = \"block\";\n dropHeight = dkOptsList.offsetHeight;\n dkOptsList.style.display = \"\";\n\n above = dkTop > dropHeight;\n below = dkBottom > dropHeight;\n direction = above && !below ? \"-up\" : \"-down\";\n\n this.isOpen = true;\n _.addClass( dk, \"dk-select-open\" + direction );\n dkOptsList.setAttribute( \"aria-expanded\", \"true\" );\n this._scrollTo( this.options.length - 1 );\n this._scrollTo( this.selectedIndex );\n\n this.data.settings.open.call( this );\n }),\n\n /**\n * Disables or enables an option; if only a boolean is passed (or nothing),\n * then the entire Dropkick will be disabled or enabled.\n *\n * @method disable\n * @param {Integer} elem The element or index to disable\n * @param {Boolean} disabled Value of disabled\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * // To disable the entire select\n * select.disable();\n *\n * // To disable just an option with an index\n * select.disable(4, true);\n *\n * // To re-enable the entire select\n * select.disable(false);\n *\n * // To re-enable just an option with an index\n * select.disable(4, false);\n * ```\n */\n disable: function( elem, disabled ) {\n var disabledClass = \"dk-option-disabled\";\n\n if ( arguments.length === 0 || typeof elem === \"boolean\" ) {\n disabled = elem === undefined ? true : false;\n elem = this.data.elem;\n disabledClass = \"dk-select-disabled\";\n this.disabled = disabled;\n }\n\n if ( disabled === undefined ) {\n disabled = true;\n }\n\n if ( typeof elem === \"number\" ) {\n elem = this.item( elem );\n }\n\n _[ disabled ? \"addClass\" : \"removeClass\" ]( elem, disabledClass );\n },\n\n /**\n * Selects an option from the list\n *\n * @method select\n * @param {String} elem The element, index, or value to select\n * @param {Boolean} disabled Selects disabled options\n * @return {Node} The selected element\n * @example\n * ```js\n * var elm = new Dropkick(\"#select\");\n *\n * // Select by index\n * elm.select(4); //selects & returns 5th item in the list\n *\n * // Select by value\n * elm.select(\"AL\"); // selects & returns option with the value \"AL\"\n * ```\n */\n select: function( elem, disabled ) {\n var i, index, option, combobox,\n select = this.data.select;\n\n if ( typeof elem === \"number\" ) {\n elem = this.item( elem );\n }\n\n if ( typeof elem === \"string\" ) {\n for ( i = 0; i < this.length; i++ ) {\n if ( this.options[ i ].getAttribute( \"data-value\" ) === elem ) {\n elem = this.options[ i ];\n }\n }\n }\n\n // No element or enabled option\n if ( !elem || typeof elem === \"string\" ||\n ( !disabled && _.hasClass( elem, \"dk-option-disabled\" ) ) ) {\n return false;\n }\n\n if ( _.hasClass( elem, \"dk-option\" ) ) {\n index = this.options.indexOf( elem );\n option = select.options[ index ];\n\n if ( this.multiple ) {\n _.toggleClass( elem, \"dk-option-selected\" );\n option.selected = !option.selected;\n\n if ( _.hasClass( elem, \"dk-option-selected\" ) ) {\n elem.setAttribute( \"aria-selected\", \"true\" );\n this.selectedOptions.push( elem );\n } else {\n elem.setAttribute( \"aria-selected\", \"false\" );\n index = this.selectedOptions.indexOf( elem );\n this.selectedOptions.splice( index, 1 );\n }\n } else {\n combobox = this.data.elem.firstChild;\n\n if ( this.selectedOptions.length ) {\n _.removeClass( this.selectedOptions[0], \"dk-option-selected\" );\n this.selectedOptions[0].setAttribute( \"aria-selected\", \"false\" );\n }\n\n _.addClass( elem, \"dk-option-selected\" );\n elem.setAttribute( \"aria-selected\", \"true\" );\n\n combobox.setAttribute( \"aria-activedescendant\", elem.id );\n combobox.className = \"dk-selected \" + option.className;\n combobox.innerHTML = option.text;\n\n this.selectedOptions[0] = elem;\n option.selected = true;\n }\n\n this.selectedIndex = select.selectedIndex;\n this.value = select.value;\n\n if ( !disabled ) {\n this.data.select.dispatchEvent( new CustomEvent(\"change\", {bubbles: this.data.settings.bubble}));\n }\n\n return elem;\n }\n },\n\n /**\n * Selects a single option from the list and scrolls to it (if the select is open or on multi-selects).\n * Useful for selecting an option after a search by the user. Important to note: this doesn't close the\n * dropdown when selecting. It keeps the dropdown open and scrolls to proper position.\n *\n * @method selectOne\n * @param {Integer} elem The element or index to select\n * @param {Boolean} disabled Selects disabled options\n * @return {Node} The selected element\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.selectOne(4);\n * ```\n */\n selectOne: function( elem, disabled ) {\n this.reset( true );\n this._scrollTo( elem );\n return this.select( elem, disabled );\n },\n\n /**\n * Finds all options who's text matches a pattern (strict, partial, or fuzzy)\n *\n * `\"strict\"` - The search string matches exactly from the beginning of the\n * option's text value (case insensitive).\n *\n * `\"partial\"` - The search string matches part of the option's text value\n * (case insensitive).\n *\n * `\"fuzzy\"` - The search string matches the characters in the given order (not\n * exclusively). The strongest match is selected first. (case insensitive).\n *\n * @method search\n * @param {String} string The string to search for\n * @param {Integer} mode How to search; \"strict\", \"partial\", or \"fuzzy\"\n * @return {Boolean} An Array of matched elements\n */\n search: function( pattern, mode ) {\n var i, tokens, str, tIndex, sIndex, cScore, tScore, reg,\n options = this.data.select.options,\n matches = [];\n\n if ( !pattern ) { return this.options; }\n\n // Fix Mode\n mode = mode ? mode.toLowerCase() : \"strict\";\n mode = mode === \"fuzzy\" ? 2 : mode === \"partial\" ? 1 : 0;\n\n reg = new RegExp( ( mode ? \"\" : \"^\" ) + pattern, \"i\" );\n\n for ( i = 0; i < options.length; i++ ) {\n str = options[ i ].text.toLowerCase();\n\n // Fuzzy\n if ( mode == 2 ) {\n tokens = pattern.toLowerCase().split(\"\");\n tIndex = sIndex = cScore = tScore = 0;\n\n while ( sIndex < str.length ) {\n if ( str[ sIndex ] === tokens[ tIndex ] ) {\n cScore += 1 + cScore;\n tIndex++;\n } else {\n cScore = 0;\n }\n\n tScore += cScore;\n sIndex++;\n }\n\n if ( tIndex === tokens.length ) {\n matches.push({ e: this.options[ i ], s: tScore, i: i });\n }\n\n // Partial or Strict (Default)\n } else {\n reg.test( str ) && matches.push( this.options[ i ] );\n }\n }\n\n // Sort fuzzy results\n if ( mode === 2 ) {\n matches = matches.sort( function ( a, b ) {\n return ( b.s - a.s ) || a.i - b.i;\n }).reduce( function ( p, o ) {\n p[ p.length ] = o.e;\n return p;\n }, [] );\n }\n\n return matches;\n },\n\n /**\n * Brings focus to the proper DK element\n *\n * @method focus\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * $(\"#some_elm\").on(\"click\", function() {\n * select.focus();\n * });\n * ```\n */\n focus: function() {\n if ( !this.disabled ) {\n ( this.multiple ? this.data.elem : this.data.elem.children[0] ).focus();\n }\n },\n\n /**\n * Resets the Dropkick and select to it's original selected options; if `clear` is `true`,\n * It will select the first option by default (or no options for multi-selects).\n *\n * @method reset\n * @param {Boolean} clear Defaults to first option if True\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * // Reset to originally `selected` option\n * select.reset();\n *\n * // Reset to first option in select\n * select.reset(true);\n * ```\n */\n reset: function( clear ) {\n var i,\n select = this.data.select;\n\n this.selectedOptions.length = 0;\n\n for ( i = 0; i < select.options.length; i++ ) {\n select.options[ i ].selected = false;\n _.removeClass( this.options[ i ], \"dk-option-selected\" );\n this.options[ i ].setAttribute( \"aria-selected\", \"false\" );\n if ( !clear && select.options[ i ].defaultSelected ) {\n this.select( i, true );\n }\n }\n\n if ( !this.selectedOptions.length && !this.multiple ) {\n this.select( 0, true );\n }\n },\n\n /**\n * Rebuilds the DK Object\n * (use if HTMLSelectElement has changed)\n *\n * @method refresh\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * //... [change original select] ...\n *\n * select.refresh();\n * ```\n */\n refresh: function() {\n this.dispose().init( this.data.select, this.data.settings );\n },\n\n /**\n * Removes the DK Object from the cache and the element from the DOM\n *\n * @method dispose\n * @example\n * ```js\n * var select = new Dropkick(\"#select\");\n *\n * select.dispose();\n * ```\n */\n dispose: function() {\n delete Dropkick.cache[ this.data.cacheID ];\n this.data.elem.parentNode.removeChild( this.data.elem );\n this.data.select.removeAttribute( \"data-dkCacheId\" );\n return this;\n },\n\n // Private Methods\n\n /**\n * @method handleEvent\n * @private\n */\n handleEvent: function( event ) {\n if ( this.disabled ) { return; }\n\n switch ( event.type ) {\n case \"click\":\n this._delegate( event );\n break;\n case \"keydown\":\n this._keyHandler( event );\n break;\n case \"keypress\":\n this._searchOptions( event );\n break;\n case \"mouseover\":\n this._highlight( event );\n break;\n case \"reset\":\n this.reset();\n break;\n case \"change\":\n this.data.settings.change.call( this );\n break;\n }\n },\n\n\n /**\n * @method delegate\n * @private\n */\n _delegate: function( event ) {\n var selection, index, firstIndex, lastIndex,\n target = event.target;\n\n if ( _.hasClass( target, \"dk-option-disabled\" ) ) {\n return false;\n }\n\n if ( !this.multiple ) {\n this[ this.isOpen ? \"close\" : \"open\" ]();\n if ( _.hasClass( target, \"dk-option\" ) ) { this.select( target ); }\n } else {\n if ( _.hasClass( target, \"dk-option\" ) ) {\n selection = window.getSelection();\n if ( selection.type === \"Range\" ) selection.collapseToStart();\n\n if ( event.shiftKey ) {\n firstIndex = this.options.indexOf( this.selectedOptions[0] );\n lastIndex = this.options.indexOf( this.selectedOptions[ this.selectedOptions.length - 1 ] );\n index = this.options.indexOf( target );\n\n if ( index > firstIndex && index < lastIndex ) index = firstIndex;\n if ( index > lastIndex && lastIndex > firstIndex ) lastIndex = firstIndex;\n\n this.reset( true );\n\n if ( lastIndex > index ) {\n while ( index < lastIndex + 1 ) { this.select( index++ ); }\n } else {\n while ( index > lastIndex - 1 ) { this.select( index-- ); }\n }\n } else if ( event.ctrlKey || event.metaKey ) {\n this.select( target );\n } else {\n this.reset( true );\n this.select( target );\n }\n }\n }\n },\n\n /**\n * @method highlight\n * @private\n */\n _highlight: function( event ) {\n var i, option = event.target;\n\n if ( !this.multiple ) {\n for ( i = 0; i < this.options.length; i++ ) {\n _.removeClass( this.options[ i ], \"dk-option-highlight\" );\n }\n\n _.addClass( this.data.elem.lastChild, \"dk-select-options-highlight\" );\n _.addClass( option, \"dk-option-highlight\" );\n }\n },\n\n /**\n * @method keyHandler\n * @private\n */\n _keyHandler: function( event ) {\n var lastSelected, j,\n selected = this.selectedOptions,\n options = this.options,\n i = 1,\n keys = {\n tab: 9,\n enter: 13,\n esc: 27,\n space: 32,\n up: 38,\n down: 40\n };\n\n switch ( event.keyCode ) {\n case keys.up:\n i = -1;\n // deliberate fallthrough\n case keys.down:\n event.preventDefault();\n lastSelected = selected[ selected.length - 1 ];\n\n if ( _.hasClass( this.data.elem.lastChild, \"dk-select-options-highlight\" ) ) {\n _.removeClass( this.data.elem.lastChild, \"dk-select-options-highlight\" );\n for ( j = 0; j < options.length; j++ ) {\n if ( _.hasClass( options[ j ], \"dk-option-highlight\" ) ) {\n _.removeClass( options[ j ], \"dk-option-highlight\" );\n lastSelected = options[ j ];\n }\n }\n }\n\n i = options.indexOf( lastSelected ) + i;\n\n if ( i > options.length - 1 ) {\n i = options.length - 1;\n } else if ( i < 0 ) {\n i = 0;\n }\n\n if ( !this.data.select.options[ i ].disabled ) {\n this.reset( true );\n this.select( i );\n this._scrollTo( i );\n }\n break;\n case keys.space:\n if ( !this.isOpen ) {\n event.preventDefault();\n this.open();\n break;\n }\n // deliberate fallthrough\n case keys.tab:\n case keys.enter:\n for ( i = 0; i < options.length; i++ ) {\n if ( _.hasClass( options[ i ], \"dk-option-highlight\" ) ) {\n this.select( i );\n }\n }\n // deliberate fallthrough\n case keys.esc:\n if ( this.isOpen ) {\n event.preventDefault();\n this.close();\n }\n break;\n }\n },\n\n /**\n * @method searchOptions\n * @private\n */\n _searchOptions: function( event ) {\n var results,\n self = this,\n keyChar = String.fromCharCode( event.keyCode || event.which ),\n\n waitToReset = function() {\n if ( self.data.searchTimeout ) {\n clearTimeout( self.data.searchTimeout );\n }\n\n self.data.searchTimeout = setTimeout(function() {\n self.data.searchString = \"\";\n }, 1000 );\n };\n\n if ( this.data.searchString === undefined ) {\n this.data.searchString = \"\";\n }\n\n waitToReset();\n\n this.data.searchString += keyChar;\n results = this.search( this.data.searchString, this.data.settings.search );\n\n if ( results.length ) {\n if ( !_.hasClass( results[0], \"dk-option-disabled\" ) ) {\n this.selectOne( results[0] );\n }\n }\n },\n\n /**\n * @method scrollTo\n * @private\n */\n _scrollTo: function( option ) {\n var optPos, optTop, optBottom,\n dkOpts = this.data.elem.lastChild;\n\n if ( option === -1 || ( typeof option !== \"number\" && !option ) ||\n ( !this.isOpen && !this.multiple ) ) {\n return false;\n }\n\n if ( typeof option === \"number\" ) {\n option = this.item( option );\n }\n\n optPos = _.position( option, dkOpts ).top;\n optTop = optPos - dkOpts.scrollTop;\n optBottom = optTop + option.offsetHeight;\n\n if ( optBottom > dkOpts.offsetHeight ) {\n optPos += option.offsetHeight;\n dkOpts.scrollTop = optPos - dkOpts.offsetHeight;\n } else if ( optTop < 0 ) {\n dkOpts.scrollTop = optPos;\n }\n }\n};\n\n// Static Methods\n\n/**\n * Builds the Dropkick element from a select element\n *\n * @method build\n * @private\n * @param {Node} sel The HTMLSelectElement\n * @return {Object} An object containing the new DK element and it's options\n */\nDropkick.build = function( sel, idpre ) {\n var selOpt, optList, i,\n options = [],\n\n ret = {\n elem: null,\n options: [],\n selected: []\n },\n\n addOption = function ( node ) {\n var option, optgroup, optgroupList, i,\n children = [];\n\n switch ( node.nodeName ) {\n case \"OPTION\":\n option = _.create( \"li\", {\n \"class\": \"dk-option \",\n \"data-value\": node.value,\n \"innerHTML\": node.text,\n \"role\": \"option\",\n \"aria-selected\": \"false\",\n \"id\": idpre + \"-\" + ( node.id || node.value.replace( \" \", \"-\" ) )\n });\n\n _.addClass( option, node.className );\n\n if ( node.disabled ) {\n _.addClass( option, \"dk-option-disabled\" );\n option.setAttribute( \"aria-disabled\", \"true\" );\n }\n\n if ( node.selected ) {\n _.addClass( option, \"dk-option-selected\" );\n option.setAttribute( \"aria-selected\", \"true\" );\n ret.selected.push( option );\n }\n\n ret.options.push( this.appendChild( option ) );\n break;\n case \"OPTGROUP\":\n optgroup = _.create( \"li\", { \"class\": \"dk-optgroup\" });\n\n if ( node.label ) {\n optgroup.appendChild( _.create( \"div\", {\n \"class\": \"dk-optgroup-label\",\n \"innerHTML\": node.label\n }));\n }\n\n optgroupList = _.create( \"ul\", {\n \"class\": \"dk-optgroup-options\"\n });\n\n for ( i = node.children.length; i--; children.unshift( node.children[ i ] ) );\n children.forEach( addOption, optgroupList );\n\n this.appendChild( optgroup ).appendChild( optgroupList );\n break;\n }\n };\n\n ret.elem = _.create( \"div\", {\n \"class\": \"dk-select\" + ( sel.multiple ? \"-multi\" : \"\" )\n });\n\n optList = _.create( \"ul\", {\n \"class\": \"dk-select-options\",\n \"id\": idpre + \"-listbox\",\n \"role\": \"listbox\"\n });\n\n sel.disabled && _.addClass( ret.elem, \"dk-select-disabled\" );\n ret.elem.id = idpre + ( sel.id ? \"-\" + sel.id : \"\" );\n _.addClass( ret.elem, sel.className );\n\n if ( !sel.multiple ) {\n selOpt = sel.options[ sel.selectedIndex ];\n ret.elem.appendChild( _.create( \"div\", {\n \"class\": \"dk-selected \" + selOpt.className,\n \"tabindex\": sel.tabindex || 0,\n \"innerHTML\": selOpt ? selOpt.text : ' ',\n \"id\": idpre + \"-combobox\",\n \"aria-live\": \"assertive\",\n \"aria-owns\": optList.id,\n \"role\": \"combobox\"\n }));\n optList.setAttribute( \"aria-expanded\", \"false\" );\n } else {\n ret.elem.setAttribute( \"tabindex\", sel.getAttribute( \"tabindex\" ) || \"0\" );\n optList.setAttribute( \"aria-multiselectable\", \"true\" );\n }\n\n for ( i = sel.children.length; i--; options.unshift( sel.children[ i ] ) );\n options.forEach( addOption, ret.elem.appendChild( optList ) );\n\n return ret;\n};\n\n/**\n * Focus DK Element when corresponding label is clicked; close all other DK's\n *\n * @method onDocClick\n * @private\n * @param {Object} event Event from document click\n */\nDropkick.onDocClick = function( event ) {\n var tId, i;\n\n if (event.target.nodeType !== 1) {\n return false;\n }\n\n if ( ( tId = event.target.getAttribute( \"data-dkcacheid\" ) ) !== null ) {\n Dropkick.cache[ tId ].focus();\n }\n\n for ( i in Dropkick.cache ) {\n if ( !_.closest( event.target, Dropkick.cache[ i ].data.elem ) && i !== tId ) {\n Dropkick.cache[ i ].disabled || Dropkick.cache[ i ].close();\n }\n }\n};\n\n\n// Add jQuery method\nif ( jQuery !== undefined ) {\n jQuery.fn.dropkick = function () {\n var args = Array.prototype.slice.call( arguments );\n return jQuery( this ).each(function() {\n if ( !args[0] || typeof args[0] === 'object' ) {\n new Dropkick( this, args[0] || {} );\n } else if ( typeof args[0] === 'string' ) {\n Dropkick.prototype[ args[0] ].apply( new Dropkick( this ), args.slice( 1 ) );\n }\n });\n };\n}\n\nreturn Dropkick;\n\n}));\n","module.exports = require(\"github:Robdel12/DropKick@2.1.7/lib/dropkick.js\");","'use strict';\n\nimport {Component, EventEmitter, ElementRef} from '@angular/core';\nimport {CORE_DIRECTIVES} from '@angular/common';\nimport DropKick from 'Robdel12/DropKick';\nimport 'Robdel12/DropKick/build/css/dropkick.css!css';\n\n@Component({\n selector: 'dropdown',\n events: ['change'],\n template: `\n <select (change)=onChange($event.target.value)>\n <ng-content></ng-content>\n </select>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n :host .dk-select{max-width:100%;font-family:Montserrat,sans-serif;font-size:.929em;min-width:100px;width:auto}:host .dk-selected:after{display:none}:host .dk-selected{color:#263238;border-color:rgba(38,50,56,0.5);padding:0.15em 0.6em 0.2em 0.5em;border-radius:2px}:host .dk-select-open-down .dk-selected,:host .dk-selected:focus,:host .dk-selected:hover{border-color:#0033a0;color:#0033a0}:host .dk-selected:before{border-top-color:#263238;border-width:.35em .35em 0}:host .dk-select-open-down .dk-selected:before,:host .dk-select-open-up .dk-selected:before{border-bottom-color:#0033a0}:host .dk-select-multi:focus .dk-select-options,:host .dk-select-open-down .dk-select-options,:host .dk-select-open-up .dk-select-options{border-color:rgba(38,50,56,0.2)}:host .dk-select-options .dk-option-highlight{background:#ffffff}:host .dk-select-options{margin-top:0.2em;padding:0;border-radius:2px;box-shadow:0px 2px 4px 0px rgba(34,36,38,0.12),0px 2px 10px 0px rgba(34,36,38,0.08) !important}:host .dk-option{color:#263238;padding:0.16em 0.6em 0.2em 0.5em}:host .dk-option:hover{background-color:rgba(38,50,56,0.12)}:host .dk-option:focus{background-color:rgba(38,50,56,0.12)}:host .dk-option-selected{background-color:rgba(0,0,0,0.05) !important}\n `]\n})\n@Reflect.metadata('parameters', [[ElementRef]])\nexport class DropDown {\n constructor(elem) {\n this.change = new EventEmitter();\n this.elem = elem.nativeElement;\n }\n\n ngAfterContentInit() {\n this.inst = new DropKick(this.elem.firstElementChild, {autoWidth: true});\n }\n\n onChange(value) {\n this.change.next(value);\n }\n\n destroy() {\n this.inst.dispose();\n }\n}\n","'use strict';\n\nimport {Directive, ElementRef} from '@angular/core';\nimport {BrowserDomAdapter} from '@angular/platform-browser/src/browser/browser_adapter';\n\n@Directive({\n selector: '[sticky-sidebar]',\n inputs: ['scrollParent', 'scrollYOffset']\n})\n@Reflect.metadata('parameters', [[ElementRef], [BrowserDomAdapter]])\nexport class StickySidebar {\n constructor(elementRef, dom) {\n this.$element = elementRef.nativeElement;\n this.dom = dom;\n\n // initial styling\n this.dom.setStyle(this.$element, 'position', 'absolute');\n this.dom.setStyle(this.$element, 'top', '0');\n this.dom.setStyle(this.$element, 'bottom', '0');\n this.dom.setStyle(this.$element, 'max-height', '100%');\n }\n\n bind() {\n this.cancelScrollBinding = this.dom.onAndCancel(this.scrollParent, 'scroll', () => { this.updatePosition(); });\n this.updatePosition();\n }\n\n unbind() {\n this.cancelScrollBinding && this.cancelScrollBinding();\n }\n\n updatePosition() {\n if ( this.scrollY + this.scrollYOffset() >= this.$redocEl.offsetTop) {\n this.stick();\n } else {\n this.unstick();\n }\n }\n\n stick() {\n this.dom.setStyle(this.$element, 'position', 'fixed');\n this.dom.setStyle(this.$element, 'top', this.scrollYOffset() + 'px');\n }\n\n unstick() {\n this.dom.setStyle(this.$element, 'position', 'absolute');\n this.dom.setStyle(this.$element, 'top', 0);\n }\n\n get scrollY() {\n return (this.scrollParent.pageYOffset != null) ? this.scrollParent.pageYOffset : this.scrollParent.scrollTop;\n }\n\n ngOnInit() {\n // FIXME use more reliable code\n this.$redocEl = this.$element.offsetParent;\n this.bind();\n }\n\n ngOnDestroy() {\n this.unbind();\n }\n}\n","'use strict';\n\nimport {Component, EventEmitter} from '@angular/core';\nimport {CORE_DIRECTIVES} from '@angular/common';\n\n@Component({\n selector: 'tabs',\n events: ['change'],\n template: `\n <ul>\n <li *ngFor=\"let tab of tabs\" [ngClass]=\"{active: tab.active}\" (click)=\"selectTab(tab)\"\n class=\"tab-{{tab.tabStatus}}\">{{tab.tabTitle}}</li>\n </ul>\n <ng-content></ng-content>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n ul{display:block;margin:0;padding:0}li{list-style:none;display:inline-block;cursor:pointer}.tab-success:before,.tab-error:before,.tab-redirect:before,.tab-info:before{content:\"\";display:inline-block;position:relative;top:-2px;height:4px;width:4px;border-radius:50%;margin-right:0.5em}.tab-success:before{box-shadow:0 0 3px 0 #00aa13;background-color:#00aa13}.tab-error:before{box-shadow:0 0 3px 0 #e53935;background-color:#e53935}.tab-redirect:before{box-shadow:0 0 3px 0 #f1c400;background-color:#f1c400}.tab-info:before{box-shadow:0 0 3px 0 #0033a0;background-color:#0033a0}\n `]\n})\nexport class Tabs {\n constructor() {\n this.tabs = [];\n this.change = new EventEmitter();\n }\n\n selectTab(tab, notify = true) {\n if (tab.active) return;\n this.tabs.forEach((tab) => {\n tab.active = false;\n });\n tab.active = true;\n notify && this.change.next(tab.tabTitle);\n }\n\n selectyByTitle(tabTitle, notify = false) {\n let prevActive;\n let newActive;\n this.tabs.forEach((tab) => {\n if (tab.active) prevActive = tab;\n tab.active = false;\n if (tab.tabTitle === tabTitle) {\n newActive = tab;\n }\n });\n if (newActive) {\n newActive.active = true;\n } else {\n prevActive.active = true;\n }\n notify && this.change.next(tabTitle);\n }\n\n addTab(tab) {\n if (this.tabs.length === 0) {\n tab.active = true;\n }\n this.tabs.push(tab);\n }\n}\n\n@Component({\n selector: 'tab',\n inputs: ['tabTitle', 'tabStatus'],\n template: `\n <div class=\"tab-wrap\" [ngClass]=\"{'active': active}\">\n <ng-content></ng-content>\n </div>\n `,\n directives: [CORE_DIRECTIVES],\n styles: [`\n .tab-wrap {\n display: none;\n }\n\n .tab-wrap.active {\n display: block;\n }`\n ]\n})\n@Reflect.metadata('parameters', [ [Tabs] ])\nexport class Tab {\n constructor(tabs) {\n this.active = false;\n tabs.addTab(this);\n }\n}\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar async_1 = require('../facade/async');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar ObservableStrategy = (function() {\n function ObservableStrategy() {}\n ObservableStrategy.prototype.createSubscription = function(async, updateLatestValue) {\n return async_1.ObservableWrapper.subscribe(async, updateLatestValue, function(e) {\n throw e;\n });\n };\n ObservableStrategy.prototype.dispose = function(subscription) {\n async_1.ObservableWrapper.dispose(subscription);\n };\n ObservableStrategy.prototype.onDestroy = function(subscription) {\n async_1.ObservableWrapper.dispose(subscription);\n };\n return ObservableStrategy;\n}());\nvar PromiseStrategy = (function() {\n function PromiseStrategy() {}\n PromiseStrategy.prototype.createSubscription = function(async, updateLatestValue) {\n return async.then(updateLatestValue);\n };\n PromiseStrategy.prototype.dispose = function(subscription) {};\n PromiseStrategy.prototype.onDestroy = function(subscription) {};\n return PromiseStrategy;\n}());\nvar _promiseStrategy = new PromiseStrategy();\nvar _observableStrategy = new ObservableStrategy();\nvar __unused;\nvar AsyncPipe = (function() {\n function AsyncPipe(_ref) {\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = null;\n this._ref = _ref;\n }\n AsyncPipe.prototype.ngOnDestroy = function() {\n if (lang_1.isPresent(this._subscription)) {\n this._dispose();\n }\n };\n AsyncPipe.prototype.transform = function(obj) {\n if (lang_1.isBlank(this._obj)) {\n if (lang_1.isPresent(obj)) {\n this._subscribe(obj);\n }\n this._latestReturnedValue = this._latestValue;\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform(obj);\n }\n if (this._latestValue === this._latestReturnedValue) {\n return this._latestReturnedValue;\n } else {\n this._latestReturnedValue = this._latestValue;\n return core_1.WrappedValue.wrap(this._latestValue);\n }\n };\n AsyncPipe.prototype._subscribe = function(obj) {\n var _this = this;\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, function(value) {\n return _this._updateLatestValue(obj, value);\n });\n };\n AsyncPipe.prototype._selectStrategy = function(obj) {\n if (lang_1.isPromise(obj)) {\n return _promiseStrategy;\n } else if (async_1.ObservableWrapper.isObservable(obj)) {\n return _observableStrategy;\n } else {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(AsyncPipe, obj);\n }\n };\n AsyncPipe.prototype._dispose = function() {\n this._strategy.dispose(this._subscription);\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n };\n AsyncPipe.prototype._updateLatestValue = function(async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n this._ref.markForCheck();\n }\n };\n AsyncPipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'async',\n pure: false\n }]\n }, {type: core_1.Injectable}];\n AsyncPipe.ctorParameters = [{type: core_1.ChangeDetectorRef}];\n return AsyncPipe;\n}());\nexports.AsyncPipe = AsyncPipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar UpperCasePipe = (function() {\n function UpperCasePipe() {}\n UpperCasePipe.prototype.transform = function(value) {\n if (lang_1.isBlank(value))\n return value;\n if (!lang_1.isString(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(UpperCasePipe, value);\n }\n return value.toUpperCase();\n };\n UpperCasePipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'uppercase'}]\n }, {type: core_1.Injectable}];\n return UpperCasePipe;\n}());\nexports.UpperCasePipe = UpperCasePipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar LowerCasePipe = (function() {\n function LowerCasePipe() {}\n LowerCasePipe.prototype.transform = function(value) {\n if (lang_1.isBlank(value))\n return value;\n if (!lang_1.isString(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(LowerCasePipe, value);\n }\n return value.toLowerCase();\n };\n LowerCasePipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'lowercase'}]\n }, {type: core_1.Injectable}];\n return LowerCasePipe;\n}());\nexports.LowerCasePipe = LowerCasePipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar JsonPipe = (function() {\n function JsonPipe() {}\n JsonPipe.prototype.transform = function(value) {\n return lang_1.Json.stringify(value);\n };\n JsonPipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'json',\n pure: false\n }]\n }, {type: core_1.Injectable}];\n return JsonPipe;\n}());\nexports.JsonPipe = JsonPipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar SlicePipe = (function() {\n function SlicePipe() {}\n SlicePipe.prototype.transform = function(value, start, end) {\n if (end === void 0) {\n end = null;\n }\n if (!this.supports(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(SlicePipe, value);\n }\n if (lang_1.isBlank(value))\n return value;\n if (lang_1.isString(value)) {\n return lang_1.StringWrapper.slice(value, start, end);\n }\n return collection_1.ListWrapper.slice(value, start, end);\n };\n SlicePipe.prototype.supports = function(obj) {\n return lang_1.isString(obj) || lang_1.isArray(obj);\n };\n SlicePipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'slice',\n pure: false\n }]\n }, {type: core_1.Injectable}];\n return SlicePipe;\n}());\nexports.SlicePipe = SlicePipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar intl_1 = require('../facade/intl');\nvar collection_1 = require('../facade/collection');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar defaultLocale = 'en-US';\nvar DatePipe = (function() {\n function DatePipe() {}\n DatePipe.prototype.transform = function(value, pattern) {\n if (pattern === void 0) {\n pattern = 'mediumDate';\n }\n if (lang_1.isBlank(value))\n return null;\n if (!this.supports(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(DatePipe, value);\n }\n if (lang_1.isNumber(value)) {\n value = lang_1.DateWrapper.fromMillis(value);\n }\n if (collection_1.StringMapWrapper.contains(DatePipe._ALIASES, pattern)) {\n pattern = collection_1.StringMapWrapper.get(DatePipe._ALIASES, pattern);\n }\n return intl_1.DateFormatter.format(value, defaultLocale, pattern);\n };\n DatePipe.prototype.supports = function(obj) {\n return lang_1.isDate(obj) || lang_1.isNumber(obj);\n };\n DatePipe._ALIASES = {\n 'medium': 'yMMMdjms',\n 'short': 'yMdjm',\n 'fullDate': 'yMMMMEEEEd',\n 'longDate': 'yMMMMd',\n 'mediumDate': 'yMMMd',\n 'shortDate': 'yMd',\n 'mediumTime': 'jms',\n 'shortTime': 'jm'\n };\n DatePipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'date',\n pure: true\n }]\n }, {type: core_1.Injectable}];\n return DatePipe;\n}());\nexports.DatePipe = DatePipe;\n","/* */ \n\"use strict\";\n(function (NumberFormatStyle) {\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n})(exports.NumberFormatStyle || (exports.NumberFormatStyle = {}));\nvar NumberFormatStyle = exports.NumberFormatStyle;\nvar NumberFormatter = (function () {\n function NumberFormatter() {\n }\n NumberFormatter.format = function (num, locale, style, _a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.minimumIntegerDigits, minimumIntegerDigits = _c === void 0 ? 1 : _c, _d = _b.minimumFractionDigits, minimumFractionDigits = _d === void 0 ? 0 : _d, _e = _b.maximumFractionDigits, maximumFractionDigits = _e === void 0 ? 3 : _e, currency = _b.currency, _f = _b.currencyAsSymbol, currencyAsSymbol = _f === void 0 ? false : _f;\n var intlOptions = {\n minimumIntegerDigits: minimumIntegerDigits,\n minimumFractionDigits: minimumFractionDigits,\n maximumFractionDigits: maximumFractionDigits\n };\n intlOptions.style = NumberFormatStyle[style].toLowerCase();\n if (style == NumberFormatStyle.Currency) {\n intlOptions.currency = currency;\n intlOptions.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\n }\n return new Intl.NumberFormat(locale, intlOptions).format(num);\n };\n return NumberFormatter;\n}());\nexports.NumberFormatter = NumberFormatter;\nfunction digitCondition(len) {\n return len == 2 ? '2-digit' : 'numeric';\n}\nfunction nameCondition(len) {\n return len < 4 ? 'short' : 'long';\n}\nfunction extractComponents(pattern) {\n var ret = {};\n var i = 0, j;\n while (i < pattern.length) {\n j = i;\n while (j < pattern.length && pattern[j] == pattern[i])\n j++;\n var len = j - i;\n switch (pattern[i]) {\n case 'G':\n ret.era = nameCondition(len);\n break;\n case 'y':\n ret.year = digitCondition(len);\n break;\n case 'M':\n if (len >= 3)\n ret.month = nameCondition(len);\n else\n ret.month = digitCondition(len);\n break;\n case 'd':\n ret.day = digitCondition(len);\n break;\n case 'E':\n ret.weekday = nameCondition(len);\n break;\n case 'j':\n ret.hour = digitCondition(len);\n break;\n case 'h':\n ret.hour = digitCondition(len);\n ret.hour12 = true;\n break;\n case 'H':\n ret.hour = digitCondition(len);\n ret.hour12 = false;\n break;\n case 'm':\n ret.minute = digitCondition(len);\n break;\n case 's':\n ret.second = digitCondition(len);\n break;\n case 'z':\n ret.timeZoneName = 'long';\n break;\n case 'Z':\n ret.timeZoneName = 'short';\n break;\n }\n i = j;\n }\n return ret;\n}\nvar dateFormatterCache = new Map();\nvar DateFormatter = (function () {\n function DateFormatter() {\n }\n DateFormatter.format = function (date, locale, pattern) {\n var key = locale + pattern;\n if (dateFormatterCache.has(key)) {\n return dateFormatterCache.get(key).format(date);\n }\n var formatter = new Intl.DateTimeFormat(locale, extractComponents(pattern));\n dateFormatterCache.set(key, formatter);\n return formatter.format(date);\n };\n return DateFormatter;\n}());\nexports.DateFormatter = DateFormatter;\n//# sourceMappingURL=intl.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar intl_1 = require('../facade/intl');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar defaultLocale = 'en-US';\nvar _re = lang_1.RegExpWrapper.create('^(\\\\d+)?\\\\.((\\\\d+)(\\\\-(\\\\d+))?)?$');\nvar NumberPipe = (function() {\n function NumberPipe() {}\n NumberPipe._format = function(value, style, digits, currency, currencyAsSymbol) {\n if (currency === void 0) {\n currency = null;\n }\n if (currencyAsSymbol === void 0) {\n currencyAsSymbol = false;\n }\n if (lang_1.isBlank(value))\n return null;\n if (!lang_1.isNumber(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(NumberPipe, value);\n }\n var minInt = 1,\n minFraction = 0,\n maxFraction = 3;\n if (lang_1.isPresent(digits)) {\n var parts = lang_1.RegExpWrapper.firstMatch(_re, digits);\n if (lang_1.isBlank(parts)) {\n throw new exceptions_1.BaseException(digits + \" is not a valid digit info for number pipes\");\n }\n if (lang_1.isPresent(parts[1])) {\n minInt = lang_1.NumberWrapper.parseIntAutoRadix(parts[1]);\n }\n if (lang_1.isPresent(parts[3])) {\n minFraction = lang_1.NumberWrapper.parseIntAutoRadix(parts[3]);\n }\n if (lang_1.isPresent(parts[5])) {\n maxFraction = lang_1.NumberWrapper.parseIntAutoRadix(parts[5]);\n }\n }\n return intl_1.NumberFormatter.format(value, defaultLocale, style, {\n minimumIntegerDigits: minInt,\n minimumFractionDigits: minFraction,\n maximumFractionDigits: maxFraction,\n currency: currency,\n currencyAsSymbol: currencyAsSymbol\n });\n };\n NumberPipe.decorators = [{type: core_1.Injectable}];\n return NumberPipe;\n}());\nexports.NumberPipe = NumberPipe;\nvar DecimalPipe = (function(_super) {\n __extends(DecimalPipe, _super);\n function DecimalPipe() {\n _super.apply(this, arguments);\n }\n DecimalPipe.prototype.transform = function(value, digits) {\n if (digits === void 0) {\n digits = null;\n }\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Decimal, digits);\n };\n DecimalPipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'number'}]\n }, {type: core_1.Injectable}];\n return DecimalPipe;\n}(NumberPipe));\nexports.DecimalPipe = DecimalPipe;\nvar PercentPipe = (function(_super) {\n __extends(PercentPipe, _super);\n function PercentPipe() {\n _super.apply(this, arguments);\n }\n PercentPipe.prototype.transform = function(value, digits) {\n if (digits === void 0) {\n digits = null;\n }\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Percent, digits);\n };\n PercentPipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'percent'}]\n }, {type: core_1.Injectable}];\n return PercentPipe;\n}(NumberPipe));\nexports.PercentPipe = PercentPipe;\nvar CurrencyPipe = (function(_super) {\n __extends(CurrencyPipe, _super);\n function CurrencyPipe() {\n _super.apply(this, arguments);\n }\n CurrencyPipe.prototype.transform = function(value, currencyCode, symbolDisplay, digits) {\n if (currencyCode === void 0) {\n currencyCode = 'USD';\n }\n if (symbolDisplay === void 0) {\n symbolDisplay = false;\n }\n if (digits === void 0) {\n digits = null;\n }\n return NumberPipe._format(value, intl_1.NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\n };\n CurrencyPipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'currency'}]\n }, {type: core_1.Injectable}];\n return CurrencyPipe;\n}(NumberPipe));\nexports.CurrencyPipe = CurrencyPipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar ReplacePipe = (function() {\n function ReplacePipe() {}\n ReplacePipe.prototype.transform = function(value, pattern, replacement) {\n if (lang_1.isBlank(value)) {\n return value;\n }\n if (!this._supportedInput(value)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, value);\n }\n var input = value.toString();\n if (!this._supportedPattern(pattern)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, pattern);\n }\n if (!this._supportedReplacement(replacement)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(ReplacePipe, replacement);\n }\n if (lang_1.isFunction(replacement)) {\n var rgxPattern = lang_1.isString(pattern) ? lang_1.RegExpWrapper.create(pattern) : pattern;\n return lang_1.StringWrapper.replaceAllMapped(input, rgxPattern, replacement);\n }\n if (pattern instanceof RegExp) {\n return lang_1.StringWrapper.replaceAll(input, pattern, replacement);\n }\n return lang_1.StringWrapper.replace(input, pattern, replacement);\n };\n ReplacePipe.prototype._supportedInput = function(input) {\n return lang_1.isString(input) || lang_1.isNumber(input);\n };\n ReplacePipe.prototype._supportedPattern = function(pattern) {\n return lang_1.isString(pattern) || pattern instanceof RegExp;\n };\n ReplacePipe.prototype._supportedReplacement = function(replacement) {\n return lang_1.isString(replacement) || lang_1.isFunction(replacement);\n };\n ReplacePipe.decorators = [{\n type: core_1.Pipe,\n args: [{name: 'replace'}]\n }, {type: core_1.Injectable}];\n return ReplacePipe;\n}());\nexports.ReplacePipe = ReplacePipe;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar interpolationExp = lang_1.RegExpWrapper.create('#');\nvar I18nPluralPipe = (function() {\n function I18nPluralPipe() {}\n I18nPluralPipe.prototype.transform = function(value, pluralMap) {\n var key;\n var valueStr;\n if (!lang_1.isStringMap(pluralMap)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(I18nPluralPipe, pluralMap);\n }\n key = value === 0 || value === 1 ? \"=\" + value : 'other';\n valueStr = lang_1.isPresent(value) ? value.toString() : '';\n return lang_1.StringWrapper.replaceAll(pluralMap[key], interpolationExp, valueStr);\n };\n I18nPluralPipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'i18nPlural',\n pure: true\n }]\n }, {type: core_1.Injectable}];\n return I18nPluralPipe;\n}());\nexports.I18nPluralPipe = I18nPluralPipe;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar InvalidPipeArgumentException = (function(_super) {\n __extends(InvalidPipeArgumentException, _super);\n function InvalidPipeArgumentException(type, value) {\n _super.call(this, \"Invalid argument '\" + value + \"' for pipe '\" + lang_1.stringify(type) + \"'\");\n }\n return InvalidPipeArgumentException;\n}(exceptions_1.BaseException));\nexports.InvalidPipeArgumentException = InvalidPipeArgumentException;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar invalid_pipe_argument_exception_1 = require('./invalid_pipe_argument_exception');\nvar I18nSelectPipe = (function() {\n function I18nSelectPipe() {}\n I18nSelectPipe.prototype.transform = function(value, mapping) {\n if (!lang_1.isStringMap(mapping)) {\n throw new invalid_pipe_argument_exception_1.InvalidPipeArgumentException(I18nSelectPipe, mapping);\n }\n return collection_1.StringMapWrapper.contains(mapping, value) ? mapping[value] : mapping['other'];\n };\n I18nSelectPipe.decorators = [{\n type: core_1.Pipe,\n args: [{\n name: 'i18nSelect',\n pure: true\n }]\n }, {type: core_1.Injectable}];\n return I18nSelectPipe;\n}());\nexports.I18nSelectPipe = I18nSelectPipe;\n","/* */ \n\"use strict\";\nvar async_pipe_1 = require('./async_pipe');\nvar uppercase_pipe_1 = require('./uppercase_pipe');\nvar lowercase_pipe_1 = require('./lowercase_pipe');\nvar json_pipe_1 = require('./json_pipe');\nvar slice_pipe_1 = require('./slice_pipe');\nvar date_pipe_1 = require('./date_pipe');\nvar number_pipe_1 = require('./number_pipe');\nvar replace_pipe_1 = require('./replace_pipe');\nvar i18n_plural_pipe_1 = require('./i18n_plural_pipe');\nvar i18n_select_pipe_1 = require('./i18n_select_pipe');\nexports.COMMON_PIPES = [async_pipe_1.AsyncPipe, uppercase_pipe_1.UpperCasePipe, lowercase_pipe_1.LowerCasePipe, json_pipe_1.JsonPipe, slice_pipe_1.SlicePipe, number_pipe_1.DecimalPipe, number_pipe_1.PercentPipe, number_pipe_1.CurrencyPipe, date_pipe_1.DatePipe, replace_pipe_1.ReplacePipe, i18n_plural_pipe_1.I18nPluralPipe, i18n_select_pipe_1.I18nSelectPipe];\n","/* */ \n\"use strict\";\nvar async_pipe_1 = require('./pipes/async_pipe');\nexports.AsyncPipe = async_pipe_1.AsyncPipe;\nvar date_pipe_1 = require('./pipes/date_pipe');\nexports.DatePipe = date_pipe_1.DatePipe;\nvar json_pipe_1 = require('./pipes/json_pipe');\nexports.JsonPipe = json_pipe_1.JsonPipe;\nvar slice_pipe_1 = require('./pipes/slice_pipe');\nexports.SlicePipe = slice_pipe_1.SlicePipe;\nvar lowercase_pipe_1 = require('./pipes/lowercase_pipe');\nexports.LowerCasePipe = lowercase_pipe_1.LowerCasePipe;\nvar number_pipe_1 = require('./pipes/number_pipe');\nexports.NumberPipe = number_pipe_1.NumberPipe;\nexports.DecimalPipe = number_pipe_1.DecimalPipe;\nexports.PercentPipe = number_pipe_1.PercentPipe;\nexports.CurrencyPipe = number_pipe_1.CurrencyPipe;\nvar uppercase_pipe_1 = require('./pipes/uppercase_pipe');\nexports.UpperCasePipe = uppercase_pipe_1.UpperCasePipe;\nvar replace_pipe_1 = require('./pipes/replace_pipe');\nexports.ReplacePipe = replace_pipe_1.ReplacePipe;\nvar i18n_plural_pipe_1 = require('./pipes/i18n_plural_pipe');\nexports.I18nPluralPipe = i18n_plural_pipe_1.I18nPluralPipe;\nvar i18n_select_pipe_1 = require('./pipes/i18n_select_pipe');\nexports.I18nSelectPipe = i18n_select_pipe_1.I18nSelectPipe;\nvar common_pipes_1 = require('./pipes/common_pipes');\nexports.COMMON_PIPES = common_pipes_1.COMMON_PIPES;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar async_1 = require('../../facade/async');\nvar control_container_1 = require('./control_container');\nvar ng_control_1 = require('./ng_control');\nvar control_value_accessor_1 = require('./control_value_accessor');\nvar shared_1 = require('./shared');\nvar validators_1 = require('../validators');\nexports.controlNameBinding = {\n provide: ng_control_1.NgControl,\n useExisting: core_1.forwardRef(function() {\n return NgControlName;\n })\n};\nvar NgControlName = (function(_super) {\n __extends(NgControlName, _super);\n function NgControlName(_parent, _validators, _asyncValidators, valueAccessors) {\n _super.call(this);\n this._parent = _parent;\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this.update = new async_1.EventEmitter();\n this._added = false;\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\n }\n NgControlName.prototype.ngOnChanges = function(changes) {\n if (!this._added) {\n this.formDirective.addControl(this);\n this._added = true;\n }\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\n this.viewModel = this.model;\n this.formDirective.updateModel(this, this.model);\n }\n };\n NgControlName.prototype.ngOnDestroy = function() {\n this.formDirective.removeControl(this);\n };\n NgControlName.prototype.viewToModelUpdate = function(newValue) {\n this.viewModel = newValue;\n async_1.ObservableWrapper.callEmit(this.update, newValue);\n };\n Object.defineProperty(NgControlName.prototype, \"path\", {\n get: function() {\n return shared_1.controlPath(this.name, this._parent);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlName.prototype, \"formDirective\", {\n get: function() {\n return this._parent.formDirective;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlName.prototype, \"validator\", {\n get: function() {\n return shared_1.composeValidators(this._validators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlName.prototype, \"asyncValidator\", {\n get: function() {\n return shared_1.composeAsyncValidators(this._asyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlName.prototype, \"control\", {\n get: function() {\n return this.formDirective.getControl(this);\n },\n enumerable: true,\n configurable: true\n });\n NgControlName.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngControl]',\n bindings: [exports.controlNameBinding],\n inputs: ['name: ngControl', 'model: ngModel'],\n outputs: ['update: ngModelChange'],\n exportAs: 'ngForm'\n }]\n }];\n NgControlName.ctorParameters = [{\n type: control_container_1.ControlContainer,\n decorators: [{type: core_1.Host}, {type: core_1.SkipSelf}]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [control_value_accessor_1.NG_VALUE_ACCESSOR]\n }]\n }];\n return NgControlName;\n}(ng_control_1.NgControl));\nexports.NgControlName = NgControlName;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar collection_1 = require('../../facade/collection');\nvar async_1 = require('../../facade/async');\nvar ng_control_1 = require('./ng_control');\nvar validators_1 = require('../validators');\nvar control_value_accessor_1 = require('./control_value_accessor');\nvar shared_1 = require('./shared');\nexports.formControlBinding = {\n provide: ng_control_1.NgControl,\n useExisting: core_1.forwardRef(function() {\n return NgFormControl;\n })\n};\nvar NgFormControl = (function(_super) {\n __extends(NgFormControl, _super);\n function NgFormControl(_validators, _asyncValidators, valueAccessors) {\n _super.call(this);\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this.update = new async_1.EventEmitter();\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\n }\n NgFormControl.prototype.ngOnChanges = function(changes) {\n if (this._isControlChanged(changes)) {\n shared_1.setUpControl(this.form, this);\n this.form.updateValueAndValidity({emitEvent: false});\n }\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\n this.form.updateValue(this.model);\n this.viewModel = this.model;\n }\n };\n Object.defineProperty(NgFormControl.prototype, \"path\", {\n get: function() {\n return [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFormControl.prototype, \"validator\", {\n get: function() {\n return shared_1.composeValidators(this._validators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFormControl.prototype, \"asyncValidator\", {\n get: function() {\n return shared_1.composeAsyncValidators(this._asyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFormControl.prototype, \"control\", {\n get: function() {\n return this.form;\n },\n enumerable: true,\n configurable: true\n });\n NgFormControl.prototype.viewToModelUpdate = function(newValue) {\n this.viewModel = newValue;\n async_1.ObservableWrapper.callEmit(this.update, newValue);\n };\n NgFormControl.prototype._isControlChanged = function(changes) {\n return collection_1.StringMapWrapper.contains(changes, \"form\");\n };\n NgFormControl.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngFormControl]',\n bindings: [exports.formControlBinding],\n inputs: ['form: ngFormControl', 'model: ngModel'],\n outputs: ['update: ngModelChange'],\n exportAs: 'ngForm'\n }]\n }];\n NgFormControl.ctorParameters = [{\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [control_value_accessor_1.NG_VALUE_ACCESSOR]\n }]\n }];\n return NgFormControl;\n}(ng_control_1.NgControl));\nexports.NgFormControl = NgFormControl;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar async_1 = require('../../facade/async');\nvar control_value_accessor_1 = require('./control_value_accessor');\nvar ng_control_1 = require('./ng_control');\nvar model_1 = require('../model');\nvar validators_1 = require('../validators');\nvar shared_1 = require('./shared');\nexports.formControlBinding = {\n provide: ng_control_1.NgControl,\n useExisting: core_1.forwardRef(function() {\n return NgModel;\n })\n};\nvar NgModel = (function(_super) {\n __extends(NgModel, _super);\n function NgModel(_validators, _asyncValidators, valueAccessors) {\n _super.call(this);\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this._control = new model_1.Control();\n this._added = false;\n this.update = new async_1.EventEmitter();\n this.valueAccessor = shared_1.selectValueAccessor(this, valueAccessors);\n }\n NgModel.prototype.ngOnChanges = function(changes) {\n if (!this._added) {\n shared_1.setUpControl(this._control, this);\n this._control.updateValueAndValidity({emitEvent: false});\n this._added = true;\n }\n if (shared_1.isPropertyUpdated(changes, this.viewModel)) {\n this._control.updateValue(this.model);\n this.viewModel = this.model;\n }\n };\n Object.defineProperty(NgModel.prototype, \"control\", {\n get: function() {\n return this._control;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"path\", {\n get: function() {\n return [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"validator\", {\n get: function() {\n return shared_1.composeValidators(this._validators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"asyncValidator\", {\n get: function() {\n return shared_1.composeAsyncValidators(this._asyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n NgModel.prototype.viewToModelUpdate = function(newValue) {\n this.viewModel = newValue;\n async_1.ObservableWrapper.callEmit(this.update, newValue);\n };\n NgModel.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngModel]:not([ngControl]):not([ngFormControl])',\n bindings: [exports.formControlBinding],\n inputs: ['model: ngModel'],\n outputs: ['update: ngModelChange'],\n exportAs: 'ngForm'\n }]\n }];\n NgModel.ctorParameters = [{\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [control_value_accessor_1.NG_VALUE_ACCESSOR]\n }]\n }];\n return NgModel;\n}(ng_control_1.NgControl));\nexports.NgModel = NgModel;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar control_container_1 = require('./control_container');\nvar shared_1 = require('./shared');\nvar validators_1 = require('../validators');\nexports.controlGroupProvider = {\n provide: control_container_1.ControlContainer,\n useExisting: core_1.forwardRef(function() {\n return NgControlGroup;\n })\n};\nvar NgControlGroup = (function(_super) {\n __extends(NgControlGroup, _super);\n function NgControlGroup(parent, _validators, _asyncValidators) {\n _super.call(this);\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this._parent = parent;\n }\n NgControlGroup.prototype.ngOnInit = function() {\n this.formDirective.addControlGroup(this);\n };\n NgControlGroup.prototype.ngOnDestroy = function() {\n this.formDirective.removeControlGroup(this);\n };\n Object.defineProperty(NgControlGroup.prototype, \"control\", {\n get: function() {\n return this.formDirective.getControlGroup(this);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlGroup.prototype, \"path\", {\n get: function() {\n return shared_1.controlPath(this.name, this._parent);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlGroup.prototype, \"formDirective\", {\n get: function() {\n return this._parent.formDirective;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlGroup.prototype, \"validator\", {\n get: function() {\n return shared_1.composeValidators(this._validators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlGroup.prototype, \"asyncValidator\", {\n get: function() {\n return shared_1.composeAsyncValidators(this._asyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n NgControlGroup.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngControlGroup]',\n providers: [exports.controlGroupProvider],\n inputs: ['name: ngControlGroup'],\n exportAs: 'ngForm'\n }]\n }];\n NgControlGroup.ctorParameters = [{\n type: control_container_1.ControlContainer,\n decorators: [{type: core_1.Host}, {type: core_1.SkipSelf}]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }];\n return NgControlGroup;\n}(control_container_1.ControlContainer));\nexports.NgControlGroup = NgControlGroup;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar collection_1 = require('../../facade/collection');\nvar exceptions_1 = require('../../facade/exceptions');\nvar async_1 = require('../../facade/async');\nvar control_container_1 = require('./control_container');\nvar shared_1 = require('./shared');\nvar validators_1 = require('../validators');\nexports.formDirectiveProvider = {\n provide: control_container_1.ControlContainer,\n useExisting: core_1.forwardRef(function() {\n return NgFormModel;\n })\n};\nvar NgFormModel = (function(_super) {\n __extends(NgFormModel, _super);\n function NgFormModel(_validators, _asyncValidators) {\n _super.call(this);\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this.form = null;\n this.directives = [];\n this.ngSubmit = new async_1.EventEmitter();\n }\n NgFormModel.prototype.ngOnChanges = function(changes) {\n this._checkFormPresent();\n if (collection_1.StringMapWrapper.contains(changes, \"form\")) {\n var sync = shared_1.composeValidators(this._validators);\n this.form.validator = validators_1.Validators.compose([this.form.validator, sync]);\n var async = shared_1.composeAsyncValidators(this._asyncValidators);\n this.form.asyncValidator = validators_1.Validators.composeAsync([this.form.asyncValidator, async]);\n this.form.updateValueAndValidity({\n onlySelf: true,\n emitEvent: false\n });\n }\n this._updateDomValue();\n };\n Object.defineProperty(NgFormModel.prototype, \"formDirective\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFormModel.prototype, \"control\", {\n get: function() {\n return this.form;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFormModel.prototype, \"path\", {\n get: function() {\n return [];\n },\n enumerable: true,\n configurable: true\n });\n NgFormModel.prototype.addControl = function(dir) {\n var ctrl = this.form.find(dir.path);\n shared_1.setUpControl(ctrl, dir);\n ctrl.updateValueAndValidity({emitEvent: false});\n this.directives.push(dir);\n };\n NgFormModel.prototype.getControl = function(dir) {\n return this.form.find(dir.path);\n };\n NgFormModel.prototype.removeControl = function(dir) {\n collection_1.ListWrapper.remove(this.directives, dir);\n };\n NgFormModel.prototype.addControlGroup = function(dir) {\n var ctrl = this.form.find(dir.path);\n shared_1.setUpControlGroup(ctrl, dir);\n ctrl.updateValueAndValidity({emitEvent: false});\n };\n NgFormModel.prototype.removeControlGroup = function(dir) {};\n NgFormModel.prototype.getControlGroup = function(dir) {\n return this.form.find(dir.path);\n };\n NgFormModel.prototype.updateModel = function(dir, value) {\n var ctrl = this.form.find(dir.path);\n ctrl.updateValue(value);\n };\n NgFormModel.prototype.onSubmit = function() {\n async_1.ObservableWrapper.callEmit(this.ngSubmit, null);\n return false;\n };\n NgFormModel.prototype._updateDomValue = function() {\n var _this = this;\n this.directives.forEach(function(dir) {\n var ctrl = _this.form.find(dir.path);\n dir.valueAccessor.writeValue(ctrl.value);\n });\n };\n NgFormModel.prototype._checkFormPresent = function() {\n if (lang_1.isBlank(this.form)) {\n throw new exceptions_1.BaseException(\"ngFormModel expects a form. Please pass one in. Example: <form [ngFormModel]=\\\"myCoolForm\\\">\");\n }\n };\n NgFormModel.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngFormModel]',\n bindings: [exports.formDirectiveProvider],\n inputs: ['form: ngFormModel'],\n host: {'(submit)': 'onSubmit()'},\n outputs: ['ngSubmit'],\n exportAs: 'ngForm'\n }]\n }];\n NgFormModel.ctorParameters = [{\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }];\n return NgFormModel;\n}(control_container_1.ControlContainer));\nexports.NgFormModel = NgFormModel;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar abstract_control_directive_1 = require('./abstract_control_directive');\nvar ControlContainer = (function(_super) {\n __extends(ControlContainer, _super);\n function ControlContainer() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(ControlContainer.prototype, \"formDirective\", {\n get: function() {\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ControlContainer.prototype, \"path\", {\n get: function() {\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return ControlContainer;\n}(abstract_control_directive_1.AbstractControlDirective));\nexports.ControlContainer = ControlContainer;\n","/* */ \n\"use strict\";\nfunction normalizeValidator(validator) {\n if (validator.validate !== undefined) {\n return function (c) { return validator.validate(c); };\n }\n else {\n return validator;\n }\n}\nexports.normalizeValidator = normalizeValidator;\nfunction normalizeAsyncValidator(validator) {\n if (validator.validate !== undefined) {\n return function (c) { return Promise.resolve(validator.validate(c)); };\n }\n else {\n return validator;\n }\n}\nexports.normalizeAsyncValidator = normalizeAsyncValidator;\n//# sourceMappingURL=normalize_validator.js.map","/* */ \n\"use strict\";\nvar collection_1 = require('../../facade/collection');\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar validators_1 = require('../validators');\nvar default_value_accessor_1 = require('./default_value_accessor');\nvar number_value_accessor_1 = require('./number_value_accessor');\nvar checkbox_value_accessor_1 = require('./checkbox_value_accessor');\nvar select_control_value_accessor_1 = require('./select_control_value_accessor');\nvar radio_control_value_accessor_1 = require('./radio_control_value_accessor');\nvar normalize_validator_1 = require('./normalize_validator');\nfunction controlPath(name, parent) {\n var p = collection_1.ListWrapper.clone(parent.path);\n p.push(name);\n return p;\n}\nexports.controlPath = controlPath;\nfunction setUpControl(control, dir) {\n if (lang_1.isBlank(control))\n _throwError(dir, \"Cannot find control\");\n if (lang_1.isBlank(dir.valueAccessor))\n _throwError(dir, \"No value accessor for\");\n control.validator = validators_1.Validators.compose([control.validator, dir.validator]);\n control.asyncValidator = validators_1.Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n dir.valueAccessor.writeValue(control.value);\n dir.valueAccessor.registerOnChange(function(newValue) {\n dir.viewToModelUpdate(newValue);\n control.updateValue(newValue, {emitModelToViewChange: false});\n control.markAsDirty();\n });\n control.registerOnChange(function(newValue) {\n return dir.valueAccessor.writeValue(newValue);\n });\n dir.valueAccessor.registerOnTouched(function() {\n return control.markAsTouched();\n });\n}\nexports.setUpControl = setUpControl;\nfunction setUpControlGroup(control, dir) {\n if (lang_1.isBlank(control))\n _throwError(dir, \"Cannot find control\");\n control.validator = validators_1.Validators.compose([control.validator, dir.validator]);\n control.asyncValidator = validators_1.Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n}\nexports.setUpControlGroup = setUpControlGroup;\nfunction _throwError(dir, message) {\n var path = dir.path.join(\" -> \");\n throw new exceptions_1.BaseException(message + \" '\" + path + \"'\");\n}\nfunction composeValidators(validators) {\n return lang_1.isPresent(validators) ? validators_1.Validators.compose(validators.map(normalize_validator_1.normalizeValidator)) : null;\n}\nexports.composeValidators = composeValidators;\nfunction composeAsyncValidators(validators) {\n return lang_1.isPresent(validators) ? validators_1.Validators.composeAsync(validators.map(normalize_validator_1.normalizeAsyncValidator)) : null;\n}\nexports.composeAsyncValidators = composeAsyncValidators;\nfunction isPropertyUpdated(changes, viewModel) {\n if (!collection_1.StringMapWrapper.contains(changes, \"model\"))\n return false;\n var change = changes[\"model\"];\n if (change.isFirstChange())\n return true;\n return !lang_1.looseIdentical(viewModel, change.currentValue);\n}\nexports.isPropertyUpdated = isPropertyUpdated;\nfunction selectValueAccessor(dir, valueAccessors) {\n if (lang_1.isBlank(valueAccessors))\n return null;\n var defaultAccessor;\n var builtinAccessor;\n var customAccessor;\n valueAccessors.forEach(function(v) {\n if (lang_1.hasConstructor(v, default_value_accessor_1.DefaultValueAccessor)) {\n defaultAccessor = v;\n } else if (lang_1.hasConstructor(v, checkbox_value_accessor_1.CheckboxControlValueAccessor) || lang_1.hasConstructor(v, number_value_accessor_1.NumberValueAccessor) || lang_1.hasConstructor(v, select_control_value_accessor_1.SelectControlValueAccessor) || lang_1.hasConstructor(v, radio_control_value_accessor_1.RadioControlValueAccessor)) {\n if (lang_1.isPresent(builtinAccessor))\n _throwError(dir, \"More than one built-in value accessor matches\");\n builtinAccessor = v;\n } else {\n if (lang_1.isPresent(customAccessor))\n _throwError(dir, \"More than one custom value accessor matches\");\n customAccessor = v;\n }\n });\n if (lang_1.isPresent(customAccessor))\n return customAccessor;\n if (lang_1.isPresent(builtinAccessor))\n return builtinAccessor;\n if (lang_1.isPresent(defaultAccessor))\n return defaultAccessor;\n _throwError(dir, \"No valid value accessor for\");\n return null;\n}\nexports.selectValueAccessor = selectValueAccessor;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar async_1 = require('../../facade/async');\nvar collection_1 = require('../../facade/collection');\nvar lang_1 = require('../../facade/lang');\nvar control_container_1 = require('./control_container');\nvar model_1 = require('../model');\nvar shared_1 = require('./shared');\nvar validators_1 = require('../validators');\nexports.formDirectiveProvider = {\n provide: control_container_1.ControlContainer,\n useExisting: core_1.forwardRef(function() {\n return NgForm;\n })\n};\nvar NgForm = (function(_super) {\n __extends(NgForm, _super);\n function NgForm(validators, asyncValidators) {\n _super.call(this);\n this.ngSubmit = new async_1.EventEmitter();\n this.form = new model_1.ControlGroup({}, null, shared_1.composeValidators(validators), shared_1.composeAsyncValidators(asyncValidators));\n }\n Object.defineProperty(NgForm.prototype, \"formDirective\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"control\", {\n get: function() {\n return this.form;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"path\", {\n get: function() {\n return [];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"controls\", {\n get: function() {\n return this.form.controls;\n },\n enumerable: true,\n configurable: true\n });\n NgForm.prototype.addControl = function(dir) {\n var _this = this;\n async_1.PromiseWrapper.scheduleMicrotask(function() {\n var container = _this._findContainer(dir.path);\n var ctrl = new model_1.Control();\n shared_1.setUpControl(ctrl, dir);\n container.addControl(dir.name, ctrl);\n ctrl.updateValueAndValidity({emitEvent: false});\n });\n };\n NgForm.prototype.getControl = function(dir) {\n return this.form.find(dir.path);\n };\n NgForm.prototype.removeControl = function(dir) {\n var _this = this;\n async_1.PromiseWrapper.scheduleMicrotask(function() {\n var container = _this._findContainer(dir.path);\n if (lang_1.isPresent(container)) {\n container.removeControl(dir.name);\n container.updateValueAndValidity({emitEvent: false});\n }\n });\n };\n NgForm.prototype.addControlGroup = function(dir) {\n var _this = this;\n async_1.PromiseWrapper.scheduleMicrotask(function() {\n var container = _this._findContainer(dir.path);\n var group = new model_1.ControlGroup({});\n shared_1.setUpControlGroup(group, dir);\n container.addControl(dir.name, group);\n group.updateValueAndValidity({emitEvent: false});\n });\n };\n NgForm.prototype.removeControlGroup = function(dir) {\n var _this = this;\n async_1.PromiseWrapper.scheduleMicrotask(function() {\n var container = _this._findContainer(dir.path);\n if (lang_1.isPresent(container)) {\n container.removeControl(dir.name);\n container.updateValueAndValidity({emitEvent: false});\n }\n });\n };\n NgForm.prototype.getControlGroup = function(dir) {\n return this.form.find(dir.path);\n };\n NgForm.prototype.updateModel = function(dir, value) {\n var _this = this;\n async_1.PromiseWrapper.scheduleMicrotask(function() {\n var ctrl = _this.form.find(dir.path);\n ctrl.updateValue(value);\n });\n };\n NgForm.prototype.onSubmit = function() {\n async_1.ObservableWrapper.callEmit(this.ngSubmit, null);\n return false;\n };\n NgForm.prototype._findContainer = function(path) {\n path.pop();\n return collection_1.ListWrapper.isEmpty(path) ? this.form : this.form.find(path);\n };\n NgForm.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'form:not([ngNoForm]):not([ngFormModel]),ngForm,[ngForm]',\n bindings: [exports.formDirectiveProvider],\n host: {'(submit)': 'onSubmit()'},\n outputs: ['ngSubmit'],\n exportAs: 'ngForm'\n }]\n }];\n NgForm.ctorParameters = [{\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_VALIDATORS]\n }]\n }, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {type: core_1.Self}, {\n type: core_1.Inject,\n args: [validators_1.NG_ASYNC_VALIDATORS]\n }]\n }];\n return NgForm;\n}(control_container_1.ControlContainer));\nexports.NgForm = NgForm;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar control_value_accessor_1 = require('./control_value_accessor');\nexports.DEFAULT_VALUE_ACCESSOR = {\n provide: control_value_accessor_1.NG_VALUE_ACCESSOR,\n useExisting: core_1.forwardRef(function() {\n return DefaultValueAccessor;\n }),\n multi: true\n};\nvar DefaultValueAccessor = (function() {\n function DefaultValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function(_) {};\n this.onTouched = function() {};\n }\n DefaultValueAccessor.prototype.writeValue = function(value) {\n var normalizedValue = lang_1.isBlank(value) ? '' : value;\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n };\n DefaultValueAccessor.prototype.registerOnChange = function(fn) {\n this.onChange = fn;\n };\n DefaultValueAccessor.prototype.registerOnTouched = function(fn) {\n this.onTouched = fn;\n };\n DefaultValueAccessor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'input:not([type=checkbox])[ngControl],textarea[ngControl],input:not([type=checkbox])[ngFormControl],textarea[ngFormControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n host: {\n '(input)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n bindings: [exports.DEFAULT_VALUE_ACCESSOR]\n }]\n }];\n DefaultValueAccessor.ctorParameters = [{type: core_1.Renderer}, {type: core_1.ElementRef}];\n return DefaultValueAccessor;\n}());\nexports.DefaultValueAccessor = DefaultValueAccessor;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar control_value_accessor_1 = require('./control_value_accessor');\nexports.CHECKBOX_VALUE_ACCESSOR = {\n provide: control_value_accessor_1.NG_VALUE_ACCESSOR,\n useExisting: core_1.forwardRef(function() {\n return CheckboxControlValueAccessor;\n }),\n multi: true\n};\nvar CheckboxControlValueAccessor = (function() {\n function CheckboxControlValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function(_) {};\n this.onTouched = function() {};\n }\n CheckboxControlValueAccessor.prototype.writeValue = function(value) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', value);\n };\n CheckboxControlValueAccessor.prototype.registerOnChange = function(fn) {\n this.onChange = fn;\n };\n CheckboxControlValueAccessor.prototype.registerOnTouched = function(fn) {\n this.onTouched = fn;\n };\n CheckboxControlValueAccessor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'input[type=checkbox][ngControl],input[type=checkbox][ngFormControl],input[type=checkbox][ngModel]',\n host: {\n '(change)': 'onChange($event.target.checked)',\n '(blur)': 'onTouched()'\n },\n providers: [exports.CHECKBOX_VALUE_ACCESSOR]\n }]\n }];\n CheckboxControlValueAccessor.ctorParameters = [{type: core_1.Renderer}, {type: core_1.ElementRef}];\n return CheckboxControlValueAccessor;\n}());\nexports.CheckboxControlValueAccessor = CheckboxControlValueAccessor;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar control_value_accessor_1 = require('./control_value_accessor');\nexports.NUMBER_VALUE_ACCESSOR = {\n provide: control_value_accessor_1.NG_VALUE_ACCESSOR,\n useExisting: core_1.forwardRef(function() {\n return NumberValueAccessor;\n }),\n multi: true\n};\nvar NumberValueAccessor = (function() {\n function NumberValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function(_) {};\n this.onTouched = function() {};\n }\n NumberValueAccessor.prototype.writeValue = function(value) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', value);\n };\n NumberValueAccessor.prototype.registerOnChange = function(fn) {\n this.onChange = function(value) {\n fn(value == '' ? null : lang_1.NumberWrapper.parseFloat(value));\n };\n };\n NumberValueAccessor.prototype.registerOnTouched = function(fn) {\n this.onTouched = fn;\n };\n NumberValueAccessor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'input[type=number][ngControl],input[type=number][ngFormControl],input[type=number][ngModel]',\n host: {\n '(change)': 'onChange($event.target.value)',\n '(input)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n bindings: [exports.NUMBER_VALUE_ACCESSOR]\n }]\n }];\n NumberValueAccessor.ctorParameters = [{type: core_1.Renderer}, {type: core_1.ElementRef}];\n return NumberValueAccessor;\n}());\nexports.NumberValueAccessor = NumberValueAccessor;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar ng_control_1 = require('./ng_control');\nvar lang_1 = require('../../facade/lang');\nvar NgControlStatus = (function() {\n function NgControlStatus(cd) {\n this._cd = cd;\n }\n Object.defineProperty(NgControlStatus.prototype, \"ngClassUntouched\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? this._cd.control.untouched : false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlStatus.prototype, \"ngClassTouched\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? this._cd.control.touched : false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlStatus.prototype, \"ngClassPristine\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? this._cd.control.pristine : false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlStatus.prototype, \"ngClassDirty\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? this._cd.control.dirty : false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlStatus.prototype, \"ngClassValid\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? this._cd.control.valid : false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControlStatus.prototype, \"ngClassInvalid\", {\n get: function() {\n return lang_1.isPresent(this._cd.control) ? !this._cd.control.valid : false;\n },\n enumerable: true,\n configurable: true\n });\n NgControlStatus.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngControl],[ngModel],[ngFormControl]',\n host: {\n '[class.ng-untouched]': 'ngClassUntouched',\n '[class.ng-touched]': 'ngClassTouched',\n '[class.ng-pristine]': 'ngClassPristine',\n '[class.ng-dirty]': 'ngClassDirty',\n '[class.ng-valid]': 'ngClassValid',\n '[class.ng-invalid]': 'ngClassInvalid'\n }\n }]\n }];\n NgControlStatus.ctorParameters = [{\n type: ng_control_1.NgControl,\n decorators: [{type: core_1.Self}]\n }];\n return NgControlStatus;\n}());\nexports.NgControlStatus = NgControlStatus;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar collection_1 = require('../../facade/collection');\nvar control_value_accessor_1 = require('./control_value_accessor');\nexports.SELECT_VALUE_ACCESSOR = {\n provide: control_value_accessor_1.NG_VALUE_ACCESSOR,\n useExisting: core_1.forwardRef(function() {\n return SelectControlValueAccessor;\n }),\n multi: true\n};\nfunction _buildValueString(id, value) {\n if (lang_1.isBlank(id))\n return \"\" + value;\n if (!lang_1.isPrimitive(value))\n value = \"Object\";\n return lang_1.StringWrapper.slice(id + \": \" + value, 0, 50);\n}\nfunction _extractId(valueString) {\n return valueString.split(\":\")[0];\n}\nvar SelectControlValueAccessor = (function() {\n function SelectControlValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this._optionMap = new Map();\n this._idCounter = 0;\n this.onChange = function(_) {};\n this.onTouched = function() {};\n }\n SelectControlValueAccessor.prototype.writeValue = function(value) {\n this.value = value;\n var valueString = _buildValueString(this._getOptionId(value), value);\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', valueString);\n };\n SelectControlValueAccessor.prototype.registerOnChange = function(fn) {\n var _this = this;\n this.onChange = function(valueString) {\n fn(_this._getOptionValue(valueString));\n };\n };\n SelectControlValueAccessor.prototype.registerOnTouched = function(fn) {\n this.onTouched = fn;\n };\n SelectControlValueAccessor.prototype._registerOption = function() {\n return (this._idCounter++).toString();\n };\n SelectControlValueAccessor.prototype._getOptionId = function(value) {\n for (var _i = 0,\n _a = collection_1.MapWrapper.keys(this._optionMap); _i < _a.length; _i++) {\n var id = _a[_i];\n if (lang_1.looseIdentical(this._optionMap.get(id), value))\n return id;\n }\n return null;\n };\n SelectControlValueAccessor.prototype._getOptionValue = function(valueString) {\n var value = this._optionMap.get(_extractId(valueString));\n return lang_1.isPresent(value) ? value : valueString;\n };\n SelectControlValueAccessor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'select[ngControl],select[ngFormControl],select[ngModel]',\n host: {\n '(change)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n providers: [exports.SELECT_VALUE_ACCESSOR]\n }]\n }];\n SelectControlValueAccessor.ctorParameters = [{type: core_1.Renderer}, {type: core_1.ElementRef}];\n return SelectControlValueAccessor;\n}());\nexports.SelectControlValueAccessor = SelectControlValueAccessor;\nvar NgSelectOption = (function() {\n function NgSelectOption(_element, _renderer, _select) {\n this._element = _element;\n this._renderer = _renderer;\n this._select = _select;\n if (lang_1.isPresent(this._select))\n this.id = this._select._registerOption();\n }\n Object.defineProperty(NgSelectOption.prototype, \"ngValue\", {\n set: function(value) {\n if (this._select == null)\n return;\n this._select._optionMap.set(this.id, value);\n this._setElementValue(_buildValueString(this.id, value));\n this._select.writeValue(this._select.value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgSelectOption.prototype, \"value\", {\n set: function(value) {\n this._setElementValue(value);\n if (lang_1.isPresent(this._select))\n this._select.writeValue(this._select.value);\n },\n enumerable: true,\n configurable: true\n });\n NgSelectOption.prototype._setElementValue = function(value) {\n this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\n };\n NgSelectOption.prototype.ngOnDestroy = function() {\n if (lang_1.isPresent(this._select)) {\n this._select._optionMap.delete(this.id);\n this._select.writeValue(this._select.value);\n }\n };\n NgSelectOption.decorators = [{\n type: core_1.Directive,\n args: [{selector: 'option'}]\n }];\n NgSelectOption.ctorParameters = [{type: core_1.ElementRef}, {type: core_1.Renderer}, {\n type: SelectControlValueAccessor,\n decorators: [{type: core_1.Optional}, {type: core_1.Host}]\n }];\n NgSelectOption.propDecorators = {\n 'ngValue': [{\n type: core_1.Input,\n args: ['ngValue']\n }],\n 'value': [{\n type: core_1.Input,\n args: ['value']\n }]\n };\n return NgSelectOption;\n}());\nexports.NgSelectOption = NgSelectOption;\n","/* */ \n\"use strict\";\nvar ng_control_name_1 = require('./directives/ng_control_name');\nvar ng_form_control_1 = require('./directives/ng_form_control');\nvar ng_model_1 = require('./directives/ng_model');\nvar ng_control_group_1 = require('./directives/ng_control_group');\nvar ng_form_model_1 = require('./directives/ng_form_model');\nvar ng_form_1 = require('./directives/ng_form');\nvar default_value_accessor_1 = require('./directives/default_value_accessor');\nvar checkbox_value_accessor_1 = require('./directives/checkbox_value_accessor');\nvar number_value_accessor_1 = require('./directives/number_value_accessor');\nvar radio_control_value_accessor_1 = require('./directives/radio_control_value_accessor');\nvar ng_control_status_1 = require('./directives/ng_control_status');\nvar select_control_value_accessor_1 = require('./directives/select_control_value_accessor');\nvar validators_1 = require('./directives/validators');\nvar ng_control_name_2 = require('./directives/ng_control_name');\nexports.NgControlName = ng_control_name_2.NgControlName;\nvar ng_form_control_2 = require('./directives/ng_form_control');\nexports.NgFormControl = ng_form_control_2.NgFormControl;\nvar ng_model_2 = require('./directives/ng_model');\nexports.NgModel = ng_model_2.NgModel;\nvar ng_control_group_2 = require('./directives/ng_control_group');\nexports.NgControlGroup = ng_control_group_2.NgControlGroup;\nvar ng_form_model_2 = require('./directives/ng_form_model');\nexports.NgFormModel = ng_form_model_2.NgFormModel;\nvar ng_form_2 = require('./directives/ng_form');\nexports.NgForm = ng_form_2.NgForm;\nvar default_value_accessor_2 = require('./directives/default_value_accessor');\nexports.DefaultValueAccessor = default_value_accessor_2.DefaultValueAccessor;\nvar checkbox_value_accessor_2 = require('./directives/checkbox_value_accessor');\nexports.CheckboxControlValueAccessor = checkbox_value_accessor_2.CheckboxControlValueAccessor;\nvar radio_control_value_accessor_2 = require('./directives/radio_control_value_accessor');\nexports.RadioControlValueAccessor = radio_control_value_accessor_2.RadioControlValueAccessor;\nexports.RadioButtonState = radio_control_value_accessor_2.RadioButtonState;\nvar number_value_accessor_2 = require('./directives/number_value_accessor');\nexports.NumberValueAccessor = number_value_accessor_2.NumberValueAccessor;\nvar ng_control_status_2 = require('./directives/ng_control_status');\nexports.NgControlStatus = ng_control_status_2.NgControlStatus;\nvar select_control_value_accessor_2 = require('./directives/select_control_value_accessor');\nexports.SelectControlValueAccessor = select_control_value_accessor_2.SelectControlValueAccessor;\nexports.NgSelectOption = select_control_value_accessor_2.NgSelectOption;\nvar validators_2 = require('./directives/validators');\nexports.RequiredValidator = validators_2.RequiredValidator;\nexports.MinLengthValidator = validators_2.MinLengthValidator;\nexports.MaxLengthValidator = validators_2.MaxLengthValidator;\nexports.PatternValidator = validators_2.PatternValidator;\nvar ng_control_1 = require('./directives/ng_control');\nexports.NgControl = ng_control_1.NgControl;\nexports.FORM_DIRECTIVES = [ng_control_name_1.NgControlName, ng_control_group_1.NgControlGroup, ng_form_control_1.NgFormControl, ng_model_1.NgModel, ng_form_model_1.NgFormModel, ng_form_1.NgForm, select_control_value_accessor_1.NgSelectOption, default_value_accessor_1.DefaultValueAccessor, number_value_accessor_1.NumberValueAccessor, checkbox_value_accessor_1.CheckboxControlValueAccessor, select_control_value_accessor_1.SelectControlValueAccessor, radio_control_value_accessor_1.RadioControlValueAccessor, ng_control_status_1.NgControlStatus, validators_1.RequiredValidator, validators_1.MinLengthValidator, validators_1.MaxLengthValidator, validators_1.PatternValidator];\n","/* */ \n(function(process) {\n \"use strict\";\n var core_1 = require('@angular/core');\n var lang_1 = require('../facade/lang');\n var promise_1 = require('../facade/promise');\n var async_1 = require('../facade/async');\n var collection_1 = require('../facade/collection');\n exports.NG_VALIDATORS = new core_1.OpaqueToken(\"NgValidators\");\n exports.NG_ASYNC_VALIDATORS = new core_1.OpaqueToken(\"NgAsyncValidators\");\n var Validators = (function() {\n function Validators() {}\n Validators.required = function(control) {\n return lang_1.isBlank(control.value) || (lang_1.isString(control.value) && control.value == \"\") ? {\"required\": true} : null;\n };\n Validators.minLength = function(minLength) {\n return function(control) {\n if (lang_1.isPresent(Validators.required(control)))\n return null;\n var v = control.value;\n return v.length < minLength ? {\"minlength\": {\n \"requiredLength\": minLength,\n \"actualLength\": v.length\n }} : null;\n };\n };\n Validators.maxLength = function(maxLength) {\n return function(control) {\n if (lang_1.isPresent(Validators.required(control)))\n return null;\n var v = control.value;\n return v.length > maxLength ? {\"maxlength\": {\n \"requiredLength\": maxLength,\n \"actualLength\": v.length\n }} : null;\n };\n };\n Validators.pattern = function(pattern) {\n return function(control) {\n if (lang_1.isPresent(Validators.required(control)))\n return null;\n var regex = new RegExp(\"^\" + pattern + \"$\");\n var v = control.value;\n return regex.test(v) ? null : {\"pattern\": {\n \"requiredPattern\": \"^\" + pattern + \"$\",\n \"actualValue\": v\n }};\n };\n };\n Validators.nullValidator = function(c) {\n return null;\n };\n Validators.compose = function(validators) {\n if (lang_1.isBlank(validators))\n return null;\n var presentValidators = validators.filter(lang_1.isPresent);\n if (presentValidators.length == 0)\n return null;\n return function(control) {\n return _mergeErrors(_executeValidators(control, presentValidators));\n };\n };\n Validators.composeAsync = function(validators) {\n if (lang_1.isBlank(validators))\n return null;\n var presentValidators = validators.filter(lang_1.isPresent);\n if (presentValidators.length == 0)\n return null;\n return function(control) {\n var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\n return promise_1.PromiseWrapper.all(promises).then(_mergeErrors);\n };\n };\n return Validators;\n }());\n exports.Validators = Validators;\n function _convertToPromise(obj) {\n return promise_1.PromiseWrapper.isPromise(obj) ? obj : async_1.ObservableWrapper.toPromise(obj);\n }\n function _executeValidators(control, validators) {\n return validators.map(function(v) {\n return v(control);\n });\n }\n function _executeAsyncValidators(control, validators) {\n return validators.map(function(v) {\n return v(control);\n });\n }\n function _mergeErrors(arrayOfErrors) {\n var res = arrayOfErrors.reduce(function(res, errors) {\n return lang_1.isPresent(errors) ? collection_1.StringMapWrapper.merge(res, errors) : res;\n }, {});\n return collection_1.StringMapWrapper.isEmpty(res) ? null : res;\n }\n})(require('process'));\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar validators_1 = require('../validators');\nvar REQUIRED = validators_1.Validators.required;\nexports.REQUIRED_VALIDATOR = {\n provide: validators_1.NG_VALIDATORS,\n useValue: REQUIRED,\n multi: true\n};\nvar RequiredValidator = (function() {\n function RequiredValidator() {}\n RequiredValidator.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[required][ngControl],[required][ngFormControl],[required][ngModel]',\n providers: [exports.REQUIRED_VALIDATOR]\n }]\n }];\n return RequiredValidator;\n}());\nexports.RequiredValidator = RequiredValidator;\nexports.MIN_LENGTH_VALIDATOR = {\n provide: validators_1.NG_VALIDATORS,\n useExisting: core_1.forwardRef(function() {\n return MinLengthValidator;\n }),\n multi: true\n};\nvar MinLengthValidator = (function() {\n function MinLengthValidator(minLength) {\n this._validator = validators_1.Validators.minLength(lang_1.NumberWrapper.parseInt(minLength, 10));\n }\n MinLengthValidator.prototype.validate = function(c) {\n return this._validator(c);\n };\n MinLengthValidator.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[minlength][ngControl],[minlength][ngFormControl],[minlength][ngModel]',\n providers: [exports.MIN_LENGTH_VALIDATOR]\n }]\n }];\n MinLengthValidator.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Attribute,\n args: [\"minlength\"]\n }]\n }];\n return MinLengthValidator;\n}());\nexports.MinLengthValidator = MinLengthValidator;\nexports.MAX_LENGTH_VALIDATOR = {\n provide: validators_1.NG_VALIDATORS,\n useExisting: core_1.forwardRef(function() {\n return MaxLengthValidator;\n }),\n multi: true\n};\nvar MaxLengthValidator = (function() {\n function MaxLengthValidator(maxLength) {\n this._validator = validators_1.Validators.maxLength(lang_1.NumberWrapper.parseInt(maxLength, 10));\n }\n MaxLengthValidator.prototype.validate = function(c) {\n return this._validator(c);\n };\n MaxLengthValidator.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[maxlength][ngControl],[maxlength][ngFormControl],[maxlength][ngModel]',\n providers: [exports.MAX_LENGTH_VALIDATOR]\n }]\n }];\n MaxLengthValidator.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Attribute,\n args: [\"maxlength\"]\n }]\n }];\n return MaxLengthValidator;\n}());\nexports.MaxLengthValidator = MaxLengthValidator;\nexports.PATTERN_VALIDATOR = {\n provide: validators_1.NG_VALIDATORS,\n useExisting: core_1.forwardRef(function() {\n return PatternValidator;\n }),\n multi: true\n};\nvar PatternValidator = (function() {\n function PatternValidator(pattern) {\n this._validator = validators_1.Validators.pattern(pattern);\n }\n PatternValidator.prototype.validate = function(c) {\n return this._validator(c);\n };\n PatternValidator.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[pattern][ngControl],[pattern][ngFormControl],[pattern][ngModel]',\n providers: [exports.PATTERN_VALIDATOR]\n }]\n }];\n PatternValidator.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Attribute,\n args: [\"pattern\"]\n }]\n }];\n return PatternValidator;\n}());\nexports.PatternValidator = PatternValidator;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar async_1 = require('../facade/async');\nvar promise_1 = require('../facade/promise');\nvar collection_1 = require('../facade/collection');\nexports.VALID = \"VALID\";\nexports.INVALID = \"INVALID\";\nexports.PENDING = \"PENDING\";\nfunction isControl(control) {\n return control instanceof AbstractControl;\n}\nexports.isControl = isControl;\nfunction _find(control, path) {\n if (lang_1.isBlank(path))\n return null;\n if (!(path instanceof Array)) {\n path = path.split(\"/\");\n }\n if (path instanceof Array && collection_1.ListWrapper.isEmpty(path))\n return null;\n return path.reduce(function(v, name) {\n if (v instanceof ControlGroup) {\n return lang_1.isPresent(v.controls[name]) ? v.controls[name] : null;\n } else if (v instanceof ControlArray) {\n var index = name;\n return lang_1.isPresent(v.at(index)) ? v.at(index) : null;\n } else {\n return null;\n }\n }, control);\n}\nfunction toObservable(r) {\n return promise_1.PromiseWrapper.isPromise(r) ? async_1.ObservableWrapper.fromPromise(r) : r;\n}\nvar AbstractControl = (function() {\n function AbstractControl(validator, asyncValidator) {\n this.validator = validator;\n this.asyncValidator = asyncValidator;\n this._pristine = true;\n this._touched = false;\n }\n Object.defineProperty(AbstractControl.prototype, \"value\", {\n get: function() {\n return this._value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"status\", {\n get: function() {\n return this._status;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"valid\", {\n get: function() {\n return this._status === exports.VALID;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"errors\", {\n get: function() {\n return this._errors;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"pristine\", {\n get: function() {\n return this._pristine;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"dirty\", {\n get: function() {\n return !this.pristine;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"touched\", {\n get: function() {\n return this._touched;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"untouched\", {\n get: function() {\n return !this._touched;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"valueChanges\", {\n get: function() {\n return this._valueChanges;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"statusChanges\", {\n get: function() {\n return this._statusChanges;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"pending\", {\n get: function() {\n return this._status == exports.PENDING;\n },\n enumerable: true,\n configurable: true\n });\n AbstractControl.prototype.markAsTouched = function() {\n this._touched = true;\n };\n AbstractControl.prototype.markAsDirty = function(_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n onlySelf = lang_1.normalizeBool(onlySelf);\n this._pristine = false;\n if (lang_1.isPresent(this._parent) && !onlySelf) {\n this._parent.markAsDirty({onlySelf: onlySelf});\n }\n };\n AbstractControl.prototype.markAsPending = function(_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n onlySelf = lang_1.normalizeBool(onlySelf);\n this._status = exports.PENDING;\n if (lang_1.isPresent(this._parent) && !onlySelf) {\n this._parent.markAsPending({onlySelf: onlySelf});\n }\n };\n AbstractControl.prototype.setParent = function(parent) {\n this._parent = parent;\n };\n AbstractControl.prototype.updateValueAndValidity = function(_a) {\n var _b = _a === void 0 ? {} : _a,\n onlySelf = _b.onlySelf,\n emitEvent = _b.emitEvent;\n onlySelf = lang_1.normalizeBool(onlySelf);\n emitEvent = lang_1.isPresent(emitEvent) ? emitEvent : true;\n this._updateValue();\n this._errors = this._runValidator();\n this._status = this._calculateStatus();\n if (this._status == exports.VALID || this._status == exports.PENDING) {\n this._runAsyncValidator(emitEvent);\n }\n if (emitEvent) {\n async_1.ObservableWrapper.callEmit(this._valueChanges, this._value);\n async_1.ObservableWrapper.callEmit(this._statusChanges, this._status);\n }\n if (lang_1.isPresent(this._parent) && !onlySelf) {\n this._parent.updateValueAndValidity({\n onlySelf: onlySelf,\n emitEvent: emitEvent\n });\n }\n };\n AbstractControl.prototype._runValidator = function() {\n return lang_1.isPresent(this.validator) ? this.validator(this) : null;\n };\n AbstractControl.prototype._runAsyncValidator = function(emitEvent) {\n var _this = this;\n if (lang_1.isPresent(this.asyncValidator)) {\n this._status = exports.PENDING;\n this._cancelExistingSubscription();\n var obs = toObservable(this.asyncValidator(this));\n this._asyncValidationSubscription = async_1.ObservableWrapper.subscribe(obs, function(res) {\n return _this.setErrors(res, {emitEvent: emitEvent});\n });\n }\n };\n AbstractControl.prototype._cancelExistingSubscription = function() {\n if (lang_1.isPresent(this._asyncValidationSubscription)) {\n async_1.ObservableWrapper.dispose(this._asyncValidationSubscription);\n }\n };\n AbstractControl.prototype.setErrors = function(errors, _a) {\n var emitEvent = (_a === void 0 ? {} : _a).emitEvent;\n emitEvent = lang_1.isPresent(emitEvent) ? emitEvent : true;\n this._errors = errors;\n this._status = this._calculateStatus();\n if (emitEvent) {\n async_1.ObservableWrapper.callEmit(this._statusChanges, this._status);\n }\n if (lang_1.isPresent(this._parent)) {\n this._parent._updateControlsErrors();\n }\n };\n AbstractControl.prototype.find = function(path) {\n return _find(this, path);\n };\n AbstractControl.prototype.getError = function(errorCode, path) {\n if (path === void 0) {\n path = null;\n }\n var control = lang_1.isPresent(path) && !collection_1.ListWrapper.isEmpty(path) ? this.find(path) : this;\n if (lang_1.isPresent(control) && lang_1.isPresent(control._errors)) {\n return collection_1.StringMapWrapper.get(control._errors, errorCode);\n } else {\n return null;\n }\n };\n AbstractControl.prototype.hasError = function(errorCode, path) {\n if (path === void 0) {\n path = null;\n }\n return lang_1.isPresent(this.getError(errorCode, path));\n };\n Object.defineProperty(AbstractControl.prototype, \"root\", {\n get: function() {\n var x = this;\n while (lang_1.isPresent(x._parent)) {\n x = x._parent;\n }\n return x;\n },\n enumerable: true,\n configurable: true\n });\n AbstractControl.prototype._updateControlsErrors = function() {\n this._status = this._calculateStatus();\n if (lang_1.isPresent(this._parent)) {\n this._parent._updateControlsErrors();\n }\n };\n AbstractControl.prototype._initObservables = function() {\n this._valueChanges = new async_1.EventEmitter();\n this._statusChanges = new async_1.EventEmitter();\n };\n AbstractControl.prototype._calculateStatus = function() {\n if (lang_1.isPresent(this._errors))\n return exports.INVALID;\n if (this._anyControlsHaveStatus(exports.PENDING))\n return exports.PENDING;\n if (this._anyControlsHaveStatus(exports.INVALID))\n return exports.INVALID;\n return exports.VALID;\n };\n return AbstractControl;\n}());\nexports.AbstractControl = AbstractControl;\nvar Control = (function(_super) {\n __extends(Control, _super);\n function Control(value, validator, asyncValidator) {\n if (value === void 0) {\n value = null;\n }\n if (validator === void 0) {\n validator = null;\n }\n if (asyncValidator === void 0) {\n asyncValidator = null;\n }\n _super.call(this, validator, asyncValidator);\n this._value = value;\n this.updateValueAndValidity({\n onlySelf: true,\n emitEvent: false\n });\n this._initObservables();\n }\n Control.prototype.updateValue = function(value, _a) {\n var _b = _a === void 0 ? {} : _a,\n onlySelf = _b.onlySelf,\n emitEvent = _b.emitEvent,\n emitModelToViewChange = _b.emitModelToViewChange;\n emitModelToViewChange = lang_1.isPresent(emitModelToViewChange) ? emitModelToViewChange : true;\n this._value = value;\n if (lang_1.isPresent(this._onChange) && emitModelToViewChange)\n this._onChange(this._value);\n this.updateValueAndValidity({\n onlySelf: onlySelf,\n emitEvent: emitEvent\n });\n };\n Control.prototype._updateValue = function() {};\n Control.prototype._anyControlsHaveStatus = function(status) {\n return false;\n };\n Control.prototype.registerOnChange = function(fn) {\n this._onChange = fn;\n };\n return Control;\n}(AbstractControl));\nexports.Control = Control;\nvar ControlGroup = (function(_super) {\n __extends(ControlGroup, _super);\n function ControlGroup(controls, optionals, validator, asyncValidator) {\n if (optionals === void 0) {\n optionals = null;\n }\n if (validator === void 0) {\n validator = null;\n }\n if (asyncValidator === void 0) {\n asyncValidator = null;\n }\n _super.call(this, validator, asyncValidator);\n this.controls = controls;\n this._optionals = lang_1.isPresent(optionals) ? optionals : {};\n this._initObservables();\n this._setParentForControls();\n this.updateValueAndValidity({\n onlySelf: true,\n emitEvent: false\n });\n }\n ControlGroup.prototype.addControl = function(name, control) {\n this.controls[name] = control;\n control.setParent(this);\n };\n ControlGroup.prototype.removeControl = function(name) {\n collection_1.StringMapWrapper.delete(this.controls, name);\n };\n ControlGroup.prototype.include = function(controlName) {\n collection_1.StringMapWrapper.set(this._optionals, controlName, true);\n this.updateValueAndValidity();\n };\n ControlGroup.prototype.exclude = function(controlName) {\n collection_1.StringMapWrapper.set(this._optionals, controlName, false);\n this.updateValueAndValidity();\n };\n ControlGroup.prototype.contains = function(controlName) {\n var c = collection_1.StringMapWrapper.contains(this.controls, controlName);\n return c && this._included(controlName);\n };\n ControlGroup.prototype._setParentForControls = function() {\n var _this = this;\n collection_1.StringMapWrapper.forEach(this.controls, function(control, name) {\n control.setParent(_this);\n });\n };\n ControlGroup.prototype._updateValue = function() {\n this._value = this._reduceValue();\n };\n ControlGroup.prototype._anyControlsHaveStatus = function(status) {\n var _this = this;\n var res = false;\n collection_1.StringMapWrapper.forEach(this.controls, function(control, name) {\n res = res || (_this.contains(name) && control.status == status);\n });\n return res;\n };\n ControlGroup.prototype._reduceValue = function() {\n return this._reduceChildren({}, function(acc, control, name) {\n acc[name] = control.value;\n return acc;\n });\n };\n ControlGroup.prototype._reduceChildren = function(initValue, fn) {\n var _this = this;\n var res = initValue;\n collection_1.StringMapWrapper.forEach(this.controls, function(control, name) {\n if (_this._included(name)) {\n res = fn(res, control, name);\n }\n });\n return res;\n };\n ControlGroup.prototype._included = function(controlName) {\n var isOptional = collection_1.StringMapWrapper.contains(this._optionals, controlName);\n return !isOptional || collection_1.StringMapWrapper.get(this._optionals, controlName);\n };\n return ControlGroup;\n}(AbstractControl));\nexports.ControlGroup = ControlGroup;\nvar ControlArray = (function(_super) {\n __extends(ControlArray, _super);\n function ControlArray(controls, validator, asyncValidator) {\n if (validator === void 0) {\n validator = null;\n }\n if (asyncValidator === void 0) {\n asyncValidator = null;\n }\n _super.call(this, validator, asyncValidator);\n this.controls = controls;\n this._initObservables();\n this._setParentForControls();\n this.updateValueAndValidity({\n onlySelf: true,\n emitEvent: false\n });\n }\n ControlArray.prototype.at = function(index) {\n return this.controls[index];\n };\n ControlArray.prototype.push = function(control) {\n this.controls.push(control);\n control.setParent(this);\n this.updateValueAndValidity();\n };\n ControlArray.prototype.insert = function(index, control) {\n collection_1.ListWrapper.insert(this.controls, index, control);\n control.setParent(this);\n this.updateValueAndValidity();\n };\n ControlArray.prototype.removeAt = function(index) {\n collection_1.ListWrapper.removeAt(this.controls, index);\n this.updateValueAndValidity();\n };\n Object.defineProperty(ControlArray.prototype, \"length\", {\n get: function() {\n return this.controls.length;\n },\n enumerable: true,\n configurable: true\n });\n ControlArray.prototype._updateValue = function() {\n this._value = this.controls.map(function(control) {\n return control.value;\n });\n };\n ControlArray.prototype._anyControlsHaveStatus = function(status) {\n return this.controls.some(function(c) {\n return c.status == status;\n });\n };\n ControlArray.prototype._setParentForControls = function() {\n var _this = this;\n this.controls.forEach(function(control) {\n control.setParent(_this);\n });\n };\n return ControlArray;\n}(AbstractControl));\nexports.ControlArray = ControlArray;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar modelModule = require('./model');\nvar FormBuilder = (function() {\n function FormBuilder() {}\n FormBuilder.prototype.group = function(controlsConfig, extra) {\n if (extra === void 0) {\n extra = null;\n }\n var controls = this._reduceControls(controlsConfig);\n var optionals = (lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"optionals\") : null);\n var validator = lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"validator\") : null;\n var asyncValidator = lang_1.isPresent(extra) ? collection_1.StringMapWrapper.get(extra, \"asyncValidator\") : null;\n return new modelModule.ControlGroup(controls, optionals, validator, asyncValidator);\n };\n FormBuilder.prototype.control = function(value, validator, asyncValidator) {\n if (validator === void 0) {\n validator = null;\n }\n if (asyncValidator === void 0) {\n asyncValidator = null;\n }\n return new modelModule.Control(value, validator, asyncValidator);\n };\n FormBuilder.prototype.array = function(controlsConfig, validator, asyncValidator) {\n var _this = this;\n if (validator === void 0) {\n validator = null;\n }\n if (asyncValidator === void 0) {\n asyncValidator = null;\n }\n var controls = controlsConfig.map(function(c) {\n return _this._createControl(c);\n });\n return new modelModule.ControlArray(controls, validator, asyncValidator);\n };\n FormBuilder.prototype._reduceControls = function(controlsConfig) {\n var _this = this;\n var controls = {};\n collection_1.StringMapWrapper.forEach(controlsConfig, function(controlConfig, controlName) {\n controls[controlName] = _this._createControl(controlConfig);\n });\n return controls;\n };\n FormBuilder.prototype._createControl = function(controlConfig) {\n if (controlConfig instanceof modelModule.Control || controlConfig instanceof modelModule.ControlGroup || controlConfig instanceof modelModule.ControlArray) {\n return controlConfig;\n } else if (lang_1.isArray(controlConfig)) {\n var value = controlConfig[0];\n var validator = controlConfig.length > 1 ? controlConfig[1] : null;\n var asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\n return this.control(value, validator, asyncValidator);\n } else {\n return this.control(controlConfig);\n }\n };\n FormBuilder.decorators = [{type: core_1.Injectable}];\n return FormBuilder;\n}());\nexports.FormBuilder = FormBuilder;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\n/**\n * Used to provide a {@link ControlValueAccessor} for form controls.\n *\n * See {@link DefaultValueAccessor} for how to implement one.\n */\nexports.NG_VALUE_ACCESSOR = \n/*@ts2dart_const*/ new core_1.OpaqueToken(\"NgValueAccessor\");\n//# sourceMappingURL=control_value_accessor.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar AbstractControlDirective = (function() {\n function AbstractControlDirective() {}\n Object.defineProperty(AbstractControlDirective.prototype, \"control\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"value\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.value : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"valid\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.valid : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"errors\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.errors : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"pristine\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.pristine : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"dirty\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.dirty : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"touched\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.touched : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"untouched\", {\n get: function() {\n return lang_1.isPresent(this.control) ? this.control.untouched : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"path\", {\n get: function() {\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return AbstractControlDirective;\n}());\nexports.AbstractControlDirective = AbstractControlDirective;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar exceptions_1 = require('../../facade/exceptions');\nvar abstract_control_directive_1 = require('./abstract_control_directive');\nvar NgControl = (function(_super) {\n __extends(NgControl, _super);\n function NgControl() {\n _super.apply(this, arguments);\n this.name = null;\n this.valueAccessor = null;\n }\n Object.defineProperty(NgControl.prototype, \"validator\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControl.prototype, \"asyncValidator\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return NgControl;\n}(abstract_control_directive_1.AbstractControlDirective));\nexports.NgControl = NgControl;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../../facade/lang');\nvar collection_1 = require('../../facade/collection');\nvar control_value_accessor_1 = require('./control_value_accessor');\nvar ng_control_1 = require('./ng_control');\nexports.RADIO_VALUE_ACCESSOR = {\n provide: control_value_accessor_1.NG_VALUE_ACCESSOR,\n useExisting: core_1.forwardRef(function() {\n return RadioControlValueAccessor;\n }),\n multi: true\n};\nvar RadioControlRegistry = (function() {\n function RadioControlRegistry() {\n this._accessors = [];\n }\n RadioControlRegistry.prototype.add = function(control, accessor) {\n this._accessors.push([control, accessor]);\n };\n RadioControlRegistry.prototype.remove = function(accessor) {\n var indexToRemove = -1;\n for (var i = 0; i < this._accessors.length; ++i) {\n if (this._accessors[i][1] === accessor) {\n indexToRemove = i;\n }\n }\n collection_1.ListWrapper.removeAt(this._accessors, indexToRemove);\n };\n RadioControlRegistry.prototype.select = function(accessor) {\n this._accessors.forEach(function(c) {\n if (c[0].control.root === accessor._control.control.root && c[1] !== accessor) {\n c[1].fireUncheck();\n }\n });\n };\n RadioControlRegistry.decorators = [{type: core_1.Injectable}];\n return RadioControlRegistry;\n}());\nexports.RadioControlRegistry = RadioControlRegistry;\nvar RadioButtonState = (function() {\n function RadioButtonState(checked, value) {\n this.checked = checked;\n this.value = value;\n }\n return RadioButtonState;\n}());\nexports.RadioButtonState = RadioButtonState;\nvar RadioControlValueAccessor = (function() {\n function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this._registry = _registry;\n this._injector = _injector;\n this.onChange = function() {};\n this.onTouched = function() {};\n }\n RadioControlValueAccessor.prototype.ngOnInit = function() {\n this._control = this._injector.get(ng_control_1.NgControl);\n this._registry.add(this._control, this);\n };\n RadioControlValueAccessor.prototype.ngOnDestroy = function() {\n this._registry.remove(this);\n };\n RadioControlValueAccessor.prototype.writeValue = function(value) {\n this._state = value;\n if (lang_1.isPresent(value) && value.checked) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', true);\n }\n };\n RadioControlValueAccessor.prototype.registerOnChange = function(fn) {\n var _this = this;\n this._fn = fn;\n this.onChange = function() {\n fn(new RadioButtonState(true, _this._state.value));\n _this._registry.select(_this);\n };\n };\n RadioControlValueAccessor.prototype.fireUncheck = function() {\n this._fn(new RadioButtonState(false, this._state.value));\n };\n RadioControlValueAccessor.prototype.registerOnTouched = function(fn) {\n this.onTouched = fn;\n };\n RadioControlValueAccessor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: 'input[type=radio][ngControl],input[type=radio][ngFormControl],input[type=radio][ngModel]',\n host: {\n '(change)': 'onChange()',\n '(blur)': 'onTouched()'\n },\n providers: [exports.RADIO_VALUE_ACCESSOR]\n }]\n }];\n RadioControlValueAccessor.ctorParameters = [{type: core_1.Renderer}, {type: core_1.ElementRef}, {type: RadioControlRegistry}, {type: core_1.Injector}];\n RadioControlValueAccessor.propDecorators = {'name': [{type: core_1.Input}]};\n return RadioControlValueAccessor;\n}());\nexports.RadioControlValueAccessor = RadioControlValueAccessor;\n","/* */ \n\"use strict\";\nvar model_1 = require('./forms/model');\nexports.AbstractControl = model_1.AbstractControl;\nexports.Control = model_1.Control;\nexports.ControlGroup = model_1.ControlGroup;\nexports.ControlArray = model_1.ControlArray;\nvar abstract_control_directive_1 = require('./forms/directives/abstract_control_directive');\nexports.AbstractControlDirective = abstract_control_directive_1.AbstractControlDirective;\nvar control_container_1 = require('./forms/directives/control_container');\nexports.ControlContainer = control_container_1.ControlContainer;\nvar ng_control_name_1 = require('./forms/directives/ng_control_name');\nexports.NgControlName = ng_control_name_1.NgControlName;\nvar ng_form_control_1 = require('./forms/directives/ng_form_control');\nexports.NgFormControl = ng_form_control_1.NgFormControl;\nvar ng_model_1 = require('./forms/directives/ng_model');\nexports.NgModel = ng_model_1.NgModel;\nvar ng_control_1 = require('./forms/directives/ng_control');\nexports.NgControl = ng_control_1.NgControl;\nvar ng_control_group_1 = require('./forms/directives/ng_control_group');\nexports.NgControlGroup = ng_control_group_1.NgControlGroup;\nvar ng_form_model_1 = require('./forms/directives/ng_form_model');\nexports.NgFormModel = ng_form_model_1.NgFormModel;\nvar ng_form_1 = require('./forms/directives/ng_form');\nexports.NgForm = ng_form_1.NgForm;\nvar control_value_accessor_1 = require('./forms/directives/control_value_accessor');\nexports.NG_VALUE_ACCESSOR = control_value_accessor_1.NG_VALUE_ACCESSOR;\nvar default_value_accessor_1 = require('./forms/directives/default_value_accessor');\nexports.DefaultValueAccessor = default_value_accessor_1.DefaultValueAccessor;\nvar ng_control_status_1 = require('./forms/directives/ng_control_status');\nexports.NgControlStatus = ng_control_status_1.NgControlStatus;\nvar checkbox_value_accessor_1 = require('./forms/directives/checkbox_value_accessor');\nexports.CheckboxControlValueAccessor = checkbox_value_accessor_1.CheckboxControlValueAccessor;\nvar select_control_value_accessor_1 = require('./forms/directives/select_control_value_accessor');\nexports.NgSelectOption = select_control_value_accessor_1.NgSelectOption;\nexports.SelectControlValueAccessor = select_control_value_accessor_1.SelectControlValueAccessor;\nvar directives_1 = require('./forms/directives');\nexports.FORM_DIRECTIVES = directives_1.FORM_DIRECTIVES;\nexports.RadioButtonState = directives_1.RadioButtonState;\nvar validators_1 = require('./forms/validators');\nexports.NG_VALIDATORS = validators_1.NG_VALIDATORS;\nexports.NG_ASYNC_VALIDATORS = validators_1.NG_ASYNC_VALIDATORS;\nexports.Validators = validators_1.Validators;\nvar validators_2 = require('./forms/directives/validators');\nexports.RequiredValidator = validators_2.RequiredValidator;\nexports.MinLengthValidator = validators_2.MinLengthValidator;\nexports.MaxLengthValidator = validators_2.MaxLengthValidator;\nexports.PatternValidator = validators_2.PatternValidator;\nvar form_builder_1 = require('./forms/form_builder');\nexports.FormBuilder = form_builder_1.FormBuilder;\nvar form_builder_2 = require('./forms/form_builder');\nvar radio_control_value_accessor_1 = require('./forms/directives/radio_control_value_accessor');\nexports.FORM_PROVIDERS = [form_builder_2.FormBuilder, radio_control_value_accessor_1.RadioControlRegistry];\nexports.FORM_BINDINGS = exports.FORM_PROVIDERS;\n","/* */ \n\"format cjs\";\n\"use strict\";\n//# sourceMappingURL=observable_list_diff.js.map","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar NgClass = (function() {\n function NgClass(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this._initialClasses = [];\n }\n Object.defineProperty(NgClass.prototype, \"initialClasses\", {\n set: function(v) {\n this._applyInitialClasses(true);\n this._initialClasses = lang_1.isPresent(v) && lang_1.isString(v) ? v.split(' ') : [];\n this._applyInitialClasses(false);\n this._applyClasses(this._rawClass, false);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgClass.prototype, \"rawClass\", {\n set: function(v) {\n this._cleanupClasses(this._rawClass);\n if (lang_1.isString(v)) {\n v = v.split(' ');\n }\n this._rawClass = v;\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n if (lang_1.isPresent(v)) {\n if (collection_1.isListLikeIterable(v)) {\n this._iterableDiffer = this._iterableDiffers.find(v).create(null);\n } else {\n this._keyValueDiffer = this._keyValueDiffers.find(v).create(null);\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n NgClass.prototype.ngDoCheck = function() {\n if (lang_1.isPresent(this._iterableDiffer)) {\n var changes = this._iterableDiffer.diff(this._rawClass);\n if (lang_1.isPresent(changes)) {\n this._applyIterableChanges(changes);\n }\n }\n if (lang_1.isPresent(this._keyValueDiffer)) {\n var changes = this._keyValueDiffer.diff(this._rawClass);\n if (lang_1.isPresent(changes)) {\n this._applyKeyValueChanges(changes);\n }\n }\n };\n NgClass.prototype.ngOnDestroy = function() {\n this._cleanupClasses(this._rawClass);\n };\n NgClass.prototype._cleanupClasses = function(rawClassVal) {\n this._applyClasses(rawClassVal, true);\n this._applyInitialClasses(false);\n };\n NgClass.prototype._applyKeyValueChanges = function(changes) {\n var _this = this;\n changes.forEachAddedItem(function(record) {\n _this._toggleClass(record.key, record.currentValue);\n });\n changes.forEachChangedItem(function(record) {\n _this._toggleClass(record.key, record.currentValue);\n });\n changes.forEachRemovedItem(function(record) {\n if (record.previousValue) {\n _this._toggleClass(record.key, false);\n }\n });\n };\n NgClass.prototype._applyIterableChanges = function(changes) {\n var _this = this;\n changes.forEachAddedItem(function(record) {\n _this._toggleClass(record.item, true);\n });\n changes.forEachRemovedItem(function(record) {\n _this._toggleClass(record.item, false);\n });\n };\n NgClass.prototype._applyInitialClasses = function(isCleanup) {\n var _this = this;\n this._initialClasses.forEach(function(className) {\n return _this._toggleClass(className, !isCleanup);\n });\n };\n NgClass.prototype._applyClasses = function(rawClassVal, isCleanup) {\n var _this = this;\n if (lang_1.isPresent(rawClassVal)) {\n if (lang_1.isArray(rawClassVal)) {\n rawClassVal.forEach(function(className) {\n return _this._toggleClass(className, !isCleanup);\n });\n } else if (rawClassVal instanceof Set) {\n rawClassVal.forEach(function(className) {\n return _this._toggleClass(className, !isCleanup);\n });\n } else {\n collection_1.StringMapWrapper.forEach(rawClassVal, function(expVal, className) {\n if (lang_1.isPresent(expVal))\n _this._toggleClass(className, !isCleanup);\n });\n }\n }\n };\n NgClass.prototype._toggleClass = function(className, enabled) {\n className = className.trim();\n if (className.length > 0) {\n if (className.indexOf(' ') > -1) {\n var classes = className.split(/\\s+/g);\n for (var i = 0,\n len = classes.length; i < len; i++) {\n this._renderer.setElementClass(this._ngEl.nativeElement, classes[i], enabled);\n }\n } else {\n this._renderer.setElementClass(this._ngEl.nativeElement, className, enabled);\n }\n }\n };\n NgClass.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngClass]',\n inputs: ['rawClass: ngClass', 'initialClasses: class']\n }]\n }];\n NgClass.ctorParameters = [{type: core_1.IterableDiffers}, {type: core_1.KeyValueDiffers}, {type: core_1.ElementRef}, {type: core_1.Renderer}];\n return NgClass;\n}());\nexports.NgClass = NgClass;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar NgForRow = (function() {\n function NgForRow($implicit, index, count) {\n this.$implicit = $implicit;\n this.index = index;\n this.count = count;\n }\n Object.defineProperty(NgForRow.prototype, \"first\", {\n get: function() {\n return this.index === 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"last\", {\n get: function() {\n return this.index === this.count - 1;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"even\", {\n get: function() {\n return this.index % 2 === 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"odd\", {\n get: function() {\n return !this.even;\n },\n enumerable: true,\n configurable: true\n });\n return NgForRow;\n}());\nexports.NgForRow = NgForRow;\nvar NgFor = (function() {\n function NgFor(_viewContainer, _templateRef, _iterableDiffers, _cdr) {\n this._viewContainer = _viewContainer;\n this._templateRef = _templateRef;\n this._iterableDiffers = _iterableDiffers;\n this._cdr = _cdr;\n }\n Object.defineProperty(NgFor.prototype, \"ngForOf\", {\n set: function(value) {\n this._ngForOf = value;\n if (lang_1.isBlank(this._differ) && lang_1.isPresent(value)) {\n try {\n this._differ = this._iterableDiffers.find(value).create(this._cdr, this._ngForTrackBy);\n } catch (e) {\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + value + \"' of type '\" + lang_1.getTypeNameForDebugging(value) + \"'. NgFor only supports binding to Iterables such as Arrays.\");\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFor.prototype, \"ngForTemplate\", {\n set: function(value) {\n if (lang_1.isPresent(value)) {\n this._templateRef = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgFor.prototype, \"ngForTrackBy\", {\n set: function(value) {\n this._ngForTrackBy = value;\n },\n enumerable: true,\n configurable: true\n });\n NgFor.prototype.ngDoCheck = function() {\n if (lang_1.isPresent(this._differ)) {\n var changes = this._differ.diff(this._ngForOf);\n if (lang_1.isPresent(changes))\n this._applyChanges(changes);\n }\n };\n NgFor.prototype._applyChanges = function(changes) {\n var _this = this;\n var recordViewTuples = [];\n changes.forEachRemovedItem(function(removedRecord) {\n return recordViewTuples.push(new RecordViewTuple(removedRecord, null));\n });\n changes.forEachMovedItem(function(movedRecord) {\n return recordViewTuples.push(new RecordViewTuple(movedRecord, null));\n });\n var insertTuples = this._bulkRemove(recordViewTuples);\n changes.forEachAddedItem(function(addedRecord) {\n return insertTuples.push(new RecordViewTuple(addedRecord, null));\n });\n this._bulkInsert(insertTuples);\n for (var i = 0; i < insertTuples.length; i++) {\n this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n }\n for (var i = 0,\n ilen = this._viewContainer.length; i < ilen; i++) {\n var viewRef = this._viewContainer.get(i);\n viewRef.context.index = i;\n viewRef.context.count = ilen;\n }\n changes.forEachIdentityChange(function(record) {\n var viewRef = _this._viewContainer.get(record.currentIndex);\n viewRef.context.$implicit = record.item;\n });\n };\n NgFor.prototype._perViewChange = function(view, record) {\n view.context.$implicit = record.item;\n };\n NgFor.prototype._bulkRemove = function(tuples) {\n tuples.sort(function(a, b) {\n return a.record.previousIndex - b.record.previousIndex;\n });\n var movedTuples = [];\n for (var i = tuples.length - 1; i >= 0; i--) {\n var tuple = tuples[i];\n if (lang_1.isPresent(tuple.record.currentIndex)) {\n tuple.view = this._viewContainer.detach(tuple.record.previousIndex);\n movedTuples.push(tuple);\n } else {\n this._viewContainer.remove(tuple.record.previousIndex);\n }\n }\n return movedTuples;\n };\n NgFor.prototype._bulkInsert = function(tuples) {\n tuples.sort(function(a, b) {\n return a.record.currentIndex - b.record.currentIndex;\n });\n for (var i = 0; i < tuples.length; i++) {\n var tuple = tuples[i];\n if (lang_1.isPresent(tuple.view)) {\n this._viewContainer.insert(tuple.view, tuple.record.currentIndex);\n } else {\n tuple.view = this._viewContainer.createEmbeddedView(this._templateRef, new NgForRow(null, null, null), tuple.record.currentIndex);\n }\n }\n return tuples;\n };\n NgFor.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngFor][ngForOf]',\n inputs: ['ngForTrackBy', 'ngForOf', 'ngForTemplate']\n }]\n }];\n NgFor.ctorParameters = [{type: core_1.ViewContainerRef}, {type: core_1.TemplateRef}, {type: core_1.IterableDiffers}, {type: core_1.ChangeDetectorRef}];\n return NgFor;\n}());\nexports.NgFor = NgFor;\nvar RecordViewTuple = (function() {\n function RecordViewTuple(record, view) {\n this.record = record;\n this.view = view;\n }\n return RecordViewTuple;\n}());\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar NgIf = (function() {\n function NgIf(_viewContainer, _templateRef) {\n this._viewContainer = _viewContainer;\n this._templateRef = _templateRef;\n this._prevCondition = null;\n }\n Object.defineProperty(NgIf.prototype, \"ngIf\", {\n set: function(newCondition) {\n if (newCondition && (lang_1.isBlank(this._prevCondition) || !this._prevCondition)) {\n this._prevCondition = true;\n this._viewContainer.createEmbeddedView(this._templateRef);\n } else if (!newCondition && (lang_1.isBlank(this._prevCondition) || this._prevCondition)) {\n this._prevCondition = false;\n this._viewContainer.clear();\n }\n },\n enumerable: true,\n configurable: true\n });\n NgIf.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngIf]',\n inputs: ['ngIf']\n }]\n }];\n NgIf.ctorParameters = [{type: core_1.ViewContainerRef}, {type: core_1.TemplateRef}];\n return NgIf;\n}());\nexports.NgIf = NgIf;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar NgTemplateOutlet = (function() {\n function NgTemplateOutlet(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n }\n Object.defineProperty(NgTemplateOutlet.prototype, \"ngTemplateOutlet\", {\n set: function(templateRef) {\n if (lang_1.isPresent(this._insertedViewRef)) {\n this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._insertedViewRef));\n }\n if (lang_1.isPresent(templateRef)) {\n this._insertedViewRef = this._viewContainerRef.createEmbeddedView(templateRef);\n }\n },\n enumerable: true,\n configurable: true\n });\n NgTemplateOutlet.decorators = [{\n type: core_1.Directive,\n args: [{selector: '[ngTemplateOutlet]'}]\n }];\n NgTemplateOutlet.ctorParameters = [{type: core_1.ViewContainerRef}];\n NgTemplateOutlet.propDecorators = {'ngTemplateOutlet': [{type: core_1.Input}]};\n return NgTemplateOutlet;\n}());\nexports.NgTemplateOutlet = NgTemplateOutlet;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar NgStyle = (function() {\n function NgStyle(_differs, _ngEl, _renderer) {\n this._differs = _differs;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n }\n Object.defineProperty(NgStyle.prototype, \"rawStyle\", {\n set: function(v) {\n this._rawStyle = v;\n if (lang_1.isBlank(this._differ) && lang_1.isPresent(v)) {\n this._differ = this._differs.find(this._rawStyle).create(null);\n }\n },\n enumerable: true,\n configurable: true\n });\n NgStyle.prototype.ngDoCheck = function() {\n if (lang_1.isPresent(this._differ)) {\n var changes = this._differ.diff(this._rawStyle);\n if (lang_1.isPresent(changes)) {\n this._applyChanges(changes);\n }\n }\n };\n NgStyle.prototype._applyChanges = function(changes) {\n var _this = this;\n changes.forEachAddedItem(function(record) {\n _this._setStyle(record.key, record.currentValue);\n });\n changes.forEachChangedItem(function(record) {\n _this._setStyle(record.key, record.currentValue);\n });\n changes.forEachRemovedItem(function(record) {\n _this._setStyle(record.key, null);\n });\n };\n NgStyle.prototype._setStyle = function(name, val) {\n this._renderer.setElementStyle(this._ngEl.nativeElement, name, val);\n };\n NgStyle.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngStyle]',\n inputs: ['rawStyle: ngStyle']\n }]\n }];\n NgStyle.ctorParameters = [{type: core_1.KeyValueDiffers}, {type: core_1.ElementRef}, {type: core_1.Renderer}];\n return NgStyle;\n}());\nexports.NgStyle = NgStyle;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar _WHEN_DEFAULT = new Object();\nvar SwitchView = (function() {\n function SwitchView(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n }\n SwitchView.prototype.create = function() {\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n };\n SwitchView.prototype.destroy = function() {\n this._viewContainerRef.clear();\n };\n return SwitchView;\n}());\nexports.SwitchView = SwitchView;\nvar NgSwitch = (function() {\n function NgSwitch() {\n this._useDefault = false;\n this._valueViews = new collection_1.Map();\n this._activeViews = [];\n }\n Object.defineProperty(NgSwitch.prototype, \"ngSwitch\", {\n set: function(value) {\n this._emptyAllActiveViews();\n this._useDefault = false;\n var views = this._valueViews.get(value);\n if (lang_1.isBlank(views)) {\n this._useDefault = true;\n views = lang_1.normalizeBlank(this._valueViews.get(_WHEN_DEFAULT));\n }\n this._activateViews(views);\n this._switchValue = value;\n },\n enumerable: true,\n configurable: true\n });\n NgSwitch.prototype._onWhenValueChanged = function(oldWhen, newWhen, view) {\n this._deregisterView(oldWhen, view);\n this._registerView(newWhen, view);\n if (oldWhen === this._switchValue) {\n view.destroy();\n collection_1.ListWrapper.remove(this._activeViews, view);\n } else if (newWhen === this._switchValue) {\n if (this._useDefault) {\n this._useDefault = false;\n this._emptyAllActiveViews();\n }\n view.create();\n this._activeViews.push(view);\n }\n if (this._activeViews.length === 0 && !this._useDefault) {\n this._useDefault = true;\n this._activateViews(this._valueViews.get(_WHEN_DEFAULT));\n }\n };\n NgSwitch.prototype._emptyAllActiveViews = function() {\n var activeContainers = this._activeViews;\n for (var i = 0; i < activeContainers.length; i++) {\n activeContainers[i].destroy();\n }\n this._activeViews = [];\n };\n NgSwitch.prototype._activateViews = function(views) {\n if (lang_1.isPresent(views)) {\n for (var i = 0; i < views.length; i++) {\n views[i].create();\n }\n this._activeViews = views;\n }\n };\n NgSwitch.prototype._registerView = function(value, view) {\n var views = this._valueViews.get(value);\n if (lang_1.isBlank(views)) {\n views = [];\n this._valueViews.set(value, views);\n }\n views.push(view);\n };\n NgSwitch.prototype._deregisterView = function(value, view) {\n if (value === _WHEN_DEFAULT)\n return;\n var views = this._valueViews.get(value);\n if (views.length == 1) {\n this._valueViews.delete(value);\n } else {\n collection_1.ListWrapper.remove(views, view);\n }\n };\n NgSwitch.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngSwitch]',\n inputs: ['ngSwitch']\n }]\n }];\n return NgSwitch;\n}());\nexports.NgSwitch = NgSwitch;\nvar NgSwitchWhen = (function() {\n function NgSwitchWhen(viewContainer, templateRef, ngSwitch) {\n this._value = _WHEN_DEFAULT;\n this._switch = ngSwitch;\n this._view = new SwitchView(viewContainer, templateRef);\n }\n Object.defineProperty(NgSwitchWhen.prototype, \"ngSwitchWhen\", {\n set: function(value) {\n this._switch._onWhenValueChanged(this._value, value, this._view);\n this._value = value;\n },\n enumerable: true,\n configurable: true\n });\n NgSwitchWhen.decorators = [{\n type: core_1.Directive,\n args: [{\n selector: '[ngSwitchWhen]',\n inputs: ['ngSwitchWhen']\n }]\n }];\n NgSwitchWhen.ctorParameters = [{type: core_1.ViewContainerRef}, {type: core_1.TemplateRef}, {\n type: NgSwitch,\n decorators: [{type: core_1.Host}]\n }];\n return NgSwitchWhen;\n}());\nexports.NgSwitchWhen = NgSwitchWhen;\nvar NgSwitchDefault = (function() {\n function NgSwitchDefault(viewContainer, templateRef, sswitch) {\n sswitch._registerView(_WHEN_DEFAULT, new SwitchView(viewContainer, templateRef));\n }\n NgSwitchDefault.decorators = [{\n type: core_1.Directive,\n args: [{selector: '[ngSwitchDefault]'}]\n }];\n NgSwitchDefault.ctorParameters = [{type: core_1.ViewContainerRef}, {type: core_1.TemplateRef}, {\n type: NgSwitch,\n decorators: [{type: core_1.Host}]\n }];\n return NgSwitchDefault;\n}());\nexports.NgSwitchDefault = NgSwitchDefault;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar ng_switch_1 = require('./ng_switch');\nvar _CATEGORY_DEFAULT = 'other';\nvar NgLocalization = (function() {\n function NgLocalization() {}\n return NgLocalization;\n}());\nexports.NgLocalization = NgLocalization;\nvar NgPluralCase = (function() {\n function NgPluralCase(value, template, viewContainer) {\n this.value = value;\n this._view = new ng_switch_1.SwitchView(viewContainer, template);\n }\n NgPluralCase.decorators = [{\n type: core_1.Directive,\n args: [{selector: '[ngPluralCase]'}]\n }];\n NgPluralCase.ctorParameters = [{\n type: undefined,\n decorators: [{\n type: core_1.Attribute,\n args: ['ngPluralCase']\n }]\n }, {type: core_1.TemplateRef}, {type: core_1.ViewContainerRef}];\n return NgPluralCase;\n}());\nexports.NgPluralCase = NgPluralCase;\nvar NgPlural = (function() {\n function NgPlural(_localization) {\n this._localization = _localization;\n this._caseViews = new collection_1.Map();\n this.cases = null;\n }\n Object.defineProperty(NgPlural.prototype, \"ngPlural\", {\n set: function(value) {\n this._switchValue = value;\n this._updateView();\n },\n enumerable: true,\n configurable: true\n });\n NgPlural.prototype.ngAfterContentInit = function() {\n var _this = this;\n this.cases.forEach(function(pluralCase) {\n _this._caseViews.set(_this._formatValue(pluralCase), pluralCase._view);\n });\n this._updateView();\n };\n NgPlural.prototype._updateView = function() {\n this._clearViews();\n var view = this._caseViews.get(this._switchValue);\n if (!lang_1.isPresent(view))\n view = this._getCategoryView(this._switchValue);\n this._activateView(view);\n };\n NgPlural.prototype._clearViews = function() {\n if (lang_1.isPresent(this._activeView))\n this._activeView.destroy();\n };\n NgPlural.prototype._activateView = function(view) {\n if (!lang_1.isPresent(view))\n return;\n this._activeView = view;\n this._activeView.create();\n };\n NgPlural.prototype._getCategoryView = function(value) {\n var category = this._localization.getPluralCategory(value);\n var categoryView = this._caseViews.get(category);\n return lang_1.isPresent(categoryView) ? categoryView : this._caseViews.get(_CATEGORY_DEFAULT);\n };\n NgPlural.prototype._isValueView = function(pluralCase) {\n return pluralCase.value[0] === \"=\";\n };\n NgPlural.prototype._formatValue = function(pluralCase) {\n return this._isValueView(pluralCase) ? this._stripValue(pluralCase.value) : pluralCase.value;\n };\n NgPlural.prototype._stripValue = function(value) {\n return lang_1.NumberWrapper.parseInt(value.substring(1), 10);\n };\n NgPlural.decorators = [{\n type: core_1.Directive,\n args: [{selector: '[ngPlural]'}]\n }];\n NgPlural.ctorParameters = [{type: NgLocalization}];\n NgPlural.propDecorators = {\n 'cases': [{\n type: core_1.ContentChildren,\n args: [NgPluralCase]\n }],\n 'ngPlural': [{type: core_1.Input}]\n };\n return NgPlural;\n}());\nexports.NgPlural = NgPlural;\n","/* */ \n\"use strict\";\nvar ng_class_1 = require('./ng_class');\nvar ng_for_1 = require('./ng_for');\nvar ng_if_1 = require('./ng_if');\nvar ng_template_outlet_1 = require('./ng_template_outlet');\nvar ng_style_1 = require('./ng_style');\nvar ng_switch_1 = require('./ng_switch');\nvar ng_plural_1 = require('./ng_plural');\nexports.CORE_DIRECTIVES = [ng_class_1.NgClass, ng_for_1.NgFor, ng_if_1.NgIf, ng_template_outlet_1.NgTemplateOutlet, ng_style_1.NgStyle, ng_switch_1.NgSwitch, ng_switch_1.NgSwitchWhen, ng_switch_1.NgSwitchDefault, ng_plural_1.NgPlural, ng_plural_1.NgPluralCase];\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\nvar ng_class_1 = require('./directives/ng_class');\nexports.NgClass = ng_class_1.NgClass;\nvar ng_for_1 = require('./directives/ng_for');\nexports.NgFor = ng_for_1.NgFor;\nvar ng_if_1 = require('./directives/ng_if');\nexports.NgIf = ng_if_1.NgIf;\nvar ng_template_outlet_1 = require('./directives/ng_template_outlet');\nexports.NgTemplateOutlet = ng_template_outlet_1.NgTemplateOutlet;\nvar ng_style_1 = require('./directives/ng_style');\nexports.NgStyle = ng_style_1.NgStyle;\nvar ng_switch_1 = require('./directives/ng_switch');\nexports.NgSwitch = ng_switch_1.NgSwitch;\nexports.NgSwitchWhen = ng_switch_1.NgSwitchWhen;\nexports.NgSwitchDefault = ng_switch_1.NgSwitchDefault;\nvar ng_plural_1 = require('./directives/ng_plural');\nexports.NgPlural = ng_plural_1.NgPlural;\nexports.NgPluralCase = ng_plural_1.NgPluralCase;\nexports.NgLocalization = ng_plural_1.NgLocalization;\n__export(require('./directives/observable_list_diff'));\nvar core_directives_1 = require('./directives/core_directives');\nexports.CORE_DIRECTIVES = core_directives_1.CORE_DIRECTIVES;\n","/* */ \n\"use strict\";\nvar forms_1 = require('./forms');\nvar directives_1 = require('./directives');\nexports.COMMON_DIRECTIVES = [directives_1.CORE_DIRECTIVES, forms_1.FORM_DIRECTIVES];\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar location_strategy_1 = require('./location_strategy');\nvar location_1 = require('./location');\nvar platform_location_1 = require('./platform_location');\nvar HashLocationStrategy = (function(_super) {\n __extends(HashLocationStrategy, _super);\n function HashLocationStrategy(_platformLocation, _baseHref) {\n _super.call(this);\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n if (lang_1.isPresent(_baseHref)) {\n this._baseHref = _baseHref;\n }\n }\n HashLocationStrategy.prototype.onPopState = function(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n };\n HashLocationStrategy.prototype.getBaseHref = function() {\n return this._baseHref;\n };\n HashLocationStrategy.prototype.path = function() {\n var path = this._platformLocation.hash;\n if (!lang_1.isPresent(path))\n path = '#';\n return (path.length > 0 ? path.substring(1) : path);\n };\n HashLocationStrategy.prototype.prepareExternalUrl = function(internal) {\n var url = location_1.Location.joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n };\n HashLocationStrategy.prototype.pushState = function(state, title, path, queryParams) {\n var url = this.prepareExternalUrl(path + location_1.Location.normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n };\n HashLocationStrategy.prototype.replaceState = function(state, title, path, queryParams) {\n var url = this.prepareExternalUrl(path + location_1.Location.normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n };\n HashLocationStrategy.prototype.forward = function() {\n this._platformLocation.forward();\n };\n HashLocationStrategy.prototype.back = function() {\n this._platformLocation.back();\n };\n HashLocationStrategy.decorators = [{type: core_1.Injectable}];\n HashLocationStrategy.ctorParameters = [{type: platform_location_1.PlatformLocation}, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {\n type: core_1.Inject,\n args: [location_strategy_1.APP_BASE_HREF]\n }]\n }];\n return HashLocationStrategy;\n}(location_strategy_1.LocationStrategy));\nexports.HashLocationStrategy = HashLocationStrategy;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n* A base class for the WrappedException that can be used to identify\n* a WrappedException from ExceptionHandler without adding circular\n* dependency.\n*/\nvar BaseWrappedException = (function (_super) {\n __extends(BaseWrappedException, _super);\n function BaseWrappedException(message) {\n _super.call(this, message);\n }\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n return BaseWrappedException;\n}(Error));\nexports.BaseWrappedException = BaseWrappedException;\n//# sourceMappingURL=base_wrapped_exception.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Map = lang_1.global.Map;\nexports.Set = lang_1.global.Set;\nvar createMapFromPairs = (function() {\n try {\n if (new exports.Map([[1, 2]]).size === 1) {\n return function createMapFromPairs(pairs) {\n return new exports.Map(pairs);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromPairs(pairs) {\n var map = new exports.Map();\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n map.set(pair[0], pair[1]);\n }\n return map;\n };\n})();\nvar createMapFromMap = (function() {\n try {\n if (new exports.Map(new exports.Map())) {\n return function createMapFromMap(m) {\n return new exports.Map(m);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromMap(m) {\n var map = new exports.Map();\n m.forEach(function(v, k) {\n map.set(k, v);\n });\n return map;\n };\n})();\nvar _clearValues = (function() {\n if ((new exports.Map()).keys().next) {\n return function _clearValues(m) {\n var keyIterator = m.keys();\n var k;\n while (!((k = keyIterator.next()).done)) {\n m.set(k.value, null);\n }\n };\n } else {\n return function _clearValuesWithForeEach(m) {\n m.forEach(function(v, k) {\n m.set(k, null);\n });\n };\n }\n})();\nvar _arrayFromMap = (function() {\n try {\n if ((new exports.Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n } catch (e) {}\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = ListWrapper.createFixedSize(m.size),\n i = 0;\n m.forEach(function(v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function() {\n function MapWrapper() {}\n MapWrapper.clone = function(m) {\n return createMapFromMap(m);\n };\n MapWrapper.createFromStringMap = function(stringMap) {\n var result = new exports.Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.toStringMap = function(m) {\n var r = {};\n m.forEach(function(v, k) {\n return r[k] = v;\n });\n return r;\n };\n MapWrapper.createFromPairs = function(pairs) {\n return createMapFromPairs(pairs);\n };\n MapWrapper.clearValues = function(m) {\n _clearValues(m);\n };\n MapWrapper.iterable = function(m) {\n return m;\n };\n MapWrapper.keys = function(m) {\n return _arrayFromMap(m, false);\n };\n MapWrapper.values = function(m) {\n return _arrayFromMap(m, true);\n };\n return MapWrapper;\n}());\nexports.MapWrapper = MapWrapper;\nvar StringMapWrapper = (function() {\n function StringMapWrapper() {}\n StringMapWrapper.create = function() {\n return {};\n };\n StringMapWrapper.contains = function(map, key) {\n return map.hasOwnProperty(key);\n };\n StringMapWrapper.get = function(map, key) {\n return map.hasOwnProperty(key) ? map[key] : undefined;\n };\n StringMapWrapper.set = function(map, key, value) {\n map[key] = value;\n };\n StringMapWrapper.keys = function(map) {\n return Object.keys(map);\n };\n StringMapWrapper.values = function(map) {\n return Object.keys(map).reduce(function(r, a) {\n r.push(map[a]);\n return r;\n }, []);\n };\n StringMapWrapper.isEmpty = function(map) {\n for (var prop in map) {\n return false;\n }\n return true;\n };\n StringMapWrapper.delete = function(map, key) {\n delete map[key];\n };\n StringMapWrapper.forEach = function(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n };\n StringMapWrapper.merge = function(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n };\n StringMapWrapper.equals = function(m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nexports.StringMapWrapper = StringMapWrapper;\nvar ListWrapper = (function() {\n function ListWrapper() {}\n ListWrapper.createFixedSize = function(size) {\n return new Array(size);\n };\n ListWrapper.createGrowableSize = function(size) {\n return new Array(size);\n };\n ListWrapper.clone = function(array) {\n return array.slice(0);\n };\n ListWrapper.forEachWithIndex = function(array, fn) {\n for (var i = 0; i < array.length; i++) {\n fn(array[i], i);\n }\n };\n ListWrapper.first = function(array) {\n if (!array)\n return null;\n return array[0];\n };\n ListWrapper.last = function(array) {\n if (!array || array.length == 0)\n return null;\n return array[array.length - 1];\n };\n ListWrapper.indexOf = function(array, value, startIndex) {\n if (startIndex === void 0) {\n startIndex = 0;\n }\n return array.indexOf(value, startIndex);\n };\n ListWrapper.contains = function(list, el) {\n return list.indexOf(el) !== -1;\n };\n ListWrapper.reversed = function(array) {\n var a = ListWrapper.clone(array);\n return a.reverse();\n };\n ListWrapper.concat = function(a, b) {\n return a.concat(b);\n };\n ListWrapper.insert = function(list, index, value) {\n list.splice(index, 0, value);\n };\n ListWrapper.removeAt = function(list, index) {\n var res = list[index];\n list.splice(index, 1);\n return res;\n };\n ListWrapper.removeAll = function(list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.clear = function(list) {\n list.length = 0;\n };\n ListWrapper.isEmpty = function(list) {\n return list.length == 0;\n };\n ListWrapper.fill = function(list, value, start, end) {\n if (start === void 0) {\n start = 0;\n }\n if (end === void 0) {\n end = null;\n }\n list.fill(value, start, end === null ? list.length : end);\n };\n ListWrapper.equals = function(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.slice = function(l, from, to) {\n if (from === void 0) {\n from = 0;\n }\n if (to === void 0) {\n to = null;\n }\n return l.slice(from, to === null ? undefined : to);\n };\n ListWrapper.splice = function(l, from, length) {\n return l.splice(from, length);\n };\n ListWrapper.sort = function(l, compareFn) {\n if (lang_1.isPresent(compareFn)) {\n l.sort(compareFn);\n } else {\n l.sort();\n }\n };\n ListWrapper.toString = function(l) {\n return l.toString();\n };\n ListWrapper.toJSON = function(l) {\n return JSON.stringify(l);\n };\n ListWrapper.maximum = function(list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (lang_1.isBlank(candidate)) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function(list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n ListWrapper.addAll = function(list, source) {\n for (var i = 0; i < source.length; i++) {\n list.push(source[i]);\n }\n };\n return ListWrapper;\n}());\nexports.ListWrapper = ListWrapper;\nfunction _flattenArray(source, target) {\n if (lang_1.isPresent(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (lang_1.isArray(item)) {\n _flattenArray(item, target);\n } else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!lang_1.isJsObject(obj))\n return false;\n return lang_1.isArray(obj) || (!(obj instanceof exports.Map) && lang_1.getSymbolIterator() in obj);\n}\nexports.isListLikeIterable = isListLikeIterable;\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[lang_1.getSymbolIterator()]();\n var iterator2 = b[lang_1.getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nexports.areIterablesEqual = areIterablesEqual;\nfunction iterateListLike(obj, fn) {\n if (lang_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n } else {\n var iterator = obj[lang_1.getSymbolIterator()]();\n var item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nexports.iterateListLike = iterateListLike;\nvar createSetFromList = (function() {\n var test = new exports.Set([1, 2, 3]);\n if (test.size === 3) {\n return function createSetFromList(lst) {\n return new exports.Set(lst);\n };\n } else {\n return function createSetAndPopulateFromList(lst) {\n var res = new exports.Set(lst);\n if (res.size !== lst.length) {\n for (var i = 0; i < lst.length; i++) {\n res.add(lst[i]);\n }\n }\n return res;\n };\n }\n})();\nvar SetWrapper = (function() {\n function SetWrapper() {}\n SetWrapper.createFromList = function(lst) {\n return createSetFromList(lst);\n };\n SetWrapper.has = function(s, key) {\n return s.has(key);\n };\n SetWrapper.delete = function(m, k) {\n m.delete(k);\n };\n return SetWrapper;\n}());\nexports.SetWrapper = SetWrapper;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar collection_1 = require('./collection');\nvar _ArrayLogger = (function() {\n function _ArrayLogger() {\n this.res = [];\n }\n _ArrayLogger.prototype.log = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logError = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroup = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroupEnd = function() {};\n ;\n return _ArrayLogger;\n}());\nvar ExceptionHandler = (function() {\n function ExceptionHandler(_logger, _rethrowException) {\n if (_rethrowException === void 0) {\n _rethrowException = true;\n }\n this._logger = _logger;\n this._rethrowException = _rethrowException;\n }\n ExceptionHandler.exceptionToString = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var l = new _ArrayLogger();\n var e = new ExceptionHandler(l, false);\n e.call(exception, stackTrace, reason);\n return l.res.join(\"\\n\");\n };\n ExceptionHandler.prototype.call = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var originalException = this._findOriginalException(exception);\n var originalStack = this._findOriginalStack(exception);\n var context = this._findContext(exception);\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\n this._logger.logError(\"STACKTRACE:\");\n this._logger.logError(this._longStackTrace(stackTrace));\n }\n if (lang_1.isPresent(reason)) {\n this._logger.logError(\"REASON: \" + reason);\n }\n if (lang_1.isPresent(originalException)) {\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\n }\n if (lang_1.isPresent(originalStack)) {\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\n this._logger.logError(this._longStackTrace(originalStack));\n }\n if (lang_1.isPresent(context)) {\n this._logger.logError(\"ERROR CONTEXT:\");\n this._logger.logError(context);\n }\n this._logger.logGroupEnd();\n if (this._rethrowException)\n throw exception;\n };\n ExceptionHandler.prototype._extractMessage = function(exception) {\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage : exception.toString();\n };\n ExceptionHandler.prototype._longStackTrace = function(stackTrace) {\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") : stackTrace.toString();\n };\n ExceptionHandler.prototype._findContext = function(exception) {\n try {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n return lang_1.isPresent(exception.context) ? exception.context : this._findContext(exception.originalException);\n } catch (e) {\n return null;\n }\n };\n ExceptionHandler.prototype._findOriginalException = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception.originalException;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n }\n return e;\n };\n ExceptionHandler.prototype._findOriginalStack = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception;\n var stack = exception.originalStack;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n stack = e.originalStack;\n }\n }\n return stack;\n };\n return ExceptionHandler;\n}());\nexports.ExceptionHandler = ExceptionHandler;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar exception_handler_1 = require('./exception_handler');\nvar exception_handler_2 = require('./exception_handler');\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\nvar BaseException = (function(_super) {\n __extends(BaseException, _super);\n function BaseException(message) {\n if (message === void 0) {\n message = \"--\";\n }\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n BaseException.prototype.toString = function() {\n return this.message;\n };\n return BaseException;\n}(Error));\nexports.BaseException = BaseException;\nvar WrappedException = (function(_super) {\n __extends(WrappedException, _super);\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\n _super.call(this, _wrapperMessage);\n this._wrapperMessage = _wrapperMessage;\n this._originalException = _originalException;\n this._originalStack = _originalStack;\n this._context = _context;\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\n }\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\n get: function() {\n return this._wrapperMessage;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\n get: function() {\n return this._wrapperStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\n get: function() {\n return this._originalException;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\n get: function() {\n return this._originalStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"context\", {\n get: function() {\n return this._context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"message\", {\n get: function() {\n return exception_handler_1.ExceptionHandler.exceptionToString(this);\n },\n enumerable: true,\n configurable: true\n });\n WrappedException.prototype.toString = function() {\n return this.message;\n };\n return WrappedException;\n}(base_wrapped_exception_1.BaseWrappedException));\nexports.WrappedException = WrappedException;\nfunction makeTypeError(message) {\n return new TypeError(message);\n}\nexports.makeTypeError = makeTypeError;\nfunction unimplemented() {\n throw new BaseException('unimplemented');\n}\nexports.unimplemented = unimplemented;\n","/* */ \n\"use strict\";\n/**\n* This class should not be used directly by an application developer. Instead, use\n* {@link Location}.\n*\n* `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform\n* agnostic.\n* This means that we can have different implementation of `PlatformLocation` for the different\n* platforms\n* that angular supports. For example, the default `PlatformLocation` is {@link\n* BrowserPlatformLocation},\n* however when you run your app in a WebWorker you use {@link WebWorkerPlatformLocation}.\n*\n* The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n* when\n* they need to interact with the DOM apis like pushState, popState, etc...\n*\n* {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n* by\n* the {@link Router} in order to navigate between routes. Since all interactions between {@link\n* Router} /\n* {@link Location} / {@link LocationStrategy} and DOM apis flow through the `PlatformLocation`\n* class\n* they are all platform independent.\n*/\nvar PlatformLocation = (function () {\n function PlatformLocation() {\n }\n Object.defineProperty(PlatformLocation.prototype, \"pathname\", {\n /* abstract */ get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformLocation.prototype, \"search\", {\n /* abstract */ get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformLocation.prototype, \"hash\", {\n /* abstract */ get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n return PlatformLocation;\n}());\nexports.PlatformLocation = PlatformLocation;\n//# sourceMappingURL=platform_location.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar core_1 = require('@angular/core');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar platform_location_1 = require('./platform_location');\nvar location_strategy_1 = require('./location_strategy');\nvar location_1 = require('./location');\nvar PathLocationStrategy = (function(_super) {\n __extends(PathLocationStrategy, _super);\n function PathLocationStrategy(_platformLocation, href) {\n _super.call(this);\n this._platformLocation = _platformLocation;\n if (lang_1.isBlank(href)) {\n href = this._platformLocation.getBaseHrefFromDOM();\n }\n if (lang_1.isBlank(href)) {\n throw new exceptions_1.BaseException(\"No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.\");\n }\n this._baseHref = href;\n }\n PathLocationStrategy.prototype.onPopState = function(fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n };\n PathLocationStrategy.prototype.getBaseHref = function() {\n return this._baseHref;\n };\n PathLocationStrategy.prototype.prepareExternalUrl = function(internal) {\n return location_1.Location.joinWithSlash(this._baseHref, internal);\n };\n PathLocationStrategy.prototype.path = function() {\n return this._platformLocation.pathname + location_1.Location.normalizeQueryParams(this._platformLocation.search);\n };\n PathLocationStrategy.prototype.pushState = function(state, title, url, queryParams) {\n var externalUrl = this.prepareExternalUrl(url + location_1.Location.normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n };\n PathLocationStrategy.prototype.replaceState = function(state, title, url, queryParams) {\n var externalUrl = this.prepareExternalUrl(url + location_1.Location.normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n };\n PathLocationStrategy.prototype.forward = function() {\n this._platformLocation.forward();\n };\n PathLocationStrategy.prototype.back = function() {\n this._platformLocation.back();\n };\n PathLocationStrategy.decorators = [{type: core_1.Injectable}];\n PathLocationStrategy.ctorParameters = [{type: platform_location_1.PlatformLocation}, {\n type: undefined,\n decorators: [{type: core_1.Optional}, {\n type: core_1.Inject,\n args: [location_strategy_1.APP_BASE_HREF]\n }]\n }];\n return PathLocationStrategy;\n}(location_strategy_1.LocationStrategy));\nexports.PathLocationStrategy = PathLocationStrategy;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\nexports.scheduleMicroTask = scheduleMicroTask;\nexports.IS_DART = false;\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\nexports.global = _global;\nexports.Type = Function;\nfunction getTypeNameForDebugging(type) {\n if (type['name']) {\n return type['name'];\n }\n return typeof type;\n}\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\nexports.Math = _global.Math;\nexports.Date = _global.Date;\nvar _devMode = true;\nvar _modeLocked = false;\nfunction lockMode() {\n _modeLocked = true;\n}\nexports.lockMode = lockMode;\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n */\nfunction enableProdMode() {\n if (_modeLocked) {\n // Cannot use BaseException as that ends up importing from facade/lang.\n throw 'Cannot enable prod mode after platform setup.';\n }\n _devMode = false;\n}\nexports.enableProdMode = enableProdMode;\nfunction assertionsEnabled() {\n return _devMode;\n}\nexports.assertionsEnabled = assertionsEnabled;\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj !== undefined && obj !== null;\n}\nexports.isPresent = isPresent;\nfunction isBlank(obj) {\n return obj === undefined || obj === null;\n}\nexports.isBlank = isBlank;\nfunction isBoolean(obj) {\n return typeof obj === \"boolean\";\n}\nexports.isBoolean = isBoolean;\nfunction isNumber(obj) {\n return typeof obj === \"number\";\n}\nexports.isNumber = isNumber;\nfunction isString(obj) {\n return typeof obj === \"string\";\n}\nexports.isString = isString;\nfunction isFunction(obj) {\n return typeof obj === \"function\";\n}\nexports.isFunction = isFunction;\nfunction isType(obj) {\n return isFunction(obj);\n}\nexports.isType = isType;\nfunction isStringMap(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nexports.isStringMap = isStringMap;\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nexports.isStrictStringMap = isStrictStringMap;\nfunction isPromise(obj) {\n return obj instanceof _global.Promise;\n}\nexports.isPromise = isPromise;\nfunction isArray(obj) {\n return Array.isArray(obj);\n}\nexports.isArray = isArray;\nfunction isDate(obj) {\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\n}\nexports.isDate = isDate;\nfunction noop() { }\nexports.noop = noop;\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.name) {\n return token.name;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf(\"\\n\");\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\n}\nexports.stringify = stringify;\n// serialize / deserialize enum exist only for consistency with dart API\n// enums in typescript don't need to be serialized\nfunction serializeEnum(val) {\n return val;\n}\nexports.serializeEnum = serializeEnum;\nfunction deserializeEnum(val, values) {\n return val;\n}\nexports.deserializeEnum = deserializeEnum;\nfunction resolveEnumToken(enumValue, val) {\n return enumValue[val];\n}\nexports.resolveEnumToken = resolveEnumToken;\nvar StringWrapper = (function () {\n function StringWrapper() {\n }\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\n StringWrapper.equals = function (s, s2) { return s === s2; };\n StringWrapper.stripLeft = function (s, charVal) {\n if (s && s.length) {\n var pos = 0;\n for (var i = 0; i < s.length; i++) {\n if (s[i] != charVal)\n break;\n pos++;\n }\n s = s.substring(pos);\n }\n return s;\n };\n StringWrapper.stripRight = function (s, charVal) {\n if (s && s.length) {\n var pos = s.length;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] != charVal)\n break;\n pos--;\n }\n s = s.substring(0, pos);\n }\n return s;\n };\n StringWrapper.replace = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.replaceAll = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.slice = function (s, from, to) {\n if (from === void 0) { from = 0; }\n if (to === void 0) { to = null; }\n return s.slice(from, to === null ? undefined : to);\n };\n StringWrapper.replaceAllMapped = function (s, from, cb) {\n return s.replace(from, function () {\n var matches = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n matches[_i - 0] = arguments[_i];\n }\n // Remove offset & string from the result array\n matches.splice(-2, 2);\n // The callback receives match, p1, ..., pn\n return cb(matches);\n });\n };\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\n StringWrapper.compare = function (a, b) {\n if (a < b) {\n return -1;\n }\n else if (a > b) {\n return 1;\n }\n else {\n return 0;\n }\n };\n return StringWrapper;\n}());\nexports.StringWrapper = StringWrapper;\nvar StringJoiner = (function () {\n function StringJoiner(parts) {\n if (parts === void 0) { parts = []; }\n this.parts = parts;\n }\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\n return StringJoiner;\n}());\nexports.StringJoiner = StringJoiner;\nvar NumberParseError = (function (_super) {\n __extends(NumberParseError, _super);\n function NumberParseError(message) {\n _super.call(this);\n this.message = message;\n }\n NumberParseError.prototype.toString = function () { return this.message; };\n return NumberParseError;\n}(Error));\nexports.NumberParseError = NumberParseError;\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\n NumberWrapper.equal = function (a, b) { return a === b; };\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\n radix);\n };\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\n Object.defineProperty(NumberWrapper, \"NaN\", {\n get: function () { return NaN; },\n enumerable: true,\n configurable: true\n });\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\n return NumberWrapper;\n}());\nexports.NumberWrapper = NumberWrapper;\nexports.RegExp = _global.RegExp;\nvar RegExpWrapper = (function () {\n function RegExpWrapper() {\n }\n RegExpWrapper.create = function (regExpStr, flags) {\n if (flags === void 0) { flags = ''; }\n flags = flags.replace(/g/g, '');\n return new _global.RegExp(regExpStr, flags + 'g');\n };\n RegExpWrapper.firstMatch = function (regExp, input) {\n // Reset multimatch regex state\n regExp.lastIndex = 0;\n return regExp.exec(input);\n };\n RegExpWrapper.test = function (regExp, input) {\n regExp.lastIndex = 0;\n return regExp.test(input);\n };\n RegExpWrapper.matcher = function (regExp, input) {\n // Reset regex state for the case\n // someone did not loop over all matches\n // last time.\n regExp.lastIndex = 0;\n return { re: regExp, input: input };\n };\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\n var c = regExp.exec(input);\n var res = '';\n regExp.lastIndex = 0;\n var prev = 0;\n while (c) {\n res += input.substring(prev, c.index);\n res += replace(c);\n prev = c.index + c[0].length;\n regExp.lastIndex = prev;\n c = regExp.exec(input);\n }\n res += input.substring(prev);\n return res;\n };\n return RegExpWrapper;\n}());\nexports.RegExpWrapper = RegExpWrapper;\nvar RegExpMatcherWrapper = (function () {\n function RegExpMatcherWrapper() {\n }\n RegExpMatcherWrapper.next = function (matcher) {\n return matcher.re.exec(matcher.input);\n };\n return RegExpMatcherWrapper;\n}());\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\nvar FunctionWrapper = (function () {\n function FunctionWrapper() {\n }\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\n return FunctionWrapper;\n}());\nexports.FunctionWrapper = FunctionWrapper;\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\nexports.looseIdentical = looseIdentical;\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\nfunction getMapKey(value) {\n return value;\n}\nexports.getMapKey = getMapKey;\nfunction normalizeBlank(obj) {\n return isBlank(obj) ? null : obj;\n}\nexports.normalizeBlank = normalizeBlank;\nfunction normalizeBool(obj) {\n return isBlank(obj) ? false : obj;\n}\nexports.normalizeBool = normalizeBool;\nfunction isJsObject(o) {\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\n}\nexports.isJsObject = isJsObject;\nfunction print(obj) {\n console.log(obj);\n}\nexports.print = print;\nfunction warn(obj) {\n console.warn(obj);\n}\nexports.warn = warn;\n// Can't be all uppercase as our transpiler would think it is a special directive...\nvar Json = (function () {\n function Json() {\n }\n Json.parse = function (s) { return _global.JSON.parse(s); };\n Json.stringify = function (data) {\n // Dart doesn't take 3 arguments\n return _global.JSON.stringify(data, null, 2);\n };\n return Json;\n}());\nexports.Json = Json;\nvar DateWrapper = (function () {\n function DateWrapper() {\n }\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\n if (month === void 0) { month = 1; }\n if (day === void 0) { day = 1; }\n if (hour === void 0) { hour = 0; }\n if (minutes === void 0) { minutes = 0; }\n if (seconds === void 0) { seconds = 0; }\n if (milliseconds === void 0) { milliseconds = 0; }\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\n };\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\n DateWrapper.toMillis = function (date) { return date.getTime(); };\n DateWrapper.now = function () { return new exports.Date(); };\n DateWrapper.toJson = function (date) { return date.toJSON(); };\n return DateWrapper;\n}());\nexports.DateWrapper = DateWrapper;\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nexports.setValueOnPath = setValueOnPath;\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (isBlank(_symbolIterator)) {\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nexports.getSymbolIterator = getSymbolIterator;\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n}\nexports.evalExpression = evalExpression;\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nexports.isPrimitive = isPrimitive;\nfunction hasConstructor(value, type) {\n return value.constructor === type;\n}\nexports.hasConstructor = hasConstructor;\nfunction bitWiseOr(values) {\n return values.reduce(function (a, b) { return a | b; });\n}\nexports.bitWiseOr = bitWiseOr;\nfunction bitWiseAnd(values) {\n return values.reduce(function (a, b) { return a & b; });\n}\nexports.bitWiseAnd = bitWiseAnd;\nfunction escape(s) {\n return _global.encodeURI(s);\n}\nexports.escape = escape;\n//# sourceMappingURL=lang.js.map","/* */ \n\"use strict\";\nvar PromiseCompleter = (function () {\n function PromiseCompleter() {\n var _this = this;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n return PromiseCompleter;\n}());\nexports.PromiseCompleter = PromiseCompleter;\nvar PromiseWrapper = (function () {\n function PromiseWrapper() {\n }\n PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj); };\n PromiseWrapper.reject = function (obj, _) { return Promise.reject(obj); };\n // Note: We can't rename this method into `catch`, as this is not a valid\n // method name in Dart.\n PromiseWrapper.catchError = function (promise, onError) {\n return promise.catch(onError);\n };\n PromiseWrapper.all = function (promises) {\n if (promises.length == 0)\n return Promise.resolve([]);\n return Promise.all(promises);\n };\n PromiseWrapper.then = function (promise, success, rejection) {\n return promise.then(success, rejection);\n };\n PromiseWrapper.wrap = function (computation) {\n return new Promise(function (res, rej) {\n try {\n res(computation());\n }\n catch (e) {\n rej(e);\n }\n });\n };\n PromiseWrapper.scheduleMicrotask = function (computation) {\n PromiseWrapper.then(PromiseWrapper.resolve(null), computation, function (_) { });\n };\n PromiseWrapper.isPromise = function (obj) { return obj instanceof Promise; };\n PromiseWrapper.completer = function () { return new PromiseCompleter(); };\n return PromiseWrapper;\n}());\nexports.PromiseWrapper = PromiseWrapper;\n//# sourceMappingURL=promise.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('./lang');\nvar promise_1 = require('./promise');\nexports.PromiseWrapper = promise_1.PromiseWrapper;\nexports.PromiseCompleter = promise_1.PromiseCompleter;\nvar Subject_1 = require('rxjs/Subject');\nvar PromiseObservable_1 = require('rxjs/observable/PromiseObservable');\nvar toPromise_1 = require('rxjs/operator/toPromise');\nvar Observable_1 = require('rxjs/Observable');\nexports.Observable = Observable_1.Observable;\nvar Subject_2 = require('rxjs/Subject');\nexports.Subject = Subject_2.Subject;\nvar TimerWrapper = (function() {\n function TimerWrapper() {}\n TimerWrapper.setTimeout = function(fn, millis) {\n return lang_1.global.setTimeout(fn, millis);\n };\n TimerWrapper.clearTimeout = function(id) {\n lang_1.global.clearTimeout(id);\n };\n TimerWrapper.setInterval = function(fn, millis) {\n return lang_1.global.setInterval(fn, millis);\n };\n TimerWrapper.clearInterval = function(id) {\n lang_1.global.clearInterval(id);\n };\n return TimerWrapper;\n}());\nexports.TimerWrapper = TimerWrapper;\nvar ObservableWrapper = (function() {\n function ObservableWrapper() {}\n ObservableWrapper.subscribe = function(emitter, onNext, onError, onComplete) {\n if (onComplete === void 0) {\n onComplete = function() {};\n }\n onError = (typeof onError === \"function\") && onError || lang_1.noop;\n onComplete = (typeof onComplete === \"function\") && onComplete || lang_1.noop;\n return emitter.subscribe({\n next: onNext,\n error: onError,\n complete: onComplete\n });\n };\n ObservableWrapper.isObservable = function(obs) {\n return !!obs.subscribe;\n };\n ObservableWrapper.hasSubscribers = function(obs) {\n return obs.observers.length > 0;\n };\n ObservableWrapper.dispose = function(subscription) {\n subscription.unsubscribe();\n };\n ObservableWrapper.callNext = function(emitter, value) {\n emitter.next(value);\n };\n ObservableWrapper.callEmit = function(emitter, value) {\n emitter.emit(value);\n };\n ObservableWrapper.callError = function(emitter, error) {\n emitter.error(error);\n };\n ObservableWrapper.callComplete = function(emitter) {\n emitter.complete();\n };\n ObservableWrapper.fromPromise = function(promise) {\n return PromiseObservable_1.PromiseObservable.create(promise);\n };\n ObservableWrapper.toPromise = function(obj) {\n return toPromise_1.toPromise.call(obj);\n };\n return ObservableWrapper;\n}());\nexports.ObservableWrapper = ObservableWrapper;\nvar EventEmitter = (function(_super) {\n __extends(EventEmitter, _super);\n function EventEmitter(isAsync) {\n if (isAsync === void 0) {\n isAsync = true;\n }\n _super.call(this);\n this._isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.next = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.subscribe = function(generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function(err) {\n return null;\n };\n var completeFn = function() {\n return null;\n };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext.next(value);\n });\n } : function(value) {\n generatorOrNext.next(value);\n };\n if (generatorOrNext.error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return generatorOrNext.error(err);\n });\n } : function(err) {\n generatorOrNext.error(err);\n };\n }\n if (generatorOrNext.complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return generatorOrNext.complete();\n });\n } : function() {\n generatorOrNext.complete();\n };\n }\n } else {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext(value);\n });\n } : function(value) {\n generatorOrNext(value);\n };\n if (error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return error(err);\n });\n } : function(err) {\n error(err);\n };\n }\n if (complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return complete();\n });\n } : function() {\n complete();\n };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n}(Subject_1.Subject));\nexports.EventEmitter = EventEmitter;\n","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\n/**\n * `LocationStrategy` is responsible for representing and reading route state\n * from the browser's URL. Angular provides two strategies:\n * {@link HashLocationStrategy} and {@link PathLocationStrategy} (default).\n *\n * This is used under the hood of the {@link Location} service.\n *\n * Applications should use the {@link Router} or {@link Location} services to\n * interact with application route state.\n *\n * For instance, {@link HashLocationStrategy} produces URLs like\n * `http://example.com#/foo`, and {@link PathLocationStrategy} produces\n * `http://example.com/foo` as an equivalent URL.\n *\n * See these two classes for more.\n */\nvar LocationStrategy = (function () {\n function LocationStrategy() {\n }\n return LocationStrategy;\n}());\nexports.LocationStrategy = LocationStrategy;\n/**\n * The `APP_BASE_HREF` token represents the base href to be used with the\n * {@link PathLocationStrategy}.\n *\n * If you're using {@link PathLocationStrategy}, you must provide a provider to a string\n * representing the URL prefix that should be preserved when generating and recognizing\n * URLs.\n *\n * ### Example\n *\n * ```\n * import {Component} from '@angular/core';\n * import {ROUTER_DIRECTIVES, ROUTER_PROVIDERS, RouteConfig} from '@angular/router';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @Component({directives: [ROUTER_DIRECTIVES]})\n * @RouteConfig([\n * {...},\n * ])\n * class AppCmp {\n * // ...\n * }\n *\n * bootstrap(AppCmp, [\n * ROUTER_PROVIDERS,\n * provide(APP_BASE_HREF, {useValue: '/my/app'})\n * ]);\n * ```\n */\nexports.APP_BASE_HREF = new core_1.OpaqueToken('appBaseHref');\n//# sourceMappingURL=location_strategy.js.map","/* */ \n\"use strict\";\nvar core_1 = require('@angular/core');\nvar async_1 = require('../facade/async');\nvar location_strategy_1 = require('./location_strategy');\nvar Location = (function() {\n function Location(platformStrategy) {\n var _this = this;\n this.platformStrategy = platformStrategy;\n this._subject = new async_1.EventEmitter();\n var browserBaseHref = this.platformStrategy.getBaseHref();\n this._baseHref = Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n this.platformStrategy.onPopState(function(ev) {\n async_1.ObservableWrapper.callEmit(_this._subject, {\n 'url': _this.path(),\n 'pop': true,\n 'type': ev.type\n });\n });\n }\n Location.prototype.path = function() {\n return this.normalize(this.platformStrategy.path());\n };\n Location.prototype.normalize = function(url) {\n return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n };\n Location.prototype.prepareExternalUrl = function(url) {\n if (url.length > 0 && !url.startsWith('/')) {\n url = '/' + url;\n }\n return this.platformStrategy.prepareExternalUrl(url);\n };\n Location.prototype.go = function(path, query) {\n if (query === void 0) {\n query = '';\n }\n this.platformStrategy.pushState(null, '', path, query);\n };\n Location.prototype.replaceState = function(path, query) {\n if (query === void 0) {\n query = '';\n }\n this.platformStrategy.replaceState(null, '', path, query);\n };\n Location.prototype.forward = function() {\n this.platformStrategy.forward();\n };\n Location.prototype.back = function() {\n this.platformStrategy.back();\n };\n Location.prototype.subscribe = function(onNext, onThrow, onReturn) {\n if (onThrow === void 0) {\n onThrow = null;\n }\n if (onReturn === void 0) {\n onReturn = null;\n }\n return async_1.ObservableWrapper.subscribe(this._subject, onNext, onThrow, onReturn);\n };\n Location.normalizeQueryParams = function(params) {\n return (params.length > 0 && params.substring(0, 1) != '?') ? ('?' + params) : params;\n };\n Location.joinWithSlash = function(start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n var slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n };\n Location.stripTrailingSlash = function(url) {\n if (/\\/$/g.test(url)) {\n url = url.substring(0, url.length - 1);\n }\n return url;\n };\n Location.decorators = [{type: core_1.Injectable}];\n Location.ctorParameters = [{type: location_strategy_1.LocationStrategy}];\n return Location;\n}());\nexports.Location = Location;\nfunction _stripBaseHref(baseHref, url) {\n if (baseHref.length > 0 && url.startsWith(baseHref)) {\n return url.substring(baseHref.length);\n }\n return url;\n}\nfunction _stripIndexHtml(url) {\n if (/\\/index.html$/g.test(url)) {\n return url.substring(0, url.length - 11);\n }\n return url;\n}\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./location/platform_location'));\n__export(require('./location/location_strategy'));\n__export(require('./location/hash_location_strategy'));\n__export(require('./location/path_location_strategy'));\n__export(require('./location/location'));\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./src/pipes'));\n__export(require('./src/directives'));\n__export(require('./src/forms'));\n__export(require('./src/common_directives'));\n__export(require('./src/location'));\n","module.exports = require(\"npm:@angular/common@2.0.0-rc.1/index.js\");","'use strict';\n\nimport {Component, EventEmitter} from '@angular/core';\nimport {CORE_DIRECTIVES} from '@angular/common';\n\n@Component({\n selector: 'zippy',\n events: ['open', 'close'],\n inputs: ['title', 'visible', 'type', 'empty'],\n template: `\n <div class=\"zippy zippy-{{type}}\" [ngClass]=\"{'zippy-empty': empty}\">\n <div class=\"zippy-title\" (click)=\"toggle()\">\n <span class=\"zippy-indicator\">{{ visible ? '▾' : '▸' }}</span>\n {{title}}\n </div>\n <div class=\"zippy-content\" [ngClass]=\"{'zippy-hidden': !visible}\">\n <ng-content></ng-content>\n </div>\n </div>\n `,\n styles: [`\n .zippy-title{padding:10px;border-radius:2px;margin:2px 0;line-height:1.5em;background-color:#f2f2f2;cursor:pointer}.zippy-success>.zippy-title{color:#00aa13;background-color:rgba(0,170,19,0.08)}.zippy-error>.zippy-title{color:#e53935;background-color:rgba(229,57,53,0.06)}.zippy-redirect>.zippy-title{color:#263238;background-color:rgba(38,50,56,0.08)}.zippy-info>.zippy-title{color:#0033a0;background-color:rgba(0,51,160,0.08)}span.zippy-indicator{font-size:1.2em;margin-right:0.2em;position:relative;top:0}.zippy-content{padding:15px 0}.zippy-empty .zippy-title{cursor:default}.zippy-empty .zippy-indicator{display:none}.zippy-empty .zippy-content{display:none}.zippy-hidden{overflow:hidden;visibility:hidden;height:0;padding:0}\n `],\n directives: [CORE_DIRECTIVES]\n})\nexport class Zippy {\n\n constructor() {\n this.type = 'general';\n this.visible = false;\n this.empty = false;\n this.open = new EventEmitter();\n this.close = new EventEmitter();\n }\n\n toggle() {\n this.visible = !this.visible;\n if (this.empty) return;\n (this.visible) ? this.open.next() : this.close.next();\n }\n}\n","'use strict';\nexport * from './DropDown/drop-down';\nexport * from './StickySidebar/sticky-sidebar';\nexport * from './Tabs/tabs';\nexport * from './Zippy/zippy';\n","/* */ \nvar classof = require('./$.classof'),\n ITERATOR = require('./$.wks')('iterator'),\n Iterators = require('./$.iterators');\nmodule.exports = require('./$.core').isIterable = function(it) {\n var O = Object(it);\n return O[ITERATOR] !== undefined || '@@iterator' in O || Iterators.hasOwnProperty(classof(O));\n};\n","/* */ \nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.is-iterable');\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/is-iterable\"), __esModule: true };","/* */ \n\"use strict\";\nvar _getIterator = require('../core-js/get-iterator')[\"default\"];\nvar _isIterable = require('../core-js/is-iterable')[\"default\"];\nexports[\"default\"] = (function() {\n function sliceIterator(arr, i) {\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n try {\n for (var _i = _getIterator(arr),\n _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n if (i && _arr.length === i)\n break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"])\n _i[\"return\"]();\n } finally {\n if (_d)\n throw _e;\n }\n }\n return _arr;\n }\n return function(arr, i) {\n if (Array.isArray(arr)) {\n return arr;\n } else if (_isIterable(Object(arr))) {\n return sliceIterator(arr, i);\n } else {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n }\n };\n})();\nexports.__esModule = true;\n","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};","/* */ \nvar anObject = require('./$.an-object'),\n aFunction = require('./$.a-function'),\n SPECIES = require('./$.wks')('species');\nmodule.exports = function(O, D) {\n var C = anObject(O).constructor,\n S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n var un = that === undefined;\n switch(args.length){\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};","/* */ \nmodule.exports = require('./$.global').document && document.documentElement;\n","/* */ \nvar isObject = require('./$.is-object'),\n document = require('./$.global').document,\n is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it) {\n return is ? document.createElement(it) : {};\n};\n","/* */ \n(function(process) {\n var ctx = require('./$.ctx'),\n invoke = require('./$.invoke'),\n html = require('./$.html'),\n cel = require('./$.dom-create'),\n global = require('./$.global'),\n process = global.process,\n setTask = global.setImmediate,\n clearTask = global.clearImmediate,\n MessageChannel = global.MessageChannel,\n counter = 0,\n queue = {},\n ONREADYSTATECHANGE = 'onreadystatechange',\n defer,\n channel,\n port;\n var run = function() {\n var id = +this;\n if (queue.hasOwnProperty(id)) {\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n };\n var listner = function(event) {\n run.call(event.data);\n };\n if (!setTask || !clearTask) {\n setTask = function setImmediate(fn) {\n var args = [],\n i = 1;\n while (arguments.length > i)\n args.push(arguments[i++]);\n queue[++counter] = function() {\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id) {\n delete queue[id];\n };\n if (require('./$.cof')(process) == 'process') {\n defer = function(id) {\n process.nextTick(ctx(run, id, 1));\n };\n } else if (MessageChannel) {\n channel = new MessageChannel;\n port = channel.port2;\n channel.port1.onmessage = listner;\n defer = ctx(port.postMessage, port, 1);\n } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n defer = function(id) {\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listner, false);\n } else if (ONREADYSTATECHANGE in cel('script')) {\n defer = function(id) {\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function() {\n html.removeChild(this);\n run.call(id);\n };\n };\n } else {\n defer = function(id) {\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n }\n module.exports = {\n set: setTask,\n clear: clearTask\n };\n})(require('process'));\n","/* */ \n(function(process) {\n var global = require('./$.global'),\n macrotask = require('./$.task').set,\n Observer = global.MutationObserver || global.WebKitMutationObserver,\n process = global.process,\n Promise = global.Promise,\n isNode = require('./$.cof')(process) == 'process',\n head,\n last,\n notify;\n var flush = function() {\n var parent,\n domain,\n fn;\n if (isNode && (parent = process.domain)) {\n process.domain = null;\n parent.exit();\n }\n while (head) {\n domain = head.domain;\n fn = head.fn;\n if (domain)\n domain.enter();\n fn();\n if (domain)\n domain.exit();\n head = head.next;\n }\n last = undefined;\n if (parent)\n parent.enter();\n };\n if (isNode) {\n notify = function() {\n process.nextTick(flush);\n };\n } else if (Observer) {\n var toggle = 1,\n node = document.createTextNode('');\n new Observer(flush).observe(node, {characterData: true});\n notify = function() {\n node.data = toggle = -toggle;\n };\n } else if (Promise && Promise.resolve) {\n notify = function() {\n Promise.resolve().then(flush);\n };\n } else {\n notify = function() {\n macrotask.call(global, flush);\n };\n }\n module.exports = function asap(fn) {\n var task = {\n fn: fn,\n next: undefined,\n domain: isNode && process.domain\n };\n if (last)\n last.next = task;\n if (!head) {\n head = task;\n notify();\n }\n last = task;\n };\n})(require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n var $ = require('./$'),\n LIBRARY = require('./$.library'),\n global = require('./$.global'),\n ctx = require('./$.ctx'),\n classof = require('./$.classof'),\n $export = require('./$.export'),\n isObject = require('./$.is-object'),\n anObject = require('./$.an-object'),\n aFunction = require('./$.a-function'),\n strictNew = require('./$.strict-new'),\n forOf = require('./$.for-of'),\n setProto = require('./$.set-proto').set,\n same = require('./$.same-value'),\n SPECIES = require('./$.wks')('species'),\n speciesConstructor = require('./$.species-constructor'),\n asap = require('./$.microtask'),\n PROMISE = 'Promise',\n process = global.process,\n isNode = classof(process) == 'process',\n P = global[PROMISE],\n Wrapper;\n var testResolve = function(sub) {\n var test = new P(function() {});\n if (sub)\n test.constructor = Object;\n return P.resolve(test) === test;\n };\n var USE_NATIVE = function() {\n var works = false;\n function P2(x) {\n var self = new P(x);\n setProto(self, P2.prototype);\n return self;\n }\n try {\n works = P && P.resolve && testResolve();\n setProto(P2, P);\n P2.prototype = $.create(P.prototype, {constructor: {value: P2}});\n if (!(P2.resolve(5).then(function() {}) instanceof P2)) {\n works = false;\n }\n if (works && require('./$.descriptors')) {\n var thenableThenGotten = false;\n P.resolve($.setDesc({}, 'then', {get: function() {\n thenableThenGotten = true;\n }}));\n works = thenableThenGotten;\n }\n } catch (e) {\n works = false;\n }\n return works;\n }();\n var sameConstructor = function(a, b) {\n if (LIBRARY && a === P && b === Wrapper)\n return true;\n return same(a, b);\n };\n var getConstructor = function(C) {\n var S = anObject(C)[SPECIES];\n return S != undefined ? S : C;\n };\n var isThenable = function(it) {\n var then;\n return isObject(it) && typeof(then = it.then) == 'function' ? then : false;\n };\n var PromiseCapability = function(C) {\n var resolve,\n reject;\n this.promise = new C(function($$resolve, $$reject) {\n if (resolve !== undefined || reject !== undefined)\n throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve), this.reject = aFunction(reject);\n };\n var perform = function(exec) {\n try {\n exec();\n } catch (e) {\n return {error: e};\n }\n };\n var notify = function(record, isReject) {\n if (record.n)\n return;\n record.n = true;\n var chain = record.c;\n asap(function() {\n var value = record.v,\n ok = record.s == 1,\n i = 0;\n var run = function(reaction) {\n var handler = ok ? reaction.ok : reaction.fail,\n resolve = reaction.resolve,\n reject = reaction.reject,\n result,\n then;\n try {\n if (handler) {\n if (!ok)\n record.h = true;\n result = handler === true ? value : handler(value);\n if (result === reaction.promise) {\n reject(TypeError('Promise-chain cycle'));\n } else if (then = isThenable(result)) {\n then.call(result, resolve, reject);\n } else\n resolve(result);\n } else\n reject(value);\n } catch (e) {\n reject(e);\n }\n };\n while (chain.length > i)\n run(chain[i++]);\n chain.length = 0;\n record.n = false;\n if (isReject)\n setTimeout(function() {\n var promise = record.p,\n handler,\n console;\n if (isUnhandled(promise)) {\n if (isNode) {\n process.emit('unhandledRejection', value, promise);\n } else if (handler = global.onunhandledrejection) {\n handler({\n promise: promise,\n reason: value\n });\n } else if ((console = global.console) && console.error) {\n console.error('Unhandled promise rejection', value);\n }\n }\n record.a = undefined;\n }, 1);\n });\n };\n var isUnhandled = function(promise) {\n var record = promise._d,\n chain = record.a || record.c,\n i = 0,\n reaction;\n if (record.h)\n return false;\n while (chain.length > i) {\n reaction = chain[i++];\n if (reaction.fail || !isUnhandled(reaction.promise))\n return false;\n }\n return true;\n };\n var $reject = function(value) {\n var record = this;\n if (record.d)\n return;\n record.d = true;\n record = record.r || record;\n record.v = value;\n record.s = 2;\n record.a = record.c.slice();\n notify(record, true);\n };\n var $resolve = function(value) {\n var record = this,\n then;\n if (record.d)\n return;\n record.d = true;\n record = record.r || record;\n try {\n if (record.p === value)\n throw TypeError(\"Promise can't be resolved itself\");\n if (then = isThenable(value)) {\n asap(function() {\n var wrapper = {\n r: record,\n d: false\n };\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch (e) {\n $reject.call(wrapper, e);\n }\n });\n } else {\n record.v = value;\n record.s = 1;\n notify(record, false);\n }\n } catch (e) {\n $reject.call({\n r: record,\n d: false\n }, e);\n }\n };\n if (!USE_NATIVE) {\n P = function Promise(executor) {\n aFunction(executor);\n var record = this._d = {\n p: strictNew(this, P, PROMISE),\n c: [],\n a: undefined,\n s: 0,\n d: false,\n v: undefined,\n h: false,\n n: false\n };\n try {\n executor(ctx($resolve, record, 1), ctx($reject, record, 1));\n } catch (err) {\n $reject.call(record, err);\n }\n };\n require('./$.redefine-all')(P.prototype, {\n then: function then(onFulfilled, onRejected) {\n var reaction = new PromiseCapability(speciesConstructor(this, P)),\n promise = reaction.promise,\n record = this._d;\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n record.c.push(reaction);\n if (record.a)\n record.a.push(reaction);\n if (record.s)\n notify(record, false);\n return promise;\n },\n 'catch': function(onRejected) {\n return this.then(undefined, onRejected);\n }\n });\n }\n $export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: P});\n require('./$.set-to-string-tag')(P, PROMISE);\n require('./$.set-species')(PROMISE);\n Wrapper = require('./$.core')[PROMISE];\n $export($export.S + $export.F * !USE_NATIVE, PROMISE, {reject: function reject(r) {\n var capability = new PromiseCapability(this),\n $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }});\n $export($export.S + $export.F * (!USE_NATIVE || testResolve(true)), PROMISE, {resolve: function resolve(x) {\n if (x instanceof P && sameConstructor(x.constructor, this))\n return x;\n var capability = new PromiseCapability(this),\n $$resolve = capability.resolve;\n $$resolve(x);\n return capability.promise;\n }});\n $export($export.S + $export.F * !(USE_NATIVE && require('./$.iter-detect')(function(iter) {\n P.all(iter)['catch'](function() {});\n })), PROMISE, {\n all: function all(iterable) {\n var C = getConstructor(this),\n capability = new PromiseCapability(C),\n resolve = capability.resolve,\n reject = capability.reject,\n values = [];\n var abrupt = perform(function() {\n forOf(iterable, false, values.push, values);\n var remaining = values.length,\n results = Array(remaining);\n if (remaining)\n $.each.call(values, function(promise, index) {\n var alreadyCalled = false;\n C.resolve(promise).then(function(value) {\n if (alreadyCalled)\n return;\n alreadyCalled = true;\n results[index] = value;\n --remaining || resolve(results);\n }, reject);\n });\n else\n resolve(results);\n });\n if (abrupt)\n reject(abrupt.error);\n return capability.promise;\n },\n race: function race(iterable) {\n var C = getConstructor(this),\n capability = new PromiseCapability(C),\n reject = capability.reject;\n var abrupt = perform(function() {\n forOf(iterable, false, function(promise) {\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if (abrupt)\n reject(abrupt.error);\n return capability.promise;\n }\n });\n})(require('process'));\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.promise');\nmodule.exports = require('../modules/$.core').Promise;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/promise\"), __esModule: true };","/* */ \nvar toObject = require('./$.to-object');\nrequire('./$.object-sap')('keys', function($keys) {\n return function keys(it) {\n return $keys(toObject(it));\n };\n});\n","/* */ \nrequire('../../modules/es6.object.keys');\nmodule.exports = require('../../modules/$.core').Object.keys;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/keys\"), __esModule: true };","/* */ \nvar anObject = require('./$.an-object'),\n get = require('./core.get-iterator-method');\nmodule.exports = require('./$.core').getIterator = function(it) {\n var iterFn = get(it);\n if (typeof iterFn != 'function')\n throw TypeError(it + ' is not iterable!');\n return anObject(iterFn.call(it));\n};\n","/* */ \nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.string.iterator');\nmodule.exports = require('../modules/core.get-iterator');\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/get-iterator\"), __esModule: true };","/* */ \n'use strict';\nvar strong = require('./$.collection-strong');\nrequire('./$.collection')('Map', function(get) {\n return function Map() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, {\n get: function get(key) {\n var entry = strong.getEntry(this, key);\n return entry && entry.v;\n },\n set: function set(key, value) {\n return strong.def(this, key === 0 ? 0 : key, value);\n }\n}, strong, true);\n","/* */ \nvar $export = require('./$.export');\n$export($export.P, 'Map', {toJSON: require('./$.collection-to-json')('Map')});\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.map');\nrequire('../modules/es7.map.to-json');\nmodule.exports = require('../modules/$.core').Map;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/map\"), __esModule: true };","/* */ \n\"format cjs\";\n// Number.isFinite polyfill\n// http://people.mozilla.org/~jorendorff/es6-draft.html#sec-number.isfinite\nif (typeof Number.isFinite !== \"function\") {\n Number.isFinite = function isFinite(value) {\n // 1. If Type(number) is not Number, return false.\n if (typeof value !== \"number\") {\n return false;\n }\n // 2. If number is NaN, +∞, or −∞, return false.\n if (value !== value || value === Infinity || value === -Infinity) {\n return false;\n }\n // 3. Otherwise, return true.\n return true;\n };\n}\n","/* */ \n(function(process) {\n \"use strict\";\n var Report = require('./Report');\n var SchemaCompilation = require('./SchemaCompilation');\n var SchemaValidation = require('./SchemaValidation');\n var Utils = require('./Utils');\n function decodeJSONPointer(str) {\n return decodeURIComponent(str).replace(/~[0-1]/g, function(x) {\n return x === \"~1\" ? \"/\" : \"~\";\n });\n }\n function getRemotePath(uri) {\n var io = uri.indexOf(\"#\");\n return io === -1 ? uri : uri.slice(0, io);\n }\n function getQueryPath(uri) {\n var io = uri.indexOf(\"#\");\n var res = io === -1 ? undefined : uri.slice(io + 1);\n return res;\n }\n function findId(schema, id) {\n if (typeof schema !== \"object\" || schema === null) {\n return;\n }\n if (!id) {\n return schema;\n }\n if (schema.id) {\n if (schema.id === id || schema.id[0] === \"#\" && schema.id.substring(1) === id) {\n return schema;\n }\n }\n var idx,\n result;\n if (Array.isArray(schema)) {\n idx = schema.length;\n while (idx--) {\n result = findId(schema[idx], id);\n if (result) {\n return result;\n }\n }\n } else {\n var keys = Object.keys(schema);\n idx = keys.length;\n while (idx--) {\n var k = keys[idx];\n if (k.indexOf(\"__$\") === 0) {\n continue;\n }\n result = findId(schema[k], id);\n if (result) {\n return result;\n }\n }\n }\n }\n exports.cacheSchemaByUri = function(uri, schema) {\n var remotePath = getRemotePath(uri);\n if (remotePath) {\n this.cache[remotePath] = schema;\n }\n };\n exports.removeFromCacheByUri = function(uri) {\n var remotePath = getRemotePath(uri);\n if (remotePath) {\n delete this.cache[remotePath];\n }\n };\n exports.checkCacheForUri = function(uri) {\n var remotePath = getRemotePath(uri);\n return remotePath ? this.cache[remotePath] != null : false;\n };\n exports.getSchema = function(report, schema) {\n if (typeof schema === \"object\") {\n schema = exports.getSchemaByReference.call(this, report, schema);\n }\n if (typeof schema === \"string\") {\n schema = exports.getSchemaByUri.call(this, report, schema);\n }\n return schema;\n };\n exports.getSchemaByReference = function(report, key) {\n var i = this.referenceCache.length;\n while (i--) {\n if (this.referenceCache[i][0] === key) {\n return this.referenceCache[i][1];\n }\n }\n var schema = Utils.cloneDeep(key);\n this.referenceCache.push([key, schema]);\n return schema;\n };\n exports.getSchemaByUri = function(report, uri, root) {\n var remotePath = getRemotePath(uri),\n queryPath = getQueryPath(uri),\n result = remotePath ? this.cache[remotePath] : root;\n if (result && remotePath) {\n var compileRemote = result !== root;\n if (compileRemote) {\n report.path.push(remotePath);\n var remoteReport = new Report(report);\n if (SchemaCompilation.compileSchema.call(this, remoteReport, result)) {\n SchemaValidation.validateSchema.call(this, remoteReport, result);\n }\n var remoteReportIsValid = remoteReport.isValid();\n if (!remoteReportIsValid) {\n report.addError(\"REMOTE_NOT_VALID\", [uri], remoteReport);\n }\n report.path.pop();\n if (!remoteReportIsValid) {\n return undefined;\n }\n }\n }\n if (result && queryPath) {\n var parts = queryPath.split(\"/\");\n for (var idx = 0,\n lim = parts.length; result && idx < lim; idx++) {\n var key = decodeJSONPointer(parts[idx]);\n if (idx === 0) {\n result = findId(result, key);\n } else {\n result = result[key];\n }\n }\n }\n return result;\n };\n exports.getRemotePath = getRemotePath;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar Report = require('./Report');\nvar SchemaCache = require('./SchemaCache');\nvar Utils = require('./Utils');\nfunction mergeReference(scope, ref) {\n if (Utils.isAbsoluteUri(ref)) {\n return ref;\n }\n var joinedScope = scope.join(\"\"),\n isScopeAbsolute = Utils.isAbsoluteUri(joinedScope),\n isScopeRelative = Utils.isRelativeUri(joinedScope),\n isRefRelative = Utils.isRelativeUri(ref),\n toRemove;\n if (isScopeAbsolute && isRefRelative) {\n toRemove = joinedScope.match(/\\/[^\\/]*$/);\n if (toRemove) {\n joinedScope = joinedScope.slice(0, toRemove.index + 1);\n }\n } else if (isScopeRelative && isRefRelative) {\n joinedScope = \"\";\n } else {\n toRemove = joinedScope.match(/[^#/]+$/);\n if (toRemove) {\n joinedScope = joinedScope.slice(0, toRemove.index);\n }\n }\n var res = joinedScope + ref;\n res = res.replace(/##/, \"#\");\n return res;\n}\nfunction collectReferences(obj, results, scope, path) {\n results = results || [];\n scope = scope || [];\n path = path || [];\n if (typeof obj !== \"object\" || obj === null) {\n return results;\n }\n if (typeof obj.id === \"string\") {\n scope.push(obj.id);\n }\n if (typeof obj.$ref === \"string\" && typeof obj.__$refResolved === \"undefined\") {\n results.push({\n ref: mergeReference(scope, obj.$ref),\n key: \"$ref\",\n obj: obj,\n path: path.slice(0)\n });\n }\n if (typeof obj.$schema === \"string\" && typeof obj.__$schemaResolved === \"undefined\") {\n results.push({\n ref: mergeReference(scope, obj.$schema),\n key: \"$schema\",\n obj: obj,\n path: path.slice(0)\n });\n }\n var idx;\n if (Array.isArray(obj)) {\n idx = obj.length;\n while (idx--) {\n path.push(idx.toString());\n collectReferences(obj[idx], results, scope, path);\n path.pop();\n }\n } else {\n var keys = Object.keys(obj);\n idx = keys.length;\n while (idx--) {\n if (keys[idx].indexOf(\"__$\") === 0) {\n continue;\n }\n path.push(keys[idx]);\n collectReferences(obj[keys[idx]], results, scope, path);\n path.pop();\n }\n }\n if (typeof obj.id === \"string\") {\n scope.pop();\n }\n return results;\n}\nvar compileArrayOfSchemasLoop = function(mainReport, arr) {\n var idx = arr.length,\n compiledCount = 0;\n while (idx--) {\n var report = new Report(mainReport);\n var isValid = exports.compileSchema.call(this, report, arr[idx]);\n if (isValid) {\n compiledCount++;\n }\n mainReport.errors = mainReport.errors.concat(report.errors);\n }\n return compiledCount;\n};\nfunction findId(arr, id) {\n var idx = arr.length;\n while (idx--) {\n if (arr[idx].id === id) {\n return arr[idx];\n }\n }\n return null;\n}\nvar compileArrayOfSchemas = function(report, arr) {\n var compiled = 0,\n lastLoopCompiled;\n do {\n var idx = report.errors.length;\n while (idx--) {\n if (report.errors[idx].code === \"UNRESOLVABLE_REFERENCE\") {\n report.errors.splice(idx, 1);\n }\n }\n lastLoopCompiled = compiled;\n compiled = compileArrayOfSchemasLoop.call(this, report, arr);\n idx = arr.length;\n while (idx--) {\n var sch = arr[idx];\n if (sch.__$missingReferences) {\n var idx2 = sch.__$missingReferences.length;\n while (idx2--) {\n var refObj = sch.__$missingReferences[idx2];\n var response = findId(arr, refObj.ref);\n if (response) {\n refObj.obj[\"__\" + refObj.key + \"Resolved\"] = response;\n sch.__$missingReferences.splice(idx2, 1);\n }\n }\n if (sch.__$missingReferences.length === 0) {\n delete sch.__$missingReferences;\n }\n }\n }\n } while (compiled !== arr.length && compiled !== lastLoopCompiled);\n return report.isValid();\n};\nexports.compileSchema = function(report, schema) {\n report.commonErrorMessage = \"SCHEMA_COMPILATION_FAILED\";\n if (typeof schema === \"string\") {\n var loadedSchema = SchemaCache.getSchemaByUri.call(this, report, schema);\n if (!loadedSchema) {\n report.addError(\"SCHEMA_NOT_REACHABLE\", [schema]);\n return false;\n }\n schema = loadedSchema;\n }\n if (Array.isArray(schema)) {\n return compileArrayOfSchemas.call(this, report, schema);\n }\n if (schema.__$compiled && schema.id && SchemaCache.checkCacheForUri.call(this, schema.id) === false) {\n schema.__$compiled = undefined;\n }\n if (schema.__$compiled) {\n return true;\n }\n if (schema.id && typeof schema.id === \"string\") {\n SchemaCache.cacheSchemaByUri.call(this, schema.id, schema);\n }\n var isRoot = false;\n if (!report.rootSchema) {\n report.rootSchema = schema;\n isRoot = true;\n }\n var isValidExceptReferences = report.isValid();\n delete schema.__$missingReferences;\n var refs = collectReferences.call(this, schema),\n idx = refs.length;\n while (idx--) {\n var refObj = refs[idx];\n var response = SchemaCache.getSchemaByUri.call(this, report, refObj.ref, schema);\n if (!response) {\n var schemaReader = this.getSchemaReader();\n if (schemaReader) {\n var s = schemaReader(refObj.ref);\n if (s) {\n s.id = refObj.ref;\n var subreport = new Report(report);\n if (!exports.compileSchema.call(this, subreport, s)) {\n report.errors = report.errors.concat(subreport.errors);\n } else {\n response = SchemaCache.getSchemaByUri.call(this, report, refObj.ref, schema);\n }\n }\n }\n }\n if (!response) {\n var hasNotValid = report.hasError(\"REMOTE_NOT_VALID\", [refObj.ref]);\n var isAbsolute = Utils.isAbsoluteUri(refObj.ref);\n var isDownloaded = false;\n var ignoreUnresolvableRemotes = this.options.ignoreUnresolvableReferences === true;\n if (isAbsolute) {\n isDownloaded = SchemaCache.checkCacheForUri.call(this, refObj.ref);\n }\n if (hasNotValid) {} else if (ignoreUnresolvableRemotes && isAbsolute) {} else if (isDownloaded) {} else {\n Array.prototype.push.apply(report.path, refObj.path);\n report.addError(\"UNRESOLVABLE_REFERENCE\", [refObj.ref]);\n report.path = report.path.slice(0, -refObj.path.length);\n if (isValidExceptReferences) {\n schema.__$missingReferences = schema.__$missingReferences || [];\n schema.__$missingReferences.push(refObj);\n }\n }\n }\n refObj.obj[\"__\" + refObj.key + \"Resolved\"] = response;\n }\n var isValid = report.isValid();\n if (isValid) {\n schema.__$compiled = true;\n } else {\n if (schema.id && typeof schema.id === \"string\") {\n SchemaCache.removeFromCacheByUri.call(this, schema.id);\n }\n }\n if (isRoot) {\n report.rootSchema = undefined;\n }\n return isValid;\n};\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toInt;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toInt(str, radix) {\n (0, _assertString2.default)(str);\n return parseInt(str, radix || 10);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toBoolean;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toBoolean(str, strict) {\n (0, _assertString2.default)(str);\n if (strict) {\n return str === '1' || str === 'true';\n }\n return str !== '0' && str !== 'false' && str !== '';\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = equals;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction equals(str, comparison) {\n (0, _assertString2.default)(str);\n return str === comparison;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = contains;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toString = require('./util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction contains(str, elem) {\n (0, _assertString2.default)(str);\n return str.indexOf((0, _toString2.default)(elem)) >= 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = matches;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction matches(str, pattern, modifiers) {\n (0, _assertString2.default)(str);\n if (Object.prototype.toString.call(pattern) !== '[object RegExp]') {\n pattern = new RegExp(pattern, modifiers);\n }\n return pattern.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isURL;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isFQDN = require('./isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nvar _isIP = require('./isIP');\nvar _isIP2 = _interopRequireDefault(_isIP);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_url_options = {\n protocols: ['http', 'https', 'ftp'],\n require_tld: true,\n require_protocol: false,\n require_valid_protocol: true,\n allow_underscores: false,\n allow_trailing_dot: false,\n allow_protocol_relative_urls: false\n};\nfunction isURL(url, options) {\n (0, _assertString2.default)(url);\n if (!url || url.length >= 2083 || /\\s/.test(url)) {\n return false;\n }\n if (url.indexOf('mailto:') === 0) {\n return false;\n }\n options = (0, _merge2.default)(options, default_url_options);\n var protocol = void 0,\n auth = void 0,\n host = void 0,\n hostname = void 0,\n port = void 0,\n port_str = void 0,\n split = void 0;\n split = url.split('#');\n url = split.shift();\n split = url.split('?');\n url = split.shift();\n split = url.split('://');\n if (split.length > 1) {\n protocol = split.shift();\n if (options.require_valid_protocol && options.protocols.indexOf(protocol) === -1) {\n return false;\n }\n } else if (options.require_protocol) {\n return false;\n } else if (options.allow_protocol_relative_urls && url.substr(0, 2) === '//') {\n split[0] = url.substr(2);\n }\n url = split.join('://');\n split = url.split('/');\n url = split.shift();\n split = url.split('@');\n if (split.length > 1) {\n auth = split.shift();\n if (auth.indexOf(':') >= 0 && auth.split(':').length > 2) {\n return false;\n }\n }\n hostname = split.join('@');\n split = hostname.split(':');\n host = split.shift();\n if (split.length) {\n port_str = split.join(':');\n port = parseInt(port_str, 10);\n if (!/^[0-9]+$/.test(port_str) || port <= 0 || port > 65535) {\n return false;\n }\n }\n if (!(0, _isIP2.default)(host) && !(0, _isFQDN2.default)(host, options) && host !== 'localhost') {\n return false;\n }\n if (options.host_whitelist && options.host_whitelist.indexOf(host) === -1) {\n return false;\n }\n if (options.host_blacklist && options.host_blacklist.indexOf(host) !== -1) {\n return false;\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMACAddress;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar macAddress = /^([0-9a-fA-F][0-9a-fA-F]:){5}([0-9a-fA-F][0-9a-fA-F])$/;\nfunction isMACAddress(str) {\n (0, _assertString2.default)(str);\n return macAddress.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isIP;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar ipv4Maybe = /^(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})\\.(\\d{1,3})$/;\nvar ipv6Block = /^[0-9A-F]{1,4}$/i;\nfunction isIP(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1];\n (0, _assertString2.default)(str);\n version = String(version);\n if (!version) {\n return isIP(str, 4) || isIP(str, 6);\n } else if (version === '4') {\n if (!ipv4Maybe.test(str)) {\n return false;\n }\n var parts = str.split('.').sort(function(a, b) {\n return a - b;\n });\n return parts[3] <= 255;\n } else if (version === '6') {\n var blocks = str.split(':');\n var foundOmissionBlock = false;\n var foundIPv4TransitionBlock = isIP(blocks[blocks.length - 1], 4);\n var expectedNumberOfBlocks = foundIPv4TransitionBlock ? 7 : 8;\n if (blocks.length > expectedNumberOfBlocks) {\n return false;\n }\n if (str === '::') {\n return true;\n } else if (str.substr(0, 2) === '::') {\n blocks.shift();\n blocks.shift();\n foundOmissionBlock = true;\n } else if (str.substr(str.length - 2) === '::') {\n blocks.pop();\n blocks.pop();\n foundOmissionBlock = true;\n }\n for (var i = 0; i < blocks.length; ++i) {\n if (blocks[i] === '' && i > 0 && i < blocks.length - 1) {\n if (foundOmissionBlock) {\n return false;\n }\n foundOmissionBlock = true;\n } else if (foundIPv4TransitionBlock && i === blocks.length - 1) {} else if (!ipv6Block.test(blocks[i])) {\n return false;\n }\n }\n if (foundOmissionBlock) {\n return blocks.length >= 1;\n }\n return blocks.length === expectedNumberOfBlocks;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBoolean;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isBoolean(str) {\n (0, _assertString2.default)(str);\n return ['true', 'false', '1', '0'].indexOf(str) >= 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAlpha;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _alpha = require('./alpha');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAlpha(str) {\n var locale = arguments.length <= 1 || arguments[1] === undefined ? 'en-US' : arguments[1];\n (0, _assertString2.default)(str);\n if (locale in _alpha.alpha) {\n return _alpha.alpha[locale].test(str);\n }\n throw new Error('Invalid locale \\'' + locale + '\\'');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar alpha = exports.alpha = {\n 'en-US': /^[A-Z]+$/i,\n 'cs-CZ': /^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'de-DE': /^[A-ZÄÖÜß]+$/i,\n 'es-ES': /^[A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fr-FR': /^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'nl-NL': /^[A-ZÉËÏÓÖÜ]+$/i,\n 'pl-PL': /^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,\n 'ru-RU': /^[А-ЯЁа-яё]+$/i,\n 'tr-TR': /^[A-ZÇĞİıÖŞÜ]+$/i,\n ar: /^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/\n};\n\nvar alphanumeric = exports.alphanumeric = {\n 'en-US': /^[0-9A-Z]+$/i,\n 'cs-CZ': /^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,\n 'de-DE': /^[0-9A-ZÄÖÜß]+$/i,\n 'es-ES': /^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,\n 'fr-FR': /^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,\n 'nl-NL': /^[0-9A-ZÉËÏÓÖÜ]+$/i,\n 'pl-PL': /^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,\n 'pt-PT': /^[0-9A-ZÃÁÀÂÇÉÊÍÕÓÔÚÜ]+$/i,\n 'ru-RU': /^[0-9А-ЯЁа-яё]+$/i,\n 'tr-TR': /^[0-9A-ZÇĞİıÖŞÜ]+$/i,\n ar: /^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/\n};\n\nvar englishLocales = exports.englishLocales = ['AU', 'GB', 'HK', 'IN', 'NZ', 'ZA', 'ZM'];\n\nfor (var locale, i = 0; i < englishLocales.length; i++) {\n locale = 'en-' + englishLocales[i];\n alpha[locale] = alpha['en-US'];\n alphanumeric[locale] = alphanumeric['en-US'];\n}\n\n// Source: http://www.localeplanet.com/java/\nvar arabicLocales = exports.arabicLocales = ['AE', 'BH', 'DZ', 'EG', 'IQ', 'JO', 'KW', 'LB', 'LY', 'MA', 'QM', 'QA', 'SA', 'SD', 'SY', 'TN', 'YE'];\n\nfor (var _locale, _i = 0; _i < arabicLocales.length; _i++) {\n _locale = 'ar-' + arabicLocales[_i];\n alpha[_locale] = alpha.ar;\n alphanumeric[_locale] = alphanumeric.ar;\n}","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAlphanumeric;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _alpha = require('./alpha');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAlphanumeric(str) {\n var locale = arguments.length <= 1 || arguments[1] === undefined ? 'en-US' : arguments[1];\n (0, _assertString2.default)(str);\n if (locale in _alpha.alphanumeric) {\n return _alpha.alphanumeric[locale].test(str);\n }\n throw new Error('Invalid locale \\'' + locale + '\\'');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isNumeric;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar numeric = /^[-+]?[0-9]+$/;\nfunction isNumeric(str) {\n (0, _assertString2.default)(str);\n return numeric.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isLowercase;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isLowercase(str) {\n (0, _assertString2.default)(str);\n return str === str.toLowerCase();\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isUppercase;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isUppercase(str) {\n (0, _assertString2.default)(str);\n return str === str.toUpperCase();\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAscii;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar ascii = /^[\\x00-\\x7F]+$/;\nfunction isAscii(str) {\n (0, _assertString2.default)(str);\n return ascii.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.fullWidth = undefined;\nexports.default = isFullWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar fullWidth = exports.fullWidth = /[^\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nfunction isFullWidth(str) {\n (0, _assertString2.default)(str);\n return fullWidth.test(str);\n}\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.halfWidth = undefined;\nexports.default = isHalfWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar halfWidth = exports.halfWidth = /[\\u0020-\\u007E\\uFF61-\\uFF9F\\uFFA0-\\uFFDC\\uFFE8-\\uFFEE0-9a-zA-Z]/;\nfunction isHalfWidth(str) {\n (0, _assertString2.default)(str);\n return halfWidth.test(str);\n}\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isVariableWidth;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isFullWidth = require('./isFullWidth');\nvar _isHalfWidth = require('./isHalfWidth');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isVariableWidth(str) {\n (0, _assertString2.default)(str);\n return _isFullWidth.fullWidth.test(str) && _isHalfWidth.halfWidth.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMultibyte;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar multibyte = /[^\\x00-\\x7F]/;\nfunction isMultibyte(str) {\n (0, _assertString2.default)(str);\n return multibyte.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isSurrogatePair;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar surrogatePair = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/;\nfunction isSurrogatePair(str) {\n (0, _assertString2.default)(str);\n return surrogatePair.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isInt;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar int = /^(?:[-+]?(?:0|[1-9][0-9]*))$/;\nfunction isInt(str, options) {\n (0, _assertString2.default)(str);\n options = options || {};\n return int.test(str) && (!options.hasOwnProperty('min') || str >= options.min) && (!options.hasOwnProperty('max') || str <= options.max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isFloat;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar float = /^(?:[-+]?(?:[0-9]+))?(?:\\.[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$/;\nfunction isFloat(str, options) {\n (0, _assertString2.default)(str);\n options = options || {};\n if (str === '' || str === '.') {\n return false;\n }\n return float.test(str) && (!options.hasOwnProperty('min') || str >= options.min) && (!options.hasOwnProperty('max') || str <= options.max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDecimal;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar decimal = /^[-+]?([0-9]+|\\.[0-9]+|[0-9]+\\.[0-9]+)$/;\nfunction isDecimal(str) {\n (0, _assertString2.default)(str);\n return str !== '' && decimal.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toFloat;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toFloat(str) {\n (0, _assertString2.default)(str);\n return parseFloat(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDivisibleBy;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toFloat = require('./toFloat');\nvar _toFloat2 = _interopRequireDefault(_toFloat);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isDivisibleBy(str, num) {\n (0, _assertString2.default)(str);\n return (0, _toFloat2.default)(str) % parseInt(num, 10) === 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isHexColor;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar hexcolor = /^#?([0-9A-F]{3}|[0-9A-F]{6})$/i;\nfunction isHexColor(str) {\n (0, _assertString2.default)(str);\n return hexcolor.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isJSON;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isJSON(str) {\n (0, _assertString2.default)(str);\n try {\n var obj = JSON.parse(str);\n return !!obj && (typeof obj === 'undefined' ? 'undefined' : _typeof(obj)) === 'object';\n } catch (e) {}\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isNull;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isNull(str) {\n (0, _assertString2.default)(str);\n return str.length === 0;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isLength;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isLength(str, options) {\n (0, _assertString2.default)(str);\n var min = void 0;\n var max = void 0;\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n min = arguments[1];\n max = arguments[2];\n }\n var surrogatePairs = str.match(/[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g) || [];\n var len = str.length - surrogatePairs.length;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isUUID;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar uuid = {\n 3: /^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,\n 4: /^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n 5: /^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,\n all: /^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i\n};\nfunction isUUID(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? 'all' : arguments[1];\n (0, _assertString2.default)(str);\n var pattern = uuid[version];\n return pattern && pattern.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isHexadecimal;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar hexadecimal = /^[0-9A-F]+$/i;\nfunction isHexadecimal(str) {\n (0, _assertString2.default)(str);\n return hexadecimal.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMongoId;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isHexadecimal = require('./isHexadecimal');\nvar _isHexadecimal2 = _interopRequireDefault(_isHexadecimal);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isMongoId(str) {\n (0, _assertString2.default)(str);\n return (0, _isHexadecimal2.default)(str) && str.length === 24;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDate;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _isISO = require('./isISO8601');\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction getTimezoneOffset(str) {\n var iso8601Parts = str.match(_isISO.iso8601);\n var timezone = void 0,\n sign = void 0,\n hours = void 0,\n minutes = void 0;\n if (!iso8601Parts) {\n str = str.toLowerCase();\n timezone = str.match(/(?:\\s|gmt\\s*)(-|\\+)(\\d{1,4})(\\s|$)/);\n if (!timezone) {\n return str.indexOf('gmt') !== -1 ? 0 : null;\n }\n sign = timezone[1];\n var offset = timezone[2];\n if (offset.length === 3) {\n offset = '0' + offset;\n }\n if (offset.length <= 2) {\n hours = 0;\n minutes = parseInt(offset, 10);\n } else {\n hours = parseInt(offset.slice(0, 2), 10);\n minutes = parseInt(offset.slice(2, 4), 10);\n }\n } else {\n timezone = iso8601Parts[21];\n if (!timezone) {\n return !iso8601Parts[12] ? 0 : null;\n }\n if (timezone === 'z' || timezone === 'Z') {\n return 0;\n }\n sign = iso8601Parts[22];\n if (timezone.indexOf(':') !== -1) {\n hours = parseInt(iso8601Parts[23], 10);\n minutes = parseInt(iso8601Parts[24], 10);\n } else {\n hours = 0;\n minutes = parseInt(iso8601Parts[23], 10);\n }\n }\n return (hours * 60 + minutes) * (sign === '-' ? 1 : -1);\n}\nfunction isDate(str) {\n (0, _assertString2.default)(str);\n var normalizedDate = new Date(Date.parse(str));\n if (isNaN(normalizedDate)) {\n return false;\n }\n var timezoneOffset = getTimezoneOffset(str);\n if (timezoneOffset !== null) {\n var timezoneDifference = normalizedDate.getTimezoneOffset() - timezoneOffset;\n normalizedDate = new Date(normalizedDate.getTime() + 60000 * timezoneDifference);\n }\n var day = String(normalizedDate.getDate());\n var dayOrYear = void 0,\n dayOrYearMatches = void 0,\n year = void 0;\n dayOrYearMatches = str.match(/(^|[^:\\d])[23]\\d([^:\\d]|$)/g);\n if (!dayOrYearMatches) {\n return true;\n }\n dayOrYear = dayOrYearMatches.map(function(digitString) {\n return digitString.match(/\\d+/g)[0];\n }).join('/');\n year = String(normalizedDate.getFullYear()).slice(-2);\n if (dayOrYear === day || dayOrYear === year) {\n return true;\n } else if (dayOrYear === '' + day / year || dayOrYear === '' + year / day) {\n return true;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isAfter;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toDate = require('./toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isAfter(str) {\n var date = arguments.length <= 1 || arguments[1] === undefined ? String(new Date()) : arguments[1];\n (0, _assertString2.default)(str);\n var comparison = (0, _toDate2.default)(date);\n var original = (0, _toDate2.default)(str);\n return !!(original && comparison && original > comparison);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = toDate;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction toDate(date) {\n (0, _assertString2.default)(date);\n date = Date.parse(date);\n return !isNaN(date) ? new Date(date) : null;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBefore;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toDate = require('./toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isBefore(str) {\n var date = arguments.length <= 1 || arguments[1] === undefined ? String(new Date()) : arguments[1];\n (0, _assertString2.default)(str);\n var comparison = (0, _toDate2.default)(date);\n var original = (0, _toDate2.default)(str);\n return !!(original && comparison && original < comparison);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isIn;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _toString = require('./util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isIn(str, options) {\n (0, _assertString2.default)(str);\n var i = void 0;\n if (Object.prototype.toString.call(options) === '[object Array]') {\n var array = [];\n for (i in options) {\n if ({}.hasOwnProperty.call(options, i)) {\n array[i] = (0, _toString2.default)(options[i]);\n }\n }\n return array.indexOf(str) >= 0;\n } else if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n return options.hasOwnProperty(str);\n } else if (options && typeof options.indexOf === 'function') {\n return options.indexOf(str) >= 0;\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isCreditCard;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar creditCard = /^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\\d{3})\\d{11})$/;\nfunction isCreditCard(str) {\n (0, _assertString2.default)(str);\n var sanitized = str.replace(/[^0-9]+/g, '');\n if (!creditCard.test(sanitized)) {\n return false;\n }\n var sum = 0;\n var digit = void 0;\n var tmpNum = void 0;\n var shouldDouble = void 0;\n for (var i = sanitized.length - 1; i >= 0; i--) {\n digit = sanitized.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += tmpNum % 10 + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n return !!(sum % 10 === 0 ? sanitized : false);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isISIN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar isin = /^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;\nfunction isISIN(str) {\n (0, _assertString2.default)(str);\n if (!isin.test(str)) {\n return false;\n }\n var checksumStr = str.replace(/[A-Z]/g, function(character) {\n return parseInt(character, 36);\n });\n var sum = 0;\n var digit = void 0;\n var tmpNum = void 0;\n var shouldDouble = true;\n for (var i = checksumStr.length - 2; i >= 0; i--) {\n digit = checksumStr.substring(i, i + 1);\n tmpNum = parseInt(digit, 10);\n if (shouldDouble) {\n tmpNum *= 2;\n if (tmpNum >= 10) {\n sum += tmpNum + 1;\n } else {\n sum += tmpNum;\n }\n } else {\n sum += tmpNum;\n }\n shouldDouble = !shouldDouble;\n }\n return parseInt(str.substr(str.length - 1), 10) === (10000 - sum) % 10;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isISBN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar isbn10Maybe = /^(?:[0-9]{9}X|[0-9]{10})$/;\nvar isbn13Maybe = /^(?:[0-9]{13})$/;\nvar factor = [1, 3];\nfunction isISBN(str) {\n var version = arguments.length <= 1 || arguments[1] === undefined ? '' : arguments[1];\n (0, _assertString2.default)(str);\n version = String(version);\n if (!version) {\n return isISBN(str, 10) || isISBN(str, 13);\n }\n var sanitized = str.replace(/[\\s-]+/g, '');\n var checksum = 0;\n var i = void 0;\n if (version === '10') {\n if (!isbn10Maybe.test(sanitized)) {\n return false;\n }\n for (i = 0; i < 9; i++) {\n checksum += (i + 1) * sanitized.charAt(i);\n }\n if (sanitized.charAt(9) === 'X') {\n checksum += 10 * 10;\n } else {\n checksum += 10 * sanitized.charAt(9);\n }\n if (checksum % 11 === 0) {\n return !!sanitized;\n }\n } else if (version === '13') {\n if (!isbn13Maybe.test(sanitized)) {\n return false;\n }\n for (i = 0; i < 12; i++) {\n checksum += factor[i % 2] * sanitized.charAt(i);\n }\n if (sanitized.charAt(12) - (10 - checksum % 10) % 10 === 0) {\n return !!sanitized;\n }\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isMobilePhone;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar phones = {\n 'ar-SY': /^(!?(\\+?963)|0)?9\\d{8}$/,\n 'en-US': /^(\\+?1)?[2-9]\\d{2}[2-9](?!11)\\d{6}$/,\n 'cs-CZ': /^(\\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,\n 'de-DE': /^(\\+?49[ \\.\\-])?([\\(]{1}[0-9]{1,6}[\\)])?([0-9 \\.\\-\\/]{3,20})((x|ext|extension)[ ]?[0-9]{1,4})?$/,\n 'el-GR': /^(\\+?30)?(69\\d{8})$/,\n 'en-AU': /^(\\+?61|0)4\\d{8}$/,\n 'en-GB': /^(\\+?44|0)7\\d{9}$/,\n 'en-HK': /^(\\+?852\\-?)?[569]\\d{3}\\-?\\d{4}$/,\n 'en-IN': /^(\\+?91|0)?[789]\\d{9}$/,\n 'en-NZ': /^(\\+?64|0)2\\d{7,9}$/,\n 'en-ZA': /^(\\+?27|0)\\d{9}$/,\n 'en-ZM': /^(\\+?26)?09[567]\\d{7}$/,\n 'es-ES': /^(\\+?34)?(6\\d{1}|7[1234])\\d{7}$/,\n 'fi-FI': /^(\\+?358|0)\\s?(4(0|1|2|4|5)?|50)\\s?(\\d\\s?){4,8}\\d$/,\n 'fr-FR': /^(\\+?33|0)[67]\\d{8}$/,\n 'ms-MY': /^(\\+?6?01){1}(([145]{1}(\\-|\\s)?\\d{7,8})|([236789]{1}(\\s|\\-)?\\d{7}))$/,\n 'nb-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'nn-NO': /^(\\+?47)?[49]\\d{7}$/,\n 'pt-BR': /^(\\+?55|0)\\-?[1-9]{2}\\-?[2-9]{1}\\d{3,4}\\-?\\d{4}$/,\n 'pt-PT': /^(\\+?351)?9[1236]\\d{7}$/,\n 'ru-RU': /^(\\+?7|8)?9\\d{9}$/,\n 'tr-TR': /^(\\+?90|0)?5\\d{9}$/,\n 'vi-VN': /^(\\+?84|0)?((1(2([0-9])|6([2-9])|88|99))|(9((?!5)[0-9])))([0-9]{7})$/,\n 'zh-CN': /^(\\+?0?86\\-?)?((13\\d|14[57]|15[^4,\\D]|17[678]|18\\d)\\d{8}|170[059]\\d{7})$/,\n 'zh-TW': /^(\\+?886\\-?|0)?9\\d{8}$/\n};\nfunction isMobilePhone(str, locale) {\n (0, _assertString2.default)(str);\n if (locale in phones) {\n return phones[locale].test(str);\n }\n return false;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isCurrency;\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction currencyRegex(options) {\n var symbol = '(\\\\' + options.symbol.replace(/\\./g, '\\\\.') + ')' + (options.require_symbol ? '' : '?'),\n negative = '-?',\n whole_dollar_amount_without_sep = '[1-9]\\\\d*',\n whole_dollar_amount_with_sep = '[1-9]\\\\d{0,2}(\\\\' + options.thousands_separator + '\\\\d{3})*',\n valid_whole_dollar_amounts = ['0', whole_dollar_amount_without_sep, whole_dollar_amount_with_sep],\n whole_dollar_amount = '(' + valid_whole_dollar_amounts.join('|') + ')?',\n decimal_amount = '(\\\\' + options.decimal_separator + '\\\\d{2})?';\n var pattern = whole_dollar_amount + decimal_amount;\n if (options.allow_negatives && !options.parens_for_negatives) {\n if (options.negative_sign_after_digits) {\n pattern += negative;\n } else if (options.negative_sign_before_digits) {\n pattern = negative + pattern;\n }\n }\n if (options.allow_negative_sign_placeholder) {\n pattern = '( (?!\\\\-))?' + pattern;\n } else if (options.allow_space_after_symbol) {\n pattern = ' ?' + pattern;\n } else if (options.allow_space_after_digits) {\n pattern += '( (?!$))?';\n }\n if (options.symbol_after_digits) {\n pattern += symbol;\n } else {\n pattern = symbol + pattern;\n }\n if (options.allow_negatives) {\n if (options.parens_for_negatives) {\n pattern = '(\\\\(' + pattern + '\\\\)|' + pattern + ')';\n } else if (!(options.negative_sign_before_digits || options.negative_sign_after_digits)) {\n pattern = negative + pattern;\n }\n }\n return new RegExp('^' + '(?!-? )(?=.*\\\\d)' + pattern + '$');\n}\nvar default_currency_options = {\n symbol: '$',\n require_symbol: false,\n allow_space_after_symbol: false,\n symbol_after_digits: false,\n allow_negatives: true,\n parens_for_negatives: false,\n negative_sign_before_digits: false,\n negative_sign_after_digits: false,\n allow_negative_sign_placeholder: false,\n thousands_separator: ',',\n decimal_separator: '.',\n allow_space_after_digits: false\n};\nfunction isCurrency(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_currency_options);\n return currencyRegex(options).test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.iso8601 = undefined;\nexports.default = function(str) {\n (0, _assertString2.default)(str);\n return iso8601.test(str);\n};\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar iso8601 = exports.iso8601 = /^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/;\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isBase64;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar notBase64 = /[^A-Z0-9+\\/=]/i;\nfunction isBase64(str) {\n (0, _assertString2.default)(str);\n var len = str.length;\n if (!len || len % 4 !== 0 || notBase64.test(str)) {\n return false;\n }\n var firstPaddingChar = str.indexOf('=');\n return firstPaddingChar === -1 || firstPaddingChar === len - 1 || firstPaddingChar === len - 2 && str[len - 1] === '=';\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isDataURI;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar dataURI = /^\\s*data:([a-z]+\\/[a-z0-9\\-\\+]+(;[a-z\\-]+\\=[a-z0-9\\-]+)?)?(;base64)?,[a-z0-9\\!\\$\\&\\'\\,\\(\\)\\*\\+\\,\\;\\=\\-\\.\\_\\~\\:\\@\\/\\?\\%\\s]*\\s*$/i;\nfunction isDataURI(str) {\n (0, _assertString2.default)(str);\n return dataURI.test(str);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = ltrim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction ltrim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('^[' + chars + ']+', 'g') : /^\\s+/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = rtrim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction rtrim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('[' + chars + ']+$', 'g') : /\\s+$/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = trim;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction trim(str, chars) {\n (0, _assertString2.default)(str);\n var pattern = chars ? new RegExp('^[' + chars + ']+|[' + chars + ']+$', 'g') : /^\\s+|\\s+$/g;\n return str.replace(pattern, '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = escape;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction escape(str) {\n (0, _assertString2.default)(str);\n return str.replace(/&/g, '&').replace(/\"/g, '"').replace(/'/g, ''').replace(/</g, '<').replace(/>/g, '>').replace(/\\//g, '/').replace(/\\`/g, '`');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = unescape;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction unescape(str) {\n (0, _assertString2.default)(str);\n return str.replace(/&/g, '&').replace(/"/g, '\"').replace(/'/g, \"'\").replace(/</g, '<').replace(/>/g, '>').replace(///g, '\\/').replace(/`/g, '\\`');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = stripLow;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _blacklist = require('./blacklist');\nvar _blacklist2 = _interopRequireDefault(_blacklist);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction stripLow(str, keep_new_lines) {\n (0, _assertString2.default)(str);\n var chars = keep_new_lines ? '\\\\x00-\\\\x09\\\\x0B\\\\x0C\\\\x0E-\\\\x1F\\\\x7F' : '\\\\x00-\\\\x1F\\\\x7F';\n return (0, _blacklist2.default)(str, chars);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = whitelist;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction whitelist(str, chars) {\n (0, _assertString2.default)(str);\n return str.replace(new RegExp('[^' + chars + ']+', 'g'), '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = blacklist;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction blacklist(str, chars) {\n (0, _assertString2.default)(str);\n return str.replace(new RegExp('[' + chars + ']+', 'g'), '');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isWhitelisted;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isWhitelisted(str, chars) {\n (0, _assertString2.default)(str);\n for (var i = str.length - 1; i >= 0; i--) {\n if (chars.indexOf(str[i]) === -1) {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function(obj) {\n return typeof obj;\n} : function(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj;\n};\nexports.default = isByteLength;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nfunction isByteLength(str, options) {\n (0, _assertString2.default)(str);\n var min = void 0;\n var max = void 0;\n if ((typeof options === 'undefined' ? 'undefined' : _typeof(options)) === 'object') {\n min = options.min || 0;\n max = options.max;\n } else {\n min = arguments[1];\n max = arguments[2];\n }\n var len = encodeURI(str).split(/%..|./).length - 1;\n return len >= min && (typeof max === 'undefined' || len <= max);\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = assertString;\nfunction assertString(input) {\n if (typeof input !== 'string') {\n throw new TypeError('This library (validator.js) validates strings only');\n }\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isFDQN;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_fqdn_options = {\n require_tld: true,\n allow_underscores: false,\n allow_trailing_dot: false\n};\nfunction isFDQN(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_fqdn_options);\n if (options.allow_trailing_dot && str[str.length - 1] === '.') {\n str = str.substring(0, str.length - 1);\n }\n var parts = str.split('.');\n if (options.require_tld) {\n var tld = parts.pop();\n if (!parts.length || !/^([a-z\\u00a1-\\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(tld)) {\n return false;\n }\n }\n for (var part,\n i = 0; i < parts.length; i++) {\n part = parts[i];\n if (options.allow_underscores) {\n part = part.replace(/_/g, '');\n }\n if (!/^[a-z\\u00a1-\\uffff0-9-]+$/i.test(part)) {\n return false;\n }\n if (/[\\uff01-\\uff5e]/.test(part)) {\n return false;\n }\n if (part[0] === '-' || part[part.length - 1] === '-') {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = isEmail;\nvar _assertString = require('./util/assertString');\nvar _assertString2 = _interopRequireDefault(_assertString);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nvar _isByteLength = require('./isByteLength');\nvar _isByteLength2 = _interopRequireDefault(_isByteLength);\nvar _isFQDN = require('./isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_email_options = {\n allow_display_name: false,\n allow_utf8_local_part: true,\n require_tld: true\n};\nvar displayName = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\.\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF\\s]*<(.+)>$/i;\nvar emailUserPart = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~]+$/i;\nvar quotedEmailUser = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f]))*$/i;\nvar emailUserUtf8Part = /^[a-z\\d!#\\$%&'\\*\\+\\-\\/=\\?\\^_`{\\|}~\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]+$/i;\nvar quotedEmailUserUtf8 = /^([\\s\\x01-\\x08\\x0b\\x0c\\x0e-\\x1f\\x7f\\x21\\x23-\\x5b\\x5d-\\x7e\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]|(\\\\[\\x01-\\x09\\x0b\\x0c\\x0d-\\x7f\\u00A0-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]))*$/i;\nfunction isEmail(str, options) {\n (0, _assertString2.default)(str);\n options = (0, _merge2.default)(options, default_email_options);\n if (options.allow_display_name) {\n var display_email = str.match(displayName);\n if (display_email) {\n str = display_email[1];\n }\n }\n var parts = str.split('@');\n var domain = parts.pop();\n var user = parts.join('@');\n var lower_domain = domain.toLowerCase();\n if (lower_domain === 'gmail.com' || lower_domain === 'googlemail.com') {\n user = user.replace(/\\./g, '').toLowerCase();\n }\n if (!(0, _isByteLength2.default)(user, {max: 64}) || !(0, _isByteLength2.default)(domain, {max: 256})) {\n return false;\n }\n if (!(0, _isFQDN2.default)(domain, {require_tld: options.require_tld})) {\n return false;\n }\n if (user[0] === '\"') {\n user = user.slice(1, user.length - 1);\n return options.allow_utf8_local_part ? quotedEmailUserUtf8.test(user) : quotedEmailUser.test(user);\n }\n var pattern = options.allow_utf8_local_part ? emailUserUtf8Part : emailUserPart;\n var user_parts = user.split('.');\n for (var i = 0; i < user_parts.length; i++) {\n if (!pattern.test(user_parts[i])) {\n return false;\n }\n }\n return true;\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = merge;\nfunction merge() {\n var obj = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var defaults = arguments[1];\n\n for (var key in defaults) {\n if (typeof obj[key] === 'undefined') {\n obj[key] = defaults[key];\n }\n }\n return obj;\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nexports.default = normalizeEmail;\nvar _isEmail = require('./isEmail');\nvar _isEmail2 = _interopRequireDefault(_isEmail);\nvar _merge = require('./util/merge');\nvar _merge2 = _interopRequireDefault(_merge);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar default_normalize_email_options = {\n lowercase: true,\n remove_dots: true,\n remove_extension: true\n};\nfunction normalizeEmail(email, options) {\n options = (0, _merge2.default)(options, default_normalize_email_options);\n if (!(0, _isEmail2.default)(email)) {\n return false;\n }\n var parts = email.split('@', 2);\n parts[1] = parts[1].toLowerCase();\n if (parts[1] === 'gmail.com' || parts[1] === 'googlemail.com') {\n if (options.remove_extension) {\n parts[0] = parts[0].split('+')[0];\n }\n if (options.remove_dots) {\n parts[0] = parts[0].replace(/\\./g, '');\n }\n if (!parts[0].length) {\n return false;\n }\n parts[0] = parts[0].toLowerCase();\n parts[1] = 'gmail.com';\n } else if (options.lowercase) {\n parts[0] = parts[0].toLowerCase();\n }\n return parts.join('@');\n}\nmodule.exports = exports['default'];\n","/* */ \n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\nexports.default = toString;\nfunction toString(input) {\n if ((typeof input === 'undefined' ? 'undefined' : _typeof(input)) === 'object' && input !== null) {\n if (typeof input.toString === 'function') {\n input = input.toString();\n } else {\n input = '[object Object]';\n }\n } else if (input === null || typeof input === 'undefined' || isNaN(input) && !input.length) {\n input = '';\n }\n return String(input);\n}\nmodule.exports = exports['default'];","/* */ \n'use strict';\nObject.defineProperty(exports, \"__esModule\", {value: true});\nvar _toDate = require('./lib/toDate');\nvar _toDate2 = _interopRequireDefault(_toDate);\nvar _toFloat = require('./lib/toFloat');\nvar _toFloat2 = _interopRequireDefault(_toFloat);\nvar _toInt = require('./lib/toInt');\nvar _toInt2 = _interopRequireDefault(_toInt);\nvar _toBoolean = require('./lib/toBoolean');\nvar _toBoolean2 = _interopRequireDefault(_toBoolean);\nvar _equals = require('./lib/equals');\nvar _equals2 = _interopRequireDefault(_equals);\nvar _contains = require('./lib/contains');\nvar _contains2 = _interopRequireDefault(_contains);\nvar _matches = require('./lib/matches');\nvar _matches2 = _interopRequireDefault(_matches);\nvar _isEmail = require('./lib/isEmail');\nvar _isEmail2 = _interopRequireDefault(_isEmail);\nvar _isURL = require('./lib/isURL');\nvar _isURL2 = _interopRequireDefault(_isURL);\nvar _isMACAddress = require('./lib/isMACAddress');\nvar _isMACAddress2 = _interopRequireDefault(_isMACAddress);\nvar _isIP = require('./lib/isIP');\nvar _isIP2 = _interopRequireDefault(_isIP);\nvar _isFQDN = require('./lib/isFQDN');\nvar _isFQDN2 = _interopRequireDefault(_isFQDN);\nvar _isBoolean = require('./lib/isBoolean');\nvar _isBoolean2 = _interopRequireDefault(_isBoolean);\nvar _isAlpha = require('./lib/isAlpha');\nvar _isAlpha2 = _interopRequireDefault(_isAlpha);\nvar _isAlphanumeric = require('./lib/isAlphanumeric');\nvar _isAlphanumeric2 = _interopRequireDefault(_isAlphanumeric);\nvar _isNumeric = require('./lib/isNumeric');\nvar _isNumeric2 = _interopRequireDefault(_isNumeric);\nvar _isLowercase = require('./lib/isLowercase');\nvar _isLowercase2 = _interopRequireDefault(_isLowercase);\nvar _isUppercase = require('./lib/isUppercase');\nvar _isUppercase2 = _interopRequireDefault(_isUppercase);\nvar _isAscii = require('./lib/isAscii');\nvar _isAscii2 = _interopRequireDefault(_isAscii);\nvar _isFullWidth = require('./lib/isFullWidth');\nvar _isFullWidth2 = _interopRequireDefault(_isFullWidth);\nvar _isHalfWidth = require('./lib/isHalfWidth');\nvar _isHalfWidth2 = _interopRequireDefault(_isHalfWidth);\nvar _isVariableWidth = require('./lib/isVariableWidth');\nvar _isVariableWidth2 = _interopRequireDefault(_isVariableWidth);\nvar _isMultibyte = require('./lib/isMultibyte');\nvar _isMultibyte2 = _interopRequireDefault(_isMultibyte);\nvar _isSurrogatePair = require('./lib/isSurrogatePair');\nvar _isSurrogatePair2 = _interopRequireDefault(_isSurrogatePair);\nvar _isInt = require('./lib/isInt');\nvar _isInt2 = _interopRequireDefault(_isInt);\nvar _isFloat = require('./lib/isFloat');\nvar _isFloat2 = _interopRequireDefault(_isFloat);\nvar _isDecimal = require('./lib/isDecimal');\nvar _isDecimal2 = _interopRequireDefault(_isDecimal);\nvar _isHexadecimal = require('./lib/isHexadecimal');\nvar _isHexadecimal2 = _interopRequireDefault(_isHexadecimal);\nvar _isDivisibleBy = require('./lib/isDivisibleBy');\nvar _isDivisibleBy2 = _interopRequireDefault(_isDivisibleBy);\nvar _isHexColor = require('./lib/isHexColor');\nvar _isHexColor2 = _interopRequireDefault(_isHexColor);\nvar _isJSON = require('./lib/isJSON');\nvar _isJSON2 = _interopRequireDefault(_isJSON);\nvar _isNull = require('./lib/isNull');\nvar _isNull2 = _interopRequireDefault(_isNull);\nvar _isLength = require('./lib/isLength');\nvar _isLength2 = _interopRequireDefault(_isLength);\nvar _isByteLength = require('./lib/isByteLength');\nvar _isByteLength2 = _interopRequireDefault(_isByteLength);\nvar _isUUID = require('./lib/isUUID');\nvar _isUUID2 = _interopRequireDefault(_isUUID);\nvar _isMongoId = require('./lib/isMongoId');\nvar _isMongoId2 = _interopRequireDefault(_isMongoId);\nvar _isDate = require('./lib/isDate');\nvar _isDate2 = _interopRequireDefault(_isDate);\nvar _isAfter = require('./lib/isAfter');\nvar _isAfter2 = _interopRequireDefault(_isAfter);\nvar _isBefore = require('./lib/isBefore');\nvar _isBefore2 = _interopRequireDefault(_isBefore);\nvar _isIn = require('./lib/isIn');\nvar _isIn2 = _interopRequireDefault(_isIn);\nvar _isCreditCard = require('./lib/isCreditCard');\nvar _isCreditCard2 = _interopRequireDefault(_isCreditCard);\nvar _isISIN = require('./lib/isISIN');\nvar _isISIN2 = _interopRequireDefault(_isISIN);\nvar _isISBN = require('./lib/isISBN');\nvar _isISBN2 = _interopRequireDefault(_isISBN);\nvar _isMobilePhone = require('./lib/isMobilePhone');\nvar _isMobilePhone2 = _interopRequireDefault(_isMobilePhone);\nvar _isCurrency = require('./lib/isCurrency');\nvar _isCurrency2 = _interopRequireDefault(_isCurrency);\nvar _isISO = require('./lib/isISO8601');\nvar _isISO2 = _interopRequireDefault(_isISO);\nvar _isBase = require('./lib/isBase64');\nvar _isBase2 = _interopRequireDefault(_isBase);\nvar _isDataURI = require('./lib/isDataURI');\nvar _isDataURI2 = _interopRequireDefault(_isDataURI);\nvar _ltrim = require('./lib/ltrim');\nvar _ltrim2 = _interopRequireDefault(_ltrim);\nvar _rtrim = require('./lib/rtrim');\nvar _rtrim2 = _interopRequireDefault(_rtrim);\nvar _trim = require('./lib/trim');\nvar _trim2 = _interopRequireDefault(_trim);\nvar _escape = require('./lib/escape');\nvar _escape2 = _interopRequireDefault(_escape);\nvar _unescape = require('./lib/unescape');\nvar _unescape2 = _interopRequireDefault(_unescape);\nvar _stripLow = require('./lib/stripLow');\nvar _stripLow2 = _interopRequireDefault(_stripLow);\nvar _whitelist = require('./lib/whitelist');\nvar _whitelist2 = _interopRequireDefault(_whitelist);\nvar _blacklist = require('./lib/blacklist');\nvar _blacklist2 = _interopRequireDefault(_blacklist);\nvar _isWhitelisted = require('./lib/isWhitelisted');\nvar _isWhitelisted2 = _interopRequireDefault(_isWhitelisted);\nvar _normalizeEmail = require('./lib/normalizeEmail');\nvar _normalizeEmail2 = _interopRequireDefault(_normalizeEmail);\nvar _toString = require('./lib/util/toString');\nvar _toString2 = _interopRequireDefault(_toString);\nfunction _interopRequireDefault(obj) {\n return obj && obj.__esModule ? obj : {default: obj};\n}\nvar version = '5.2.0';\nvar validator = {\n version: version,\n toDate: _toDate2.default,\n toFloat: _toFloat2.default,\n toInt: _toInt2.default,\n toBoolean: _toBoolean2.default,\n equals: _equals2.default,\n contains: _contains2.default,\n matches: _matches2.default,\n isEmail: _isEmail2.default,\n isURL: _isURL2.default,\n isMACAddress: _isMACAddress2.default,\n isIP: _isIP2.default,\n isFQDN: _isFQDN2.default,\n isBoolean: _isBoolean2.default,\n isAlpha: _isAlpha2.default,\n isAlphanumeric: _isAlphanumeric2.default,\n isNumeric: _isNumeric2.default,\n isLowercase: _isLowercase2.default,\n isUppercase: _isUppercase2.default,\n isAscii: _isAscii2.default,\n isFullWidth: _isFullWidth2.default,\n isHalfWidth: _isHalfWidth2.default,\n isVariableWidth: _isVariableWidth2.default,\n isMultibyte: _isMultibyte2.default,\n isSurrogatePair: _isSurrogatePair2.default,\n isInt: _isInt2.default,\n isFloat: _isFloat2.default,\n isDecimal: _isDecimal2.default,\n isHexadecimal: _isHexadecimal2.default,\n isDivisibleBy: _isDivisibleBy2.default,\n isHexColor: _isHexColor2.default,\n isJSON: _isJSON2.default,\n isNull: _isNull2.default,\n isLength: _isLength2.default,\n isByteLength: _isByteLength2.default,\n isUUID: _isUUID2.default,\n isMongoId: _isMongoId2.default,\n isDate: _isDate2.default,\n isAfter: _isAfter2.default,\n isBefore: _isBefore2.default,\n isIn: _isIn2.default,\n isCreditCard: _isCreditCard2.default,\n isISIN: _isISIN2.default,\n isISBN: _isISBN2.default,\n isMobilePhone: _isMobilePhone2.default,\n isCurrency: _isCurrency2.default,\n isISO8601: _isISO2.default,\n isBase64: _isBase2.default,\n isDataURI: _isDataURI2.default,\n ltrim: _ltrim2.default,\n rtrim: _rtrim2.default,\n trim: _trim2.default,\n escape: _escape2.default,\n unescape: _unescape2.default,\n stripLow: _stripLow2.default,\n whitelist: _whitelist2.default,\n blacklist: _blacklist2.default,\n isWhitelisted: _isWhitelisted2.default,\n normalizeEmail: _normalizeEmail2.default,\n toString: _toString2.default\n};\nexports.default = validator;\nmodule.exports = exports['default'];\n","module.exports = require(\"npm:validator@5.2.0/index.js\");","/*jshint maxlen: false*/\n\nvar validator = require(\"validator\");\n\nvar FormatValidators = {\n \"date\": function (date) {\n if (typeof date !== \"string\") {\n return true;\n }\n // full-date from http://tools.ietf.org/html/rfc3339#section-5.6\n var matches = /^([0-9]{4})-([0-9]{2})-([0-9]{2})$/.exec(date);\n if (matches === null) {\n return false;\n }\n // var year = matches[1];\n // var month = matches[2];\n // var day = matches[3];\n if (matches[2] < \"01\" || matches[2] > \"12\" || matches[3] < \"01\" || matches[3] > \"31\") {\n return false;\n }\n return true;\n },\n \"date-time\": function (dateTime) {\n if (typeof dateTime !== \"string\") {\n return true;\n }\n // date-time from http://tools.ietf.org/html/rfc3339#section-5.6\n var s = dateTime.toLowerCase().split(\"t\");\n if (!FormatValidators.date(s[0])) {\n return false;\n }\n var matches = /^([0-9]{2}):([0-9]{2}):([0-9]{2})(.[0-9]+)?(z|([+-][0-9]{2}:[0-9]{2}))$/.exec(s[1]);\n if (matches === null) {\n return false;\n }\n // var hour = matches[1];\n // var minute = matches[2];\n // var second = matches[3];\n // var fraction = matches[4];\n // var timezone = matches[5];\n if (matches[1] > \"23\" || matches[2] > \"59\" || matches[3] > \"59\") {\n return false;\n }\n return true;\n },\n \"email\": function (email) {\n if (typeof email !== \"string\") {\n return true;\n }\n return validator.isEmail(email, { \"require_tld\": true });\n },\n \"hostname\": function (hostname) {\n if (typeof hostname !== \"string\") {\n return true;\n }\n /*\n http://json-schema.org/latest/json-schema-validation.html#anchor114\n A string instance is valid against this attribute if it is a valid\n representation for an Internet host name, as defined by RFC 1034, section 3.1 [RFC1034].\n\n http://tools.ietf.org/html/rfc1034#section-3.5\n\n <digit> ::= any one of the ten digits 0 through 9\n var digit = /[0-9]/;\n\n <letter> ::= any one of the 52 alphabetic characters A through Z in upper case and a through z in lower case\n var letter = /[a-zA-Z]/;\n\n <let-dig> ::= <letter> | <digit>\n var letDig = /[0-9a-zA-Z]/;\n\n <let-dig-hyp> ::= <let-dig> | \"-\"\n var letDigHyp = /[-0-9a-zA-Z]/;\n\n <ldh-str> ::= <let-dig-hyp> | <let-dig-hyp> <ldh-str>\n var ldhStr = /[-0-9a-zA-Z]+/;\n\n <label> ::= <letter> [ [ <ldh-str> ] <let-dig> ]\n var label = /[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?/;\n\n <subdomain> ::= <label> | <subdomain> \".\" <label>\n var subdomain = /^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/;\n\n <domain> ::= <subdomain> | \" \"\n var domain = null;\n */\n var valid = /^[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?(\\.[a-zA-Z](([-0-9a-zA-Z]+)?[0-9a-zA-Z])?)*$/.test(hostname);\n if (valid) {\n // the sum of all label octets and label lengths is limited to 255.\n if (hostname.length > 255) { return false; }\n // Each node has a label, which is zero to 63 octets in length\n var labels = hostname.split(\".\");\n for (var i = 0; i < labels.length; i++) { if (labels[i].length > 63) { return false; } }\n }\n return valid;\n },\n \"host-name\": function (hostname) {\n return FormatValidators.hostname.call(this, hostname);\n },\n \"ipv4\": function (ipv4) {\n if (typeof ipv4 !== \"string\") { return true; }\n return validator.isIP(ipv4, 4);\n },\n \"ipv6\": function (ipv6) {\n if (typeof ipv6 !== \"string\") { return true; }\n return validator.isIP(ipv6, 6);\n },\n \"regex\": function (str) {\n try {\n RegExp(str);\n return true;\n } catch (e) {\n return false;\n }\n },\n \"uri\": function (uri) {\n if (this.options.strictUris) {\n return FormatValidators[\"strict-uri\"].apply(this, arguments);\n }\n // https://github.com/zaggino/z-schema/issues/18\n // RegExp from http://tools.ietf.org/html/rfc3986#appendix-B\n return typeof uri !== \"string\" || RegExp(\"^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\\\?([^#]*))?(#(.*))?\").test(uri);\n },\n \"strict-uri\": function (uri) {\n return typeof uri !== \"string\" || validator.isURL(uri);\n }\n};\n\nmodule.exports = FormatValidators;\n","/* */ \n\"use strict\";\nvar FormatValidators = require('./FormatValidators'),\n Report = require('./Report'),\n Utils = require('./Utils');\nvar JsonValidators = {\n multipleOf: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (Utils.whatIs(json / schema.multipleOf) !== \"integer\") {\n report.addError(\"MULTIPLE_OF\", [json, schema.multipleOf], null, schema.description);\n }\n },\n maximum: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (schema.exclusiveMaximum !== true) {\n if (json > schema.maximum) {\n report.addError(\"MAXIMUM\", [json, schema.maximum], null, schema.description);\n }\n } else {\n if (json >= schema.maximum) {\n report.addError(\"MAXIMUM_EXCLUSIVE\", [json, schema.maximum], null, schema.description);\n }\n }\n },\n exclusiveMaximum: function() {},\n minimum: function(report, schema, json) {\n if (typeof json !== \"number\") {\n return;\n }\n if (schema.exclusiveMinimum !== true) {\n if (json < schema.minimum) {\n report.addError(\"MINIMUM\", [json, schema.minimum], null, schema.description);\n }\n } else {\n if (json <= schema.minimum) {\n report.addError(\"MINIMUM_EXCLUSIVE\", [json, schema.minimum], null, schema.description);\n }\n }\n },\n exclusiveMinimum: function() {},\n maxLength: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (Utils.ucs2decode(json).length > schema.maxLength) {\n report.addError(\"MAX_LENGTH\", [json.length, schema.maxLength], null, schema.description);\n }\n },\n minLength: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (Utils.ucs2decode(json).length < schema.minLength) {\n report.addError(\"MIN_LENGTH\", [json.length, schema.minLength], null, schema.description);\n }\n },\n pattern: function(report, schema, json) {\n if (typeof json !== \"string\") {\n return;\n }\n if (RegExp(schema.pattern).test(json) === false) {\n report.addError(\"PATTERN\", [schema.pattern, json], null, schema.description);\n }\n },\n additionalItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (schema.additionalItems === false && Array.isArray(schema.items)) {\n if (json.length > schema.items.length) {\n report.addError(\"ARRAY_ADDITIONAL_ITEMS\", null, null, schema.description);\n }\n }\n },\n items: function() {},\n maxItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (json.length > schema.maxItems) {\n report.addError(\"ARRAY_LENGTH_LONG\", [json.length, schema.maxItems], null, schema.description);\n }\n },\n minItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (json.length < schema.minItems) {\n report.addError(\"ARRAY_LENGTH_SHORT\", [json.length, schema.minItems], null, schema.description);\n }\n },\n uniqueItems: function(report, schema, json) {\n if (!Array.isArray(json)) {\n return;\n }\n if (schema.uniqueItems === true) {\n var matches = [];\n if (Utils.isUniqueArray(json, matches) === false) {\n report.addError(\"ARRAY_UNIQUE\", matches, null, schema.description);\n }\n }\n },\n maxProperties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keysCount = Object.keys(json).length;\n if (keysCount > schema.maxProperties) {\n report.addError(\"OBJECT_PROPERTIES_MAXIMUM\", [keysCount, schema.maxProperties], null, schema.description);\n }\n },\n minProperties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keysCount = Object.keys(json).length;\n if (keysCount < schema.minProperties) {\n report.addError(\"OBJECT_PROPERTIES_MINIMUM\", [keysCount, schema.minProperties], null, schema.description);\n }\n },\n required: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var idx = schema.required.length;\n while (idx--) {\n var requiredPropertyName = schema.required[idx];\n if (json[requiredPropertyName] === undefined) {\n report.addError(\"OBJECT_MISSING_REQUIRED_PROPERTY\", [requiredPropertyName], null, schema.description);\n }\n }\n },\n additionalProperties: function(report, schema, json) {\n if (schema.properties === undefined && schema.patternProperties === undefined) {\n return JsonValidators.properties.call(this, report, schema, json);\n }\n },\n patternProperties: function(report, schema, json) {\n if (schema.properties === undefined) {\n return JsonValidators.properties.call(this, report, schema, json);\n }\n },\n properties: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var properties = schema.properties !== undefined ? schema.properties : {};\n var patternProperties = schema.patternProperties !== undefined ? schema.patternProperties : {};\n if (schema.additionalProperties === false) {\n var s = Object.keys(json);\n var p = Object.keys(properties);\n var pp = Object.keys(patternProperties);\n s = Utils.difference(s, p);\n var idx = pp.length;\n while (idx--) {\n var regExp = RegExp(pp[idx]),\n idx2 = s.length;\n while (idx2--) {\n if (regExp.test(s[idx2]) === true) {\n s.splice(idx2, 1);\n }\n }\n }\n if (s.length > 0) {\n var idx3 = this.options.assumeAdditional.length;\n if (idx3) {\n while (idx3--) {\n var io = s.indexOf(this.options.assumeAdditional[idx3]);\n if (io !== -1) {\n s.splice(io, 1);\n }\n }\n }\n if (s.length > 0) {\n report.addError(\"OBJECT_ADDITIONAL_PROPERTIES\", [s], null, schema.description);\n }\n }\n }\n },\n dependencies: function(report, schema, json) {\n if (Utils.whatIs(json) !== \"object\") {\n return;\n }\n var keys = Object.keys(schema.dependencies),\n idx = keys.length;\n while (idx--) {\n var dependencyName = keys[idx];\n if (json[dependencyName]) {\n var dependencyDefinition = schema.dependencies[dependencyName];\n if (Utils.whatIs(dependencyDefinition) === \"object\") {\n exports.validate.call(this, report, dependencyDefinition, json);\n } else {\n var idx2 = dependencyDefinition.length;\n while (idx2--) {\n var requiredPropertyName = dependencyDefinition[idx2];\n if (json[requiredPropertyName] === undefined) {\n report.addError(\"OBJECT_DEPENDENCY_KEY\", [requiredPropertyName, dependencyName], null, schema.description);\n }\n }\n }\n }\n }\n },\n enum: function(report, schema, json) {\n var match = false,\n idx = schema.enum.length;\n while (idx--) {\n if (Utils.areEqual(json, schema.enum[idx])) {\n match = true;\n break;\n }\n }\n if (match === false) {\n report.addError(\"ENUM_MISMATCH\", [json], null, schema.description);\n }\n },\n allOf: function(report, schema, json) {\n var idx = schema.allOf.length;\n while (idx--) {\n var validateResult = exports.validate.call(this, report, schema.allOf[idx], json);\n if (this.options.breakOnFirstError && validateResult === false) {\n break;\n }\n }\n },\n anyOf: function(report, schema, json) {\n var subReports = [],\n passed = false,\n idx = schema.anyOf.length;\n while (idx-- && passed === false) {\n var subReport = new Report(report);\n subReports.push(subReport);\n passed = exports.validate.call(this, subReport, schema.anyOf[idx], json);\n }\n if (passed === false) {\n report.addError(\"ANY_OF_MISSING\", undefined, subReports, schema.description);\n }\n },\n oneOf: function(report, schema, json) {\n var passes = 0,\n subReports = [],\n idx = schema.oneOf.length;\n while (idx--) {\n var subReport = new Report(report, {maxErrors: 1});\n subReports.push(subReport);\n if (exports.validate.call(this, subReport, schema.oneOf[idx], json) === true) {\n passes++;\n }\n }\n if (passes === 0) {\n report.addError(\"ONE_OF_MISSING\", undefined, subReports, schema.description);\n } else if (passes > 1) {\n report.addError(\"ONE_OF_MULTIPLE\", null, null, schema.description);\n }\n },\n not: function(report, schema, json) {\n var subReport = new Report(report);\n if (exports.validate.call(this, subReport, schema.not, json) === true) {\n report.addError(\"NOT_PASSED\", null, null, schema.description);\n }\n },\n definitions: function() {},\n format: function(report, schema, json) {\n var formatValidatorFn = FormatValidators[schema.format];\n if (typeof formatValidatorFn === \"function\") {\n if (formatValidatorFn.length === 2) {\n report.addAsyncTask(formatValidatorFn, [json], function(result) {\n if (result !== true) {\n report.addError(\"INVALID_FORMAT\", [schema.format, json], null, schema.description);\n }\n });\n } else {\n if (formatValidatorFn.call(this, json) !== true) {\n report.addError(\"INVALID_FORMAT\", [schema.format, json], null, schema.description);\n }\n }\n } else if (this.options.ignoreUnknownFormats !== true) {\n report.addError(\"UNKNOWN_FORMAT\", [schema.format], null, schema.description);\n }\n }\n};\nvar recurseArray = function(report, schema, json) {\n var idx = json.length;\n if (Array.isArray(schema.items)) {\n while (idx--) {\n if (idx < schema.items.length) {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.items[idx], json[idx]);\n report.path.pop();\n } else {\n if (typeof schema.additionalItems === \"object\") {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.additionalItems, json[idx]);\n report.path.pop();\n }\n }\n }\n } else if (typeof schema.items === \"object\") {\n while (idx--) {\n report.path.push(idx.toString());\n exports.validate.call(this, report, schema.items, json[idx]);\n report.path.pop();\n }\n }\n};\nvar recurseObject = function(report, schema, json) {\n var additionalProperties = schema.additionalProperties;\n if (additionalProperties === true || additionalProperties === undefined) {\n additionalProperties = {};\n }\n var p = schema.properties ? Object.keys(schema.properties) : [];\n var pp = schema.patternProperties ? Object.keys(schema.patternProperties) : [];\n var keys = Object.keys(json),\n idx = keys.length;\n while (idx--) {\n var m = keys[idx],\n propertyValue = json[m];\n var s = [];\n if (p.indexOf(m) !== -1) {\n s.push(schema.properties[m]);\n }\n var idx2 = pp.length;\n while (idx2--) {\n var regexString = pp[idx2];\n if (RegExp(regexString).test(m) === true) {\n s.push(schema.patternProperties[regexString]);\n }\n }\n if (s.length === 0 && additionalProperties !== false) {\n s.push(additionalProperties);\n }\n idx2 = s.length;\n while (idx2--) {\n report.path.push(m);\n exports.validate.call(this, report, s[idx2], propertyValue);\n report.path.pop();\n }\n }\n};\nexports.validate = function(report, schema, json) {\n report.commonErrorMessage = \"JSON_OBJECT_VALIDATION_FAILED\";\n var to = Utils.whatIs(schema);\n if (to !== \"object\") {\n report.addError(\"SCHEMA_NOT_AN_OBJECT\", [to], null, schema.description);\n return false;\n }\n var keys = Object.keys(schema);\n if (keys.length === 0) {\n return true;\n }\n var isRoot = false;\n if (!report.rootSchema) {\n report.rootSchema = schema;\n isRoot = true;\n }\n if (schema.$ref !== undefined) {\n var maxRefs = 99;\n while (schema.$ref && maxRefs > 0) {\n if (!schema.__$refResolved) {\n report.addError(\"REF_UNRESOLVED\", [schema.$ref], null, schema.description);\n break;\n } else if (schema.__$refResolved === schema) {\n break;\n } else {\n schema = schema.__$refResolved;\n keys = Object.keys(schema);\n }\n maxRefs--;\n }\n if (maxRefs === 0) {\n throw new Error(\"Circular dependency by $ref references!\");\n }\n }\n var jsonType = Utils.whatIs(json);\n if (schema.type) {\n if (typeof schema.type === \"string\") {\n if (jsonType !== schema.type && (jsonType !== \"integer\" || schema.type !== \"number\")) {\n report.addError(\"INVALID_TYPE\", [schema.type, jsonType], null, schema.description);\n if (this.options.breakOnFirstError) {\n return false;\n }\n }\n } else {\n if (schema.type.indexOf(jsonType) === -1 && (jsonType !== \"integer\" || schema.type.indexOf(\"number\") === -1)) {\n report.addError(\"INVALID_TYPE\", [schema.type, jsonType], null, schema.description);\n if (this.options.breakOnFirstError) {\n return false;\n }\n }\n }\n }\n var idx = keys.length;\n while (idx--) {\n if (JsonValidators[keys[idx]]) {\n JsonValidators[keys[idx]].call(this, report, schema, json);\n if (report.errors.length && this.options.breakOnFirstError) {\n break;\n }\n }\n }\n if (report.errors.length === 0 || this.options.breakOnFirstError === false) {\n if (jsonType === \"array\") {\n recurseArray.call(this, report, schema, json);\n } else if (jsonType === \"object\") {\n recurseObject.call(this, report, schema, json);\n }\n }\n if (typeof this.options.customValidator === \"function\") {\n this.options.customValidator(report, schema, json);\n }\n if (isRoot) {\n report.rootSchema = undefined;\n }\n return report.errors.length === 0;\n};\n","/* */ \n(function(process) {\n var FUNC_ERROR_TEXT = 'Expected a function';\n var HASH_UNDEFINED = '__lodash_hash_undefined__';\n var INFINITY = 1 / 0;\n var funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n symbolTag = '[object Symbol]';\n var rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]/g;\n var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n var reEscapeChar = /\\\\(\\\\)?/g;\n var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n var objectTypes = {\n 'function': true,\n 'object': true\n };\n var freeExports = (objectTypes[typeof exports] && exports && !exports.nodeType) ? exports : undefined;\n var freeModule = (objectTypes[typeof module] && module && !module.nodeType) ? module : undefined;\n var freeGlobal = checkGlobal(freeExports && freeModule && typeof global == 'object' && global);\n var freeSelf = checkGlobal(objectTypes[typeof self] && self);\n var freeWindow = checkGlobal(objectTypes[typeof window] && window);\n var thisGlobal = checkGlobal(objectTypes[typeof this] && this);\n var root = freeGlobal || ((freeWindow !== (thisGlobal && thisGlobal.window)) && freeWindow) || freeSelf || thisGlobal || Function('return this')();\n function checkGlobal(value) {\n return (value && value.Object === Object) ? value : null;\n }\n function isHostObject(value) {\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n }\n var arrayProto = Array.prototype,\n objectProto = Object.prototype;\n var funcToString = Function.prototype.toString;\n var hasOwnProperty = objectProto.hasOwnProperty;\n var objectToString = objectProto.toString;\n var reIsNative = RegExp('^' + funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&').replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$');\n var Symbol = root.Symbol,\n splice = arrayProto.splice;\n var Map = getNative(root, 'Map'),\n nativeCreate = getNative(Object, 'create');\n var symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n function Hash() {}\n function hashDelete(hash, key) {\n return hashHas(hash, key) && delete hash[key];\n }\n function hashGet(hash, key) {\n if (nativeCreate) {\n var result = hash[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(hash, key) ? hash[key] : undefined;\n }\n function hashHas(hash, key) {\n return nativeCreate ? hash[key] !== undefined : hasOwnProperty.call(hash, key);\n }\n function hashSet(hash, key, value) {\n hash[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n }\n Hash.prototype = nativeCreate ? nativeCreate(null) : objectProto;\n function MapCache(values) {\n var index = -1,\n length = values ? values.length : 0;\n this.clear();\n while (++index < length) {\n var entry = values[index];\n this.set(entry[0], entry[1]);\n }\n }\n function mapClear() {\n this.__data__ = {\n 'hash': new Hash,\n 'map': Map ? new Map : [],\n 'string': new Hash\n };\n }\n function mapDelete(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashDelete(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map['delete'](key) : assocDelete(data.map, key);\n }\n function mapGet(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashGet(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map.get(key) : assocGet(data.map, key);\n }\n function mapHas(key) {\n var data = this.__data__;\n if (isKeyable(key)) {\n return hashHas(typeof key == 'string' ? data.string : data.hash, key);\n }\n return Map ? data.map.has(key) : assocHas(data.map, key);\n }\n function mapSet(key, value) {\n var data = this.__data__;\n if (isKeyable(key)) {\n hashSet(typeof key == 'string' ? data.string : data.hash, key, value);\n } else if (Map) {\n data.map.set(key, value);\n } else {\n assocSet(data.map, key, value);\n }\n return this;\n }\n MapCache.prototype.clear = mapClear;\n MapCache.prototype['delete'] = mapDelete;\n MapCache.prototype.get = mapGet;\n MapCache.prototype.has = mapHas;\n MapCache.prototype.set = mapSet;\n function assocDelete(array, key) {\n var index = assocIndexOf(array, key);\n if (index < 0) {\n return false;\n }\n var lastIndex = array.length - 1;\n if (index == lastIndex) {\n array.pop();\n } else {\n splice.call(array, index, 1);\n }\n return true;\n }\n function assocGet(array, key) {\n var index = assocIndexOf(array, key);\n return index < 0 ? undefined : array[index][1];\n }\n function assocHas(array, key) {\n return assocIndexOf(array, key) > -1;\n }\n function assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n }\n function assocSet(array, key, value) {\n var index = assocIndexOf(array, key);\n if (index < 0) {\n array.push([key, value]);\n } else {\n array[index][1] = value;\n }\n }\n function getNative(object, key) {\n var value = object[key];\n return isNative(value) ? value : undefined;\n }\n function isKeyable(value) {\n var type = typeof value;\n return type == 'number' || type == 'boolean' || (type == 'string' && value != '__proto__') || value == null;\n }\n var stringToPath = memoize(function(string) {\n var result = [];\n toString(string).replace(rePropName, function(match, number, quote, string) {\n result.push(quote ? string.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n });\n function toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n }\n function memoize(func, resolver) {\n if (typeof func != 'function' || (resolver && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result);\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n }\n memoize.Cache = MapCache;\n function eq(value, other) {\n return value === other || (value !== value && other !== other);\n }\n function isFunction(value) {\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n }\n function isObject(value) {\n var type = typeof value;\n return !!value && (type == 'object' || type == 'function');\n }\n function isObjectLike(value) {\n return !!value && typeof value == 'object';\n }\n function isNative(value) {\n if (!isObject(value)) {\n return false;\n }\n var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n }\n function isSymbol(value) {\n return typeof value == 'symbol' || (isObjectLike(value) && objectToString.call(value) == symbolTag);\n }\n function toString(value) {\n if (typeof value == 'string') {\n return value;\n }\n if (value == null) {\n return '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n }\n module.exports = stringToPath;\n})(require('process'));\n","module.exports = require(\"npm:lodash._stringtopath@4.7.1/index\");","/**\n * lodash 4.2.1 (Custom Build) <https://lodash.com/>\n * Build: `lodash modularize exports=\"npm\" -o ./`\n * Copyright jQuery Foundation and other contributors <https://jquery.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\nvar stringToPath = require('lodash._stringtopath');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[path[index++]];\n }\n return (index && index == length) ? object : undefined;\n}\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n var type = typeof value;\n if (type == 'number' || type == 'symbol') {\n return true;\n }\n return !isArray(value) &&\n (isSymbol(value) || reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object)));\n}\n\n/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @type {Function}\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\n/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is correctly classified,\n * else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is used in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n","module.exports = require(\"npm:lodash.get@4.2.1/index\");","/* */ \n\"use strict\";\n\nmodule.exports = {\n\n INVALID_TYPE: \"Expected type {0} but found type {1}\",\n INVALID_FORMAT: \"Object didn't pass validation for format {0}: {1}\",\n ENUM_MISMATCH: \"No enum match for: {0}\",\n ANY_OF_MISSING: \"Data does not match any schemas from 'anyOf'\",\n ONE_OF_MISSING: \"Data does not match any schemas from 'oneOf'\",\n ONE_OF_MULTIPLE: \"Data is valid against more than one schema from 'oneOf'\",\n NOT_PASSED: \"Data matches schema from 'not'\",\n\n // Array errors\n ARRAY_LENGTH_SHORT: \"Array is too short ({0}), minimum {1}\",\n ARRAY_LENGTH_LONG: \"Array is too long ({0}), maximum {1}\",\n ARRAY_UNIQUE: \"Array items are not unique (indexes {0} and {1})\",\n ARRAY_ADDITIONAL_ITEMS: \"Additional items not allowed\",\n\n // Numeric errors\n MULTIPLE_OF: \"Value {0} is not a multiple of {1}\",\n MINIMUM: \"Value {0} is less than minimum {1}\",\n MINIMUM_EXCLUSIVE: \"Value {0} is equal or less than exclusive minimum {1}\",\n MAXIMUM: \"Value {0} is greater than maximum {1}\",\n MAXIMUM_EXCLUSIVE: \"Value {0} is equal or greater than exclusive maximum {1}\",\n\n // Object errors\n OBJECT_PROPERTIES_MINIMUM: \"Too few properties defined ({0}), minimum {1}\",\n OBJECT_PROPERTIES_MAXIMUM: \"Too many properties defined ({0}), maximum {1}\",\n OBJECT_MISSING_REQUIRED_PROPERTY: \"Missing required property: {0}\",\n OBJECT_ADDITIONAL_PROPERTIES: \"Additional properties not allowed: {0}\",\n OBJECT_DEPENDENCY_KEY: \"Dependency failed - key must exist: {0} (due to key: {1})\",\n\n // String errors\n MIN_LENGTH: \"String is too short ({0} chars), minimum {1}\",\n MAX_LENGTH: \"String is too long ({0} chars), maximum {1}\",\n PATTERN: \"String does not match pattern {0}: {1}\",\n\n // Schema validation errors\n KEYWORD_TYPE_EXPECTED: \"Keyword '{0}' is expected to be of type '{1}'\",\n KEYWORD_UNDEFINED_STRICT: \"Keyword '{0}' must be defined in strict mode\",\n KEYWORD_UNEXPECTED: \"Keyword '{0}' is not expected to appear in the schema\",\n KEYWORD_MUST_BE: \"Keyword '{0}' must be {1}\",\n KEYWORD_DEPENDENCY: \"Keyword '{0}' requires keyword '{1}'\",\n KEYWORD_PATTERN: \"Keyword '{0}' is not a valid RegExp pattern: {1}\",\n KEYWORD_VALUE_TYPE: \"Each element of keyword '{0}' array must be a '{1}'\",\n UNKNOWN_FORMAT: \"There is no validation function for format '{0}'\",\n CUSTOM_MODE_FORCE_PROPERTIES: \"{0} must define at least one property if present\",\n\n // Remote errors\n REF_UNRESOLVED: \"Reference has not been resolved during compilation: {0}\",\n UNRESOLVABLE_REFERENCE: \"Reference could not be resolved: {0}\",\n SCHEMA_NOT_REACHABLE: \"Validator was not able to read schema with uri: {0}\",\n SCHEMA_TYPE_EXPECTED: \"Schema is expected to be of type 'object'\",\n SCHEMA_NOT_AN_OBJECT: \"Schema is not an object: {0}\",\n ASYNC_TIMEOUT: \"{0} asynchronous task(s) have timed out after {1} ms\",\n PARENT_SCHEMA_VALIDATION_FAILED: \"Schema failed to validate against its parent schema, see inner errors for details.\",\n REMOTE_NOT_VALID: \"Remote reference didn't compile successfully: {0}\"\n\n};\n","/* */ \n(function(process) {\n \"use strict\";\n var get = require('lodash.get');\n var Errors = require('./Errors');\n var Utils = require('./Utils');\n function Report(parentOrOptions, reportOptions) {\n this.parentReport = parentOrOptions instanceof Report ? parentOrOptions : undefined;\n this.options = parentOrOptions instanceof Report ? parentOrOptions.options : parentOrOptions || {};\n this.reportOptions = reportOptions || {};\n this.errors = [];\n this.path = [];\n this.asyncTasks = [];\n }\n Report.prototype.isValid = function() {\n if (this.asyncTasks.length > 0) {\n throw new Error(\"Async tasks pending, can't answer isValid\");\n }\n return this.errors.length === 0;\n };\n Report.prototype.addAsyncTask = function(fn, args, asyncTaskResultProcessFn) {\n this.asyncTasks.push([fn, args, asyncTaskResultProcessFn]);\n };\n Report.prototype.processAsyncTasks = function(timeout, callback) {\n var validationTimeout = timeout || 2000,\n tasksCount = this.asyncTasks.length,\n idx = tasksCount,\n timedOut = false,\n self = this;\n function finish() {\n process.nextTick(function() {\n var valid = self.errors.length === 0,\n err = valid ? undefined : self.errors;\n callback(err, valid);\n });\n }\n function respond(asyncTaskResultProcessFn) {\n return function(asyncTaskResult) {\n if (timedOut) {\n return;\n }\n asyncTaskResultProcessFn(asyncTaskResult);\n if (--tasksCount === 0) {\n finish();\n }\n };\n }\n if (tasksCount === 0 || this.errors.length > 0) {\n finish();\n return;\n }\n while (idx--) {\n var task = this.asyncTasks[idx];\n task[0].apply(null, task[1].concat(respond(task[2])));\n }\n setTimeout(function() {\n if (tasksCount > 0) {\n timedOut = true;\n self.addError(\"ASYNC_TIMEOUT\", [tasksCount, validationTimeout]);\n callback(self.errors, false);\n }\n }, validationTimeout);\n };\n Report.prototype.getPath = function(returnPathAsString) {\n var path = [];\n if (this.parentReport) {\n path = path.concat(this.parentReport.path);\n }\n path = path.concat(this.path);\n if (returnPathAsString !== true) {\n path = \"#/\" + path.map(function(segment) {\n if (Utils.isAbsoluteUri(segment)) {\n return \"uri(\" + segment + \")\";\n }\n return segment.replace(/\\~/g, \"~0\").replace(/\\//g, \"~1\");\n }).join(\"/\");\n }\n return path;\n };\n Report.prototype.getSchemaId = function() {\n if (!this.rootSchema) {\n return null;\n }\n var path = [];\n if (this.parentReport) {\n path = path.concat(this.parentReport.path);\n }\n path = path.concat(this.path);\n while (path.length > 0) {\n var obj = get(this.rootSchema, path);\n if (obj && obj.id) {\n return obj.id;\n }\n path.pop();\n }\n return this.rootSchema.id;\n };\n Report.prototype.hasError = function(errorCode, params) {\n var idx = this.errors.length;\n while (idx--) {\n if (this.errors[idx].code === errorCode) {\n var match = true;\n var idx2 = this.errors[idx].params.length;\n while (idx2--) {\n if (this.errors[idx].params[idx2] !== params[idx2]) {\n match = false;\n }\n }\n if (match) {\n return match;\n }\n }\n }\n return false;\n };\n Report.prototype.addError = function(errorCode, params, subReports, schemaDescription) {\n if (!errorCode) {\n throw new Error(\"No errorCode passed into addError()\");\n }\n this.addCustomError(errorCode, Errors[errorCode], params, subReports, schemaDescription);\n };\n Report.prototype.addCustomError = function(errorCode, errorMessage, params, subReports, schemaDescription) {\n if (this.errors.length >= this.reportOptions.maxErrors) {\n return;\n }\n if (!errorMessage) {\n throw new Error(\"No errorMessage known for code \" + errorCode);\n }\n params = params || [];\n var idx = params.length;\n while (idx--) {\n var whatIs = Utils.whatIs(params[idx]);\n var param = (whatIs === \"object\" || whatIs === \"null\") ? JSON.stringify(params[idx]) : params[idx];\n errorMessage = errorMessage.replace(\"{\" + idx + \"}\", param);\n }\n var err = {\n code: errorCode,\n params: params,\n message: errorMessage,\n path: this.getPath(this.options.reportPathAsArray),\n schemaId: this.getSchemaId()\n };\n if (schemaDescription) {\n err.description = schemaDescription;\n }\n if (subReports != null) {\n if (!Array.isArray(subReports)) {\n subReports = [subReports];\n }\n err.inner = [];\n idx = subReports.length;\n while (idx--) {\n var subReport = subReports[idx],\n idx2 = subReport.errors.length;\n while (idx2--) {\n err.inner.push(subReport.errors[idx2]);\n }\n }\n if (err.inner.length === 0) {\n err.inner = undefined;\n }\n }\n this.errors.push(err);\n };\n module.exports = Report;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar FormatValidators = require('./FormatValidators'),\n JsonValidation = require('./JsonValidation'),\n Report = require('./Report'),\n Utils = require('./Utils');\nvar SchemaValidators = {\n $ref: function(report, schema) {\n if (typeof schema.$ref !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"$ref\", \"string\"]);\n }\n },\n $schema: function(report, schema) {\n if (typeof schema.$schema !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"$schema\", \"string\"]);\n }\n },\n multipleOf: function(report, schema) {\n if (typeof schema.multipleOf !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"multipleOf\", \"number\"]);\n } else if (schema.multipleOf <= 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"multipleOf\", \"strictly greater than 0\"]);\n }\n },\n maximum: function(report, schema) {\n if (typeof schema.maximum !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maximum\", \"number\"]);\n }\n },\n exclusiveMaximum: function(report, schema) {\n if (typeof schema.exclusiveMaximum !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"exclusiveMaximum\", \"boolean\"]);\n } else if (schema.maximum === undefined) {\n report.addError(\"KEYWORD_DEPENDENCY\", [\"exclusiveMaximum\", \"maximum\"]);\n }\n },\n minimum: function(report, schema) {\n if (typeof schema.minimum !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minimum\", \"number\"]);\n }\n },\n exclusiveMinimum: function(report, schema) {\n if (typeof schema.exclusiveMinimum !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"exclusiveMinimum\", \"boolean\"]);\n } else if (schema.minimum === undefined) {\n report.addError(\"KEYWORD_DEPENDENCY\", [\"exclusiveMinimum\", \"minimum\"]);\n }\n },\n maxLength: function(report, schema) {\n if (Utils.whatIs(schema.maxLength) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxLength\", \"integer\"]);\n } else if (schema.maxLength < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxLength\", \"greater than, or equal to 0\"]);\n }\n },\n minLength: function(report, schema) {\n if (Utils.whatIs(schema.minLength) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minLength\", \"integer\"]);\n } else if (schema.minLength < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minLength\", \"greater than, or equal to 0\"]);\n }\n },\n pattern: function(report, schema) {\n if (typeof schema.pattern !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"pattern\", \"string\"]);\n } else {\n try {\n RegExp(schema.pattern);\n } catch (e) {\n report.addError(\"KEYWORD_PATTERN\", [\"pattern\", schema.pattern]);\n }\n }\n },\n additionalItems: function(report, schema) {\n var type = Utils.whatIs(schema.additionalItems);\n if (type !== \"boolean\" && type !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"additionalItems\", [\"boolean\", \"object\"]]);\n } else if (type === \"object\") {\n report.path.push(\"additionalItems\");\n exports.validateSchema.call(this, report, schema.additionalItems);\n report.path.pop();\n }\n },\n items: function(report, schema) {\n var type = Utils.whatIs(schema.items);\n if (type === \"object\") {\n report.path.push(\"items\");\n exports.validateSchema.call(this, report, schema.items);\n report.path.pop();\n } else if (type === \"array\") {\n var idx = schema.items.length;\n while (idx--) {\n report.path.push(\"items\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.items[idx]);\n report.path.pop();\n report.path.pop();\n }\n } else {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"items\", [\"array\", \"object\"]]);\n }\n if (this.options.forceAdditional === true && schema.additionalItems === undefined && Array.isArray(schema.items)) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"additionalItems\"]);\n }\n if (this.options.assumeAdditional && schema.additionalItems === undefined && Array.isArray(schema.items)) {\n schema.additionalItems = false;\n }\n },\n maxItems: function(report, schema) {\n if (typeof schema.maxItems !== \"number\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxItems\", \"integer\"]);\n } else if (schema.maxItems < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxItems\", \"greater than, or equal to 0\"]);\n }\n },\n minItems: function(report, schema) {\n if (Utils.whatIs(schema.minItems) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minItems\", \"integer\"]);\n } else if (schema.minItems < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minItems\", \"greater than, or equal to 0\"]);\n }\n },\n uniqueItems: function(report, schema) {\n if (typeof schema.uniqueItems !== \"boolean\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"uniqueItems\", \"boolean\"]);\n }\n },\n maxProperties: function(report, schema) {\n if (Utils.whatIs(schema.maxProperties) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"maxProperties\", \"integer\"]);\n } else if (schema.maxProperties < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"maxProperties\", \"greater than, or equal to 0\"]);\n }\n },\n minProperties: function(report, schema) {\n if (Utils.whatIs(schema.minProperties) !== \"integer\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"minProperties\", \"integer\"]);\n } else if (schema.minProperties < 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"minProperties\", \"greater than, or equal to 0\"]);\n }\n },\n required: function(report, schema) {\n if (Utils.whatIs(schema.required) !== \"array\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"required\", \"array\"]);\n } else if (schema.required.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"required\", \"an array with at least one element\"]);\n } else {\n var idx = schema.required.length;\n while (idx--) {\n if (typeof schema.required[idx] !== \"string\") {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"required\", \"string\"]);\n }\n }\n if (Utils.isUniqueArray(schema.required) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"required\", \"an array with unique items\"]);\n }\n }\n },\n additionalProperties: function(report, schema) {\n var type = Utils.whatIs(schema.additionalProperties);\n if (type !== \"boolean\" && type !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"additionalProperties\", [\"boolean\", \"object\"]]);\n } else if (type === \"object\") {\n report.path.push(\"additionalProperties\");\n exports.validateSchema.call(this, report, schema.additionalProperties);\n report.path.pop();\n }\n },\n properties: function(report, schema) {\n if (Utils.whatIs(schema.properties) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"properties\", \"object\"]);\n return;\n }\n var keys = Object.keys(schema.properties),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.properties[key];\n report.path.push(\"properties\");\n report.path.push(key);\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n if (this.options.forceAdditional === true && schema.additionalProperties === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"additionalProperties\"]);\n }\n if (this.options.assumeAdditional && schema.additionalProperties === undefined) {\n schema.additionalProperties = false;\n }\n if (this.options.forceProperties === true && keys.length === 0) {\n report.addError(\"CUSTOM_MODE_FORCE_PROPERTIES\", [\"properties\"]);\n }\n },\n patternProperties: function(report, schema) {\n if (Utils.whatIs(schema.patternProperties) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"patternProperties\", \"object\"]);\n return;\n }\n var keys = Object.keys(schema.patternProperties),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.patternProperties[key];\n try {\n RegExp(key);\n } catch (e) {\n report.addError(\"KEYWORD_PATTERN\", [\"patternProperties\", key]);\n }\n report.path.push(\"patternProperties\");\n report.path.push(key.toString());\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n if (this.options.forceProperties === true && keys.length === 0) {\n report.addError(\"CUSTOM_MODE_FORCE_PROPERTIES\", [\"patternProperties\"]);\n }\n },\n dependencies: function(report, schema) {\n if (Utils.whatIs(schema.dependencies) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"dependencies\", \"object\"]);\n } else {\n var keys = Object.keys(schema.dependencies),\n idx = keys.length;\n while (idx--) {\n var schemaKey = keys[idx],\n schemaDependency = schema.dependencies[schemaKey],\n type = Utils.whatIs(schemaDependency);\n if (type === \"object\") {\n report.path.push(\"dependencies\");\n report.path.push(schemaKey);\n exports.validateSchema.call(this, report, schemaDependency);\n report.path.pop();\n report.path.pop();\n } else if (type === \"array\") {\n var idx2 = schemaDependency.length;\n if (idx2 === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"dependencies\", \"not empty array\"]);\n }\n while (idx2--) {\n if (typeof schemaDependency[idx2] !== \"string\") {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"dependensices\", \"string\"]);\n }\n }\n if (Utils.isUniqueArray(schemaDependency) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"dependencies\", \"an array with unique items\"]);\n }\n } else {\n report.addError(\"KEYWORD_VALUE_TYPE\", [\"dependencies\", \"object or array\"]);\n }\n }\n }\n },\n enum: function(report, schema) {\n if (Array.isArray(schema.enum) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"enum\", \"array\"]);\n } else if (schema.enum.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"enum\", \"an array with at least one element\"]);\n } else if (Utils.isUniqueArray(schema.enum) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"enum\", \"an array with unique elements\"]);\n }\n },\n type: function(report, schema) {\n var primitiveTypes = [\"array\", \"boolean\", \"integer\", \"number\", \"null\", \"object\", \"string\"],\n primitiveTypeStr = primitiveTypes.join(\",\"),\n isArray = Array.isArray(schema.type);\n if (isArray) {\n var idx = schema.type.length;\n while (idx--) {\n if (primitiveTypes.indexOf(schema.type[idx]) === -1) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", primitiveTypeStr]);\n }\n }\n if (Utils.isUniqueArray(schema.type) === false) {\n report.addError(\"KEYWORD_MUST_BE\", [\"type\", \"an object with unique properties\"]);\n }\n } else if (typeof schema.type === \"string\") {\n if (primitiveTypes.indexOf(schema.type) === -1) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", primitiveTypeStr]);\n }\n } else {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"type\", [\"string\", \"array\"]]);\n }\n if (this.options.noEmptyStrings === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.minLength === undefined && schema.enum === undefined && schema.format === undefined) {\n schema.minLength = 1;\n }\n }\n }\n if (this.options.noEmptyArrays === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.minItems === undefined) {\n schema.minItems = 1;\n }\n }\n }\n if (this.options.forceProperties === true) {\n if (schema.type === \"object\" || isArray && schema.type.indexOf(\"object\") !== -1) {\n if (schema.properties === undefined && schema.patternProperties === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"properties\"]);\n }\n }\n }\n if (this.options.forceItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.items === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"items\"]);\n }\n }\n }\n if (this.options.forceMinItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.minItems === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"minItems\"]);\n }\n }\n }\n if (this.options.forceMaxItems === true) {\n if (schema.type === \"array\" || isArray && schema.type.indexOf(\"array\") !== -1) {\n if (schema.maxItems === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"maxItems\"]);\n }\n }\n }\n if (this.options.forceMinLength === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.minLength === undefined && schema.format === undefined && schema.enum === undefined && schema.pattern === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"minLength\"]);\n }\n }\n }\n if (this.options.forceMaxLength === true) {\n if (schema.type === \"string\" || isArray && schema.type.indexOf(\"string\") !== -1) {\n if (schema.maxLength === undefined && schema.format === undefined && schema.enum === undefined && schema.pattern === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"maxLength\"]);\n }\n }\n }\n },\n allOf: function(report, schema) {\n if (Array.isArray(schema.allOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"allOf\", \"array\"]);\n } else if (schema.allOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"allOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.allOf.length;\n while (idx--) {\n report.path.push(\"allOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.allOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n anyOf: function(report, schema) {\n if (Array.isArray(schema.anyOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"anyOf\", \"array\"]);\n } else if (schema.anyOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"anyOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.anyOf.length;\n while (idx--) {\n report.path.push(\"anyOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.anyOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n oneOf: function(report, schema) {\n if (Array.isArray(schema.oneOf) === false) {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"oneOf\", \"array\"]);\n } else if (schema.oneOf.length === 0) {\n report.addError(\"KEYWORD_MUST_BE\", [\"oneOf\", \"an array with at least one element\"]);\n } else {\n var idx = schema.oneOf.length;\n while (idx--) {\n report.path.push(\"oneOf\");\n report.path.push(idx.toString());\n exports.validateSchema.call(this, report, schema.oneOf[idx]);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n not: function(report, schema) {\n if (Utils.whatIs(schema.not) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"not\", \"object\"]);\n } else {\n report.path.push(\"not\");\n exports.validateSchema.call(this, report, schema.not);\n report.path.pop();\n }\n },\n definitions: function(report, schema) {\n if (Utils.whatIs(schema.definitions) !== \"object\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"definitions\", \"object\"]);\n } else {\n var keys = Object.keys(schema.definitions),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx],\n val = schema.definitions[key];\n report.path.push(\"definitions\");\n report.path.push(key);\n exports.validateSchema.call(this, report, val);\n report.path.pop();\n report.path.pop();\n }\n }\n },\n format: function(report, schema) {\n if (typeof schema.format !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"format\", \"string\"]);\n } else {\n if (FormatValidators[schema.format] === undefined && this.options.ignoreUnknownFormats !== true) {\n report.addError(\"UNKNOWN_FORMAT\", [schema.format]);\n }\n }\n },\n id: function(report, schema) {\n if (typeof schema.id !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"id\", \"string\"]);\n }\n },\n title: function(report, schema) {\n if (typeof schema.title !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"title\", \"string\"]);\n }\n },\n description: function(report, schema) {\n if (typeof schema.description !== \"string\") {\n report.addError(\"KEYWORD_TYPE_EXPECTED\", [\"description\", \"string\"]);\n }\n },\n \"default\": function() {}\n};\nvar validateArrayOfSchemas = function(report, arr) {\n var idx = arr.length;\n while (idx--) {\n exports.validateSchema.call(this, report, arr[idx]);\n }\n return report.isValid();\n};\nexports.validateSchema = function(report, schema) {\n report.commonErrorMessage = \"SCHEMA_VALIDATION_FAILED\";\n if (Array.isArray(schema)) {\n return validateArrayOfSchemas.call(this, report, schema);\n }\n if (schema.__$validated) {\n return true;\n }\n var hasParentSchema = schema.$schema && schema.id !== schema.$schema;\n if (hasParentSchema) {\n if (schema.__$schemaResolved && schema.__$schemaResolved !== schema) {\n var subReport = new Report(report);\n var valid = JsonValidation.validate.call(this, subReport, schema.__$schemaResolved, schema);\n if (valid === false) {\n report.addError(\"PARENT_SCHEMA_VALIDATION_FAILED\", null, subReport);\n }\n } else {\n if (this.options.ignoreUnresolvableReferences !== true) {\n report.addError(\"REF_UNRESOLVED\", [schema.$schema]);\n }\n }\n }\n if (this.options.noTypeless === true) {\n if (schema.type !== undefined) {\n var schemas = [];\n if (Array.isArray(schema.anyOf)) {\n schemas = schemas.concat(schema.anyOf);\n }\n if (Array.isArray(schema.oneOf)) {\n schemas = schemas.concat(schema.oneOf);\n }\n if (Array.isArray(schema.allOf)) {\n schemas = schemas.concat(schema.allOf);\n }\n schemas.forEach(function(sch) {\n if (!sch.type) {\n sch.type = schema.type;\n }\n });\n }\n if (schema.enum === undefined && schema.type === undefined && schema.anyOf === undefined && schema.oneOf === undefined && schema.not === undefined && schema.$ref === undefined) {\n report.addError(\"KEYWORD_UNDEFINED_STRICT\", [\"type\"]);\n }\n }\n var keys = Object.keys(schema),\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n if (key.indexOf(\"__\") === 0) {\n continue;\n }\n if (SchemaValidators[key] !== undefined) {\n SchemaValidators[key].call(this, report, schema);\n } else if (!hasParentSchema) {\n if (this.options.noExtraKeywords === true) {\n report.addError(\"KEYWORD_UNEXPECTED\", [key]);\n }\n }\n }\n if (this.options.pedanticCheck === true) {\n if (schema.enum) {\n var tmpSchema = Utils.clone(schema);\n delete tmpSchema.enum;\n delete tmpSchema.default;\n report.path.push(\"enum\");\n idx = schema.enum.length;\n while (idx--) {\n report.path.push(idx.toString());\n JsonValidation.validate.call(this, report, tmpSchema, schema.enum[idx]);\n report.path.pop();\n }\n report.path.pop();\n }\n if (schema.default) {\n report.path.push(\"default\");\n JsonValidation.validate.call(this, report, schema, schema.default);\n report.path.pop();\n }\n }\n var isValid = report.isValid();\n if (isValid) {\n schema.__$validated = true;\n }\n return isValid;\n};\n","/* */ \n\"use strict\";\n\nexports.isAbsoluteUri = function (uri) {\n return /^https?:\\/\\//.test(uri);\n};\n\nexports.isRelativeUri = function (uri) {\n // relative URIs that end with a hash sign, issue #56\n return /.+#/.test(uri);\n};\n\nexports.whatIs = function (what) {\n\n var to = typeof what;\n\n if (to === \"object\") {\n if (what === null) {\n return \"null\";\n }\n if (Array.isArray(what)) {\n return \"array\";\n }\n return \"object\"; // typeof what === 'object' && what === Object(what) && !Array.isArray(what);\n }\n\n if (to === \"number\") {\n if (Number.isFinite(what)) {\n if (what % 1 === 0) {\n return \"integer\";\n } else {\n return \"number\";\n }\n }\n if (Number.isNaN(what)) {\n return \"not-a-number\";\n }\n return \"unknown-number\";\n }\n\n return to; // undefined, boolean, string, function\n\n};\n\nexports.areEqual = function areEqual(json1, json2) {\n // http://json-schema.org/latest/json-schema-core.html#rfc.section.3.6\n\n // Two JSON values are said to be equal if and only if:\n // both are nulls; or\n // both are booleans, and have the same value; or\n // both are strings, and have the same value; or\n // both are numbers, and have the same mathematical value; or\n if (json1 === json2) {\n return true;\n }\n\n var i, len;\n\n // both are arrays, and:\n if (Array.isArray(json1) && Array.isArray(json2)) {\n // have the same number of items; and\n if (json1.length !== json2.length) {\n return false;\n }\n // items at the same index are equal according to this definition; or\n len = json1.length;\n for (i = 0; i < len; i++) {\n if (!areEqual(json1[i], json2[i])) {\n return false;\n }\n }\n return true;\n }\n\n // both are objects, and:\n if (exports.whatIs(json1) === \"object\" && exports.whatIs(json2) === \"object\") {\n // have the same set of property names; and\n var keys1 = Object.keys(json1);\n var keys2 = Object.keys(json2);\n if (!areEqual(keys1, keys2)) {\n return false;\n }\n // values for a same property name are equal according to this definition.\n len = keys1.length;\n for (i = 0; i < len; i++) {\n if (!areEqual(json1[keys1[i]], json2[keys1[i]])) {\n return false;\n }\n }\n return true;\n }\n\n return false;\n};\n\nexports.isUniqueArray = function (arr, indexes) {\n var i, j, l = arr.length;\n for (i = 0; i < l; i++) {\n for (j = i + 1; j < l; j++) {\n if (exports.areEqual(arr[i], arr[j])) {\n if (indexes) { indexes.push(i, j); }\n return false;\n }\n }\n }\n return true;\n};\n\nexports.difference = function (bigSet, subSet) {\n var arr = [],\n idx = bigSet.length;\n while (idx--) {\n if (subSet.indexOf(bigSet[idx]) === -1) {\n arr.push(bigSet[idx]);\n }\n }\n return arr;\n};\n\n// NOT a deep version of clone\nexports.clone = function (src) {\n if (typeof src === \"undefined\") { return void 0; }\n if (typeof src !== \"object\" || src === null) { return src; }\n var res, idx;\n if (Array.isArray(src)) {\n res = [];\n idx = src.length;\n while (idx--) {\n res[idx] = src[idx];\n }\n } else {\n res = {};\n var keys = Object.keys(src);\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n res[key] = src[key];\n }\n }\n return res;\n};\n\nexports.cloneDeep = function (src) {\n var visited = [], cloned = [];\n function cloneDeep(src) {\n if (typeof src !== \"object\" || src === null) { return src; }\n var res, idx, cidx;\n\n cidx = visited.indexOf(src);\n if (cidx !== -1) { return cloned[cidx]; }\n\n visited.push(src);\n if (Array.isArray(src)) {\n res = [];\n cloned.push(res);\n idx = src.length;\n while (idx--) {\n res[idx] = cloneDeep(src[idx]);\n }\n } else {\n res = {};\n cloned.push(res);\n var keys = Object.keys(src);\n idx = keys.length;\n while (idx--) {\n var key = keys[idx];\n res[key] = cloneDeep(src[key]);\n }\n }\n return res;\n }\n return cloneDeep(src);\n};\n\n/*\n following function comes from punycode.js library\n see: https://github.com/bestiejs/punycode.js\n*/\n/*jshint -W016*/\n/**\n * Creates an array containing the numeric code points of each Unicode\n * character in the string. While JavaScript uses UCS-2 internally,\n * this function will convert a pair of surrogate halves (each of which\n * UCS-2 exposes as separate characters) into a single code point,\n * matching UTF-16.\n * @see `punycode.ucs2.encode`\n * @see <https://mathiasbynens.be/notes/javascript-encoding>\n * @memberOf punycode.ucs2\n * @name decode\n * @param {String} string The Unicode input string (UCS-2).\n * @returns {Array} The new array of code points.\n */\nexports.ucs2decode = function (string) {\n var output = [],\n counter = 0,\n length = string.length,\n value,\n extra;\n while (counter < length) {\n value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n // high surrogate, and there is a next character\n extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) { // low surrogate\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n // unmatched surrogate; only append this code unit, in case the next\n // code unit is the high surrogate of a surrogate pair\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n return output;\n};\n/*jshint +W016*/\n","{\n \"id\": \"http://json-schema.org/draft-04/schema#\",\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"description\": \"Core schema meta-schema\",\n \"definitions\": {\n \"schemaArray\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": { \"$ref\": \"#\" }\n },\n \"positiveInteger\": {\n \"type\": \"integer\",\n \"minimum\": 0\n },\n \"positiveIntegerDefault0\": {\n \"allOf\": [ { \"$ref\": \"#/definitions/positiveInteger\" }, { \"default\": 0 } ]\n },\n \"simpleTypes\": {\n \"enum\": [ \"array\", \"boolean\", \"integer\", \"null\", \"number\", \"object\", \"string\" ]\n },\n \"stringArray\": {\n \"type\": \"array\",\n \"items\": { \"type\": \"string\" },\n \"minItems\": 1,\n \"uniqueItems\": true\n }\n },\n \"type\": \"object\",\n \"properties\": {\n \"id\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"$schema\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"title\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"default\": {},\n \"multipleOf\": {\n \"type\": \"number\",\n \"minimum\": 0,\n \"exclusiveMinimum\": true\n },\n \"maximum\": {\n \"type\": \"number\"\n },\n \"exclusiveMaximum\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"minimum\": {\n \"type\": \"number\"\n },\n \"exclusiveMinimum\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"maxLength\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minLength\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"pattern\": {\n \"type\": \"string\",\n \"format\": \"regex\"\n },\n \"additionalItems\": {\n \"anyOf\": [\n { \"type\": \"boolean\" },\n { \"$ref\": \"#\" }\n ],\n \"default\": {}\n },\n \"items\": {\n \"anyOf\": [\n { \"$ref\": \"#\" },\n { \"$ref\": \"#/definitions/schemaArray\" }\n ],\n \"default\": {}\n },\n \"maxItems\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minItems\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"uniqueItems\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"maxProperties\": { \"$ref\": \"#/definitions/positiveInteger\" },\n \"minProperties\": { \"$ref\": \"#/definitions/positiveIntegerDefault0\" },\n \"required\": { \"$ref\": \"#/definitions/stringArray\" },\n \"additionalProperties\": {\n \"anyOf\": [\n { \"type\": \"boolean\" },\n { \"$ref\": \"#\" }\n ],\n \"default\": {}\n },\n \"definitions\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"properties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"patternProperties\": {\n \"type\": \"object\",\n \"additionalProperties\": { \"$ref\": \"#\" },\n \"default\": {}\n },\n \"dependencies\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"anyOf\": [\n { \"$ref\": \"#\" },\n { \"$ref\": \"#/definitions/stringArray\" }\n ]\n }\n },\n \"enum\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"uniqueItems\": true\n },\n \"type\": {\n \"anyOf\": [\n { \"$ref\": \"#/definitions/simpleTypes\" },\n {\n \"type\": \"array\",\n \"items\": { \"$ref\": \"#/definitions/simpleTypes\" },\n \"minItems\": 1,\n \"uniqueItems\": true\n }\n ]\n },\n \"format\": { \"type\": \"string\" },\n \"allOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"anyOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"oneOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n \"not\": { \"$ref\": \"#\" }\n },\n \"dependencies\": {\n \"exclusiveMaximum\": [ \"maximum\" ],\n \"exclusiveMinimum\": [ \"minimum\" ]\n },\n \"default\": {}\n}\n","{\n \"$schema\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"id\": \"http://json-schema.org/draft-04/hyper-schema#\",\n \"title\": \"JSON Hyper-Schema\",\n \"allOf\": [\n {\n \"$ref\": \"http://json-schema.org/draft-04/schema#\"\n }\n ],\n \"properties\": {\n \"additionalItems\": {\n \"anyOf\": [\n {\n \"type\": \"boolean\"\n },\n {\n \"$ref\": \"#\"\n }\n ]\n },\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"type\": \"boolean\"\n },\n {\n \"$ref\": \"#\"\n }\n ]\n },\n \"dependencies\": {\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"$ref\": \"#\"\n },\n {\n \"type\": \"array\"\n }\n ]\n }\n },\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#\"\n },\n {\n \"$ref\": \"#/definitions/schemaArray\"\n }\n ]\n },\n \"definitions\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"patternProperties\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"properties\": {\n \"additionalProperties\": {\n \"$ref\": \"#\"\n }\n },\n \"allOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"anyOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"oneOf\": {\n \"$ref\": \"#/definitions/schemaArray\"\n },\n \"not\": {\n \"$ref\": \"#\"\n },\n\n \"links\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/linkDescription\"\n }\n },\n \"fragmentResolution\": {\n \"type\": \"string\"\n },\n \"media\": {\n \"type\": \"object\",\n \"properties\": {\n \"type\": {\n \"description\": \"A media type, as described in RFC 2046\",\n \"type\": \"string\"\n },\n \"binaryEncoding\": {\n \"description\": \"A content encoding scheme, as described in RFC 2045\",\n \"type\": \"string\"\n }\n }\n },\n \"pathStart\": {\n \"description\": \"Instances' URIs must start with this value for this schema to apply to them\",\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"definitions\": {\n \"schemaArray\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#\"\n }\n },\n \"linkDescription\": {\n \"title\": \"Link Description Object\",\n \"type\": \"object\",\n \"required\": [ \"href\", \"rel\" ],\n \"properties\": {\n \"href\": {\n \"description\": \"a URI template, as defined by RFC 6570, with the addition of the $, ( and ) characters for pre-processing\",\n \"type\": \"string\"\n },\n \"rel\": {\n \"description\": \"relation to the target resource of the link\",\n \"type\": \"string\"\n },\n \"title\": {\n \"description\": \"a title for the link\",\n \"type\": \"string\"\n },\n \"targetSchema\": {\n \"description\": \"JSON Schema describing the link target\",\n \"$ref\": \"#\"\n },\n \"mediaType\": {\n \"description\": \"media type (as defined by RFC 2046) describing the link target\",\n \"type\": \"string\"\n },\n \"method\": {\n \"description\": \"method for requesting the target of the link (e.g. for HTTP this might be \\\"GET\\\" or \\\"DELETE\\\")\",\n \"type\": \"string\"\n },\n \"encType\": {\n \"description\": \"The media type in which to submit data along with the request\",\n \"type\": \"string\",\n \"default\": \"application/json\"\n },\n \"schema\": {\n \"description\": \"Schema describing the data to submit along with the request\",\n \"$ref\": \"#\"\n }\n }\n }\n }\n}\n\n","/* */ \n(function(process) {\n \"use strict\";\n require('./Polyfills');\n var get = require('lodash.get');\n var Report = require('./Report');\n var FormatValidators = require('./FormatValidators');\n var JsonValidation = require('./JsonValidation');\n var SchemaCache = require('./SchemaCache');\n var SchemaCompilation = require('./SchemaCompilation');\n var SchemaValidation = require('./SchemaValidation');\n var Utils = require('./Utils');\n var Draft4Schema = require('./schemas/schema.json!systemjs-json');\n var Draft4HyperSchema = require('./schemas/hyper-schema.json!systemjs-json');\n var defaultOptions = {\n asyncTimeout: 2000,\n forceAdditional: false,\n assumeAdditional: false,\n forceItems: false,\n forceMinItems: false,\n forceMaxItems: false,\n forceMinLength: false,\n forceMaxLength: false,\n forceProperties: false,\n ignoreUnresolvableReferences: false,\n noExtraKeywords: false,\n noTypeless: false,\n noEmptyStrings: false,\n noEmptyArrays: false,\n strictUris: false,\n strictMode: false,\n reportPathAsArray: false,\n breakOnFirstError: true,\n pedanticCheck: false,\n ignoreUnknownFormats: false,\n customValidator: null\n };\n function ZSchema(options) {\n this.cache = {};\n this.referenceCache = [];\n this.setRemoteReference(\"http://json-schema.org/draft-04/schema\", Draft4Schema);\n this.setRemoteReference(\"http://json-schema.org/draft-04/hyper-schema\", Draft4HyperSchema);\n if (typeof options === \"object\") {\n var keys = Object.keys(options),\n idx = keys.length,\n key;\n while (idx--) {\n key = keys[idx];\n if (defaultOptions[key] === undefined) {\n throw new Error(\"Unexpected option passed to constructor: \" + key);\n }\n }\n keys = Object.keys(defaultOptions);\n idx = keys.length;\n while (idx--) {\n key = keys[idx];\n if (options[key] === undefined) {\n options[key] = Utils.clone(defaultOptions[key]);\n }\n }\n this.options = options;\n } else {\n this.options = Utils.clone(defaultOptions);\n }\n if (this.options.strictMode === true) {\n this.options.forceAdditional = true;\n this.options.forceItems = true;\n this.options.forceMaxLength = true;\n this.options.forceProperties = true;\n this.options.noExtraKeywords = true;\n this.options.noTypeless = true;\n this.options.noEmptyStrings = true;\n this.options.noEmptyArrays = true;\n }\n }\n ZSchema.prototype.compileSchema = function(schema) {\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n SchemaCompilation.compileSchema.call(this, report, schema);\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.validateSchema = function(schema) {\n if (Array.isArray(schema) && schema.length === 0) {\n throw new Error(\".validateSchema was called with an empty array\");\n }\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n var compiled = SchemaCompilation.compileSchema.call(this, report, schema);\n if (compiled) {\n SchemaValidation.validateSchema.call(this, report, schema);\n }\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.validate = function(json, schema, options, callback) {\n if (Utils.whatIs(options) === \"function\") {\n callback = options;\n options = {};\n }\n if (!options) {\n options = {};\n }\n var whatIs = Utils.whatIs(schema);\n if (whatIs !== \"string\" && whatIs !== \"object\") {\n var e = new Error(\"Invalid .validate call - schema must be an string or object but \" + whatIs + \" was passed!\");\n if (callback) {\n process.nextTick(function() {\n callback(e, false);\n });\n return;\n }\n throw e;\n }\n var foundError = false;\n var report = new Report(this.options);\n if (typeof schema === \"string\") {\n var schemaName = schema;\n schema = SchemaCache.getSchema.call(this, report, schemaName);\n if (!schema) {\n throw new Error(\"Schema with id '\" + schemaName + \"' wasn't found in the validator cache!\");\n }\n } else {\n schema = SchemaCache.getSchema.call(this, report, schema);\n }\n var compiled = false;\n if (!foundError) {\n compiled = SchemaCompilation.compileSchema.call(this, report, schema);\n }\n if (!compiled) {\n this.lastReport = report;\n foundError = true;\n }\n var validated = false;\n if (!foundError) {\n validated = SchemaValidation.validateSchema.call(this, report, schema);\n }\n if (!validated) {\n this.lastReport = report;\n foundError = true;\n }\n if (options.schemaPath) {\n report.rootSchema = schema;\n schema = get(schema, options.schemaPath);\n if (!schema) {\n throw new Error(\"Schema path '\" + options.schemaPath + \"' wasn't found in the schema!\");\n }\n }\n if (!foundError) {\n JsonValidation.validate.call(this, report, schema, json);\n }\n if (callback) {\n report.processAsyncTasks(this.options.asyncTimeout, callback);\n return;\n } else if (report.asyncTasks.length > 0) {\n throw new Error(\"This validation has async tasks and cannot be done in sync mode, please provide callback argument.\");\n }\n this.lastReport = report;\n return report.isValid();\n };\n ZSchema.prototype.getLastError = function() {\n if (this.lastReport.errors.length === 0) {\n return null;\n }\n var e = new Error();\n e.name = \"z-schema validation error\";\n e.message = this.lastReport.commonErrorMessage;\n e.details = this.lastReport.errors;\n return e;\n };\n ZSchema.prototype.getLastErrors = function() {\n return this.lastReport && this.lastReport.errors.length > 0 ? this.lastReport.errors : undefined;\n };\n ZSchema.prototype.getMissingReferences = function(arr) {\n arr = arr || this.lastReport.errors;\n var res = [],\n idx = arr.length;\n while (idx--) {\n var error = arr[idx];\n if (error.code === \"UNRESOLVABLE_REFERENCE\") {\n var reference = error.params[0];\n if (res.indexOf(reference) === -1) {\n res.push(reference);\n }\n }\n if (error.inner) {\n res = res.concat(this.getMissingReferences(error.inner));\n }\n }\n return res;\n };\n ZSchema.prototype.getMissingRemoteReferences = function() {\n var missingReferences = this.getMissingReferences(),\n missingRemoteReferences = [],\n idx = missingReferences.length;\n while (idx--) {\n var remoteReference = SchemaCache.getRemotePath(missingReferences[idx]);\n if (remoteReference && missingRemoteReferences.indexOf(remoteReference) === -1) {\n missingRemoteReferences.push(remoteReference);\n }\n }\n return missingRemoteReferences;\n };\n ZSchema.prototype.setRemoteReference = function(uri, schema) {\n if (typeof schema === \"string\") {\n schema = JSON.parse(schema);\n } else {\n schema = Utils.cloneDeep(schema);\n }\n SchemaCache.cacheSchemaByUri.call(this, uri, schema);\n };\n ZSchema.prototype.getResolvedSchema = function(schema) {\n var report = new Report(this.options);\n schema = SchemaCache.getSchema.call(this, report, schema);\n schema = Utils.cloneDeep(schema);\n var visited = [];\n var cleanup = function(schema) {\n var key,\n typeOf = Utils.whatIs(schema);\n if (typeOf !== \"object\" && typeOf !== \"array\") {\n return;\n }\n if (schema.___$visited) {\n return;\n }\n schema.___$visited = true;\n visited.push(schema);\n if (schema.$ref && schema.__$refResolved) {\n var from = schema.__$refResolved;\n var to = schema;\n delete schema.$ref;\n delete schema.__$refResolved;\n for (key in from) {\n if (from.hasOwnProperty(key)) {\n to[key] = from[key];\n }\n }\n }\n for (key in schema) {\n if (schema.hasOwnProperty(key)) {\n if (key.indexOf(\"__$\") === 0) {\n delete schema[key];\n } else {\n cleanup(schema[key]);\n }\n }\n }\n };\n cleanup(schema);\n visited.forEach(function(s) {\n delete s.___$visited;\n });\n this.lastReport = report;\n if (report.isValid()) {\n return schema;\n } else {\n throw this.getLastError();\n }\n };\n ZSchema.prototype.setSchemaReader = function(schemaReader) {\n return ZSchema.setSchemaReader(schemaReader);\n };\n ZSchema.prototype.getSchemaReader = function() {\n return ZSchema.schemaReader;\n };\n ZSchema.setSchemaReader = function(schemaReader) {\n ZSchema.schemaReader = schemaReader;\n };\n ZSchema.registerFormat = function(formatName, validatorFunction) {\n FormatValidators[formatName] = validatorFunction;\n };\n ZSchema.unregisterFormat = function(formatName) {\n delete FormatValidators[formatName];\n };\n ZSchema.getRegisteredFormats = function() {\n return Object.keys(FormatValidators);\n };\n ZSchema.getDefaultOptions = function() {\n return Utils.cloneDeep(defaultOptions);\n };\n module.exports = ZSchema;\n})(require('process'));\n","module.exports = require(\"npm:z-schema@3.17.0/src/ZSchema.js\");","{\n \"title\": \"A JSON Schema for Swagger 2.0 API.\",\n \"id\": \"http://swagger.io/v2/schema.json#\",\n \"$schema\": \"http://json-schema.org/draft-04/schema#\",\n \"type\": \"object\",\n \"required\": [\n \"swagger\",\n \"info\",\n \"paths\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"swagger\": {\n \"type\": \"string\",\n \"enum\": [\n \"2.0\"\n ],\n \"description\": \"The Swagger version of this document.\"\n },\n \"info\": {\n \"$ref\": \"#/definitions/info\"\n },\n \"host\": {\n \"type\": \"string\",\n \"pattern\": \"^[^{}/ :\\\\\\\\]+(?::\\\\d+)?$\",\n \"description\": \"The host (name or ip) of the API. Example: 'swagger.io'\"\n },\n \"basePath\": {\n \"type\": \"string\",\n \"pattern\": \"^/\",\n \"description\": \"The base path to the API. Example: '/api'.\"\n },\n \"schemes\": {\n \"$ref\": \"#/definitions/schemesList\"\n },\n \"consumes\": {\n \"description\": \"A list of MIME types accepted by the API.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"produces\": {\n \"description\": \"A list of MIME types the API can produce.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"paths\": {\n \"$ref\": \"#/definitions/paths\"\n },\n \"definitions\": {\n \"$ref\": \"#/definitions/definitions\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parameterDefinitions\"\n },\n \"responses\": {\n \"$ref\": \"#/definitions/responseDefinitions\"\n },\n \"security\": {\n \"$ref\": \"#/definitions/security\"\n },\n \"securityDefinitions\": {\n \"$ref\": \"#/definitions/securityDefinitions\"\n },\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/tag\"\n },\n \"uniqueItems\": true\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n }\n },\n \"definitions\": {\n \"info\": {\n \"type\": \"object\",\n \"description\": \"General information about the API.\",\n \"required\": [\n \"version\",\n \"title\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"title\": {\n \"type\": \"string\",\n \"description\": \"A unique and precise title of the API.\"\n },\n \"version\": {\n \"type\": \"string\",\n \"description\": \"A semantic version number of the API.\"\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A longer description of the API. Should be different from the title. GitHub Flavored Markdown is allowed.\"\n },\n \"termsOfService\": {\n \"type\": \"string\",\n \"description\": \"The terms of service for the API.\"\n },\n \"contact\": {\n \"$ref\": \"#/definitions/contact\"\n },\n \"license\": {\n \"$ref\": \"#/definitions/license\"\n }\n }\n },\n \"contact\": {\n \"type\": \"object\",\n \"description\": \"Contact information for the owners of the API.\",\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The identifying name of the contact person/organization.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"The URL pointing to the contact information.\",\n \"format\": \"uri\"\n },\n \"email\": {\n \"type\": \"string\",\n \"description\": \"The email address of the contact person/organization.\",\n \"format\": \"email\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"license\": {\n \"type\": \"object\",\n \"required\": [\n \"name\"\n ],\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the license type. It's encouraged to use an OSI compatible license.\"\n },\n \"url\": {\n \"type\": \"string\",\n \"description\": \"The URL pointing to the license.\",\n \"format\": \"uri\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"paths\": {\n \"type\": \"object\",\n \"description\": \"Relative paths to the individual endpoints. They must be relative to the 'basePath'.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n },\n \"^/\": {\n \"$ref\": \"#/definitions/pathItem\"\n }\n },\n \"additionalProperties\": false\n },\n \"definitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/schema\"\n },\n \"description\": \"One or more JSON objects describing the schemas being consumed and produced by the API.\"\n },\n \"parameterDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/parameter\"\n },\n \"description\": \"One or more JSON representations for parameters\"\n },\n \"responseDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/response\"\n },\n \"description\": \"One or more JSON representations for parameters\"\n },\n \"externalDocs\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"description\": \"information about external documentation\",\n \"required\": [\n \"url\"\n ],\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"url\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"examples\": {\n \"type\": \"object\",\n \"additionalProperties\": true\n },\n \"mimeType\": {\n \"type\": \"string\",\n \"description\": \"The MIME type of the HTTP message.\"\n },\n \"operation\": {\n \"type\": \"object\",\n \"required\": [\n \"responses\"\n ],\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"tags\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"uniqueItems\": true\n },\n \"summary\": {\n \"type\": \"string\",\n \"description\": \"A brief summary of the operation.\"\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A longer description of the operation, GitHub Flavored Markdown is allowed.\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"operationId\": {\n \"type\": \"string\",\n \"description\": \"A unique identifier of the operation.\"\n },\n \"produces\": {\n \"description\": \"A list of MIME types the API can produce.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"consumes\": {\n \"description\": \"A list of MIME types the API can consume.\",\n \"$ref\": \"#/definitions/mediaTypeList\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parametersList\"\n },\n \"responses\": {\n \"$ref\": \"#/definitions/responses\"\n },\n \"schemes\": {\n \"$ref\": \"#/definitions/schemesList\"\n },\n \"deprecated\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"security\": {\n \"$ref\": \"#/definitions/security\"\n }\n }\n },\n \"pathItem\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n },\n \"get\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"put\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"post\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"delete\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"options\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"head\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"patch\": {\n \"$ref\": \"#/definitions/operation\"\n },\n \"parameters\": {\n \"$ref\": \"#/definitions/parametersList\"\n }\n }\n },\n \"responses\": {\n \"type\": \"object\",\n \"description\": \"Response objects names can either be any valid HTTP status code or 'default'.\",\n \"minProperties\": 1,\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^([0-9]{3})$|^(default)$\": {\n \"$ref\": \"#/definitions/responseValue\"\n },\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"not\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n }\n },\n \"responseValue\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/response\"\n },\n {\n \"$ref\": \"#/definitions/jsonReference\"\n }\n ]\n },\n \"response\": {\n \"type\": \"object\",\n \"required\": [\n \"description\"\n ],\n \"properties\": {\n \"description\": {\n \"type\": \"string\"\n },\n \"schema\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"$ref\": \"#/definitions/fileSchema\"\n }\n ]\n },\n \"headers\": {\n \"$ref\": \"#/definitions/headers\"\n },\n \"examples\": {\n \"$ref\": \"#/definitions/examples\"\n }\n },\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"headers\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/header\"\n }\n },\n \"header\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"integer\",\n \"boolean\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"vendorExtension\": {\n \"description\": \"Any property starting with x- is valid.\",\n \"additionalProperties\": true,\n \"additionalItems\": true\n },\n \"bodyParameter\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"in\",\n \"schema\"\n ],\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"body\"\n ]\n },\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"schema\": {\n \"$ref\": \"#/definitions/schema\"\n }\n },\n \"additionalProperties\": false\n },\n \"headerParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"header\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"queryParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"query\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"allowEmptyValue\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"allows sending a parameter by name only or with an empty value.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormatWithMulti\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"formDataParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"description\": \"Determines whether or not this parameter is required or optional.\",\n \"default\": false\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"formData\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"allowEmptyValue\": {\n \"type\": \"boolean\",\n \"default\": false,\n \"description\": \"allows sending a parameter by name only or with an empty value.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\",\n \"file\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormatWithMulti\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"pathParameterSubSchema\": {\n \"additionalProperties\": false,\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"required\": [\n \"required\"\n ],\n \"properties\": {\n \"required\": {\n \"type\": \"boolean\",\n \"enum\": [\n true\n ],\n \"description\": \"Determines whether or not this parameter is required or optional.\"\n },\n \"in\": {\n \"type\": \"string\",\n \"description\": \"Determines the location of the parameter.\",\n \"enum\": [\n \"path\"\n ]\n },\n \"description\": {\n \"type\": \"string\",\n \"description\": \"A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.\"\n },\n \"name\": {\n \"type\": \"string\",\n \"description\": \"The name of the parameter.\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"boolean\",\n \"integer\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n }\n },\n \"nonBodyParameter\": {\n \"type\": \"object\",\n \"required\": [\n \"name\",\n \"in\",\n \"type\"\n ],\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/headerParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/formDataParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/queryParameterSubSchema\"\n },\n {\n \"$ref\": \"#/definitions/pathParameterSubSchema\"\n }\n ]\n },\n \"parameter\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/bodyParameter\"\n },\n {\n \"$ref\": \"#/definitions/nonBodyParameter\"\n }\n ]\n },\n \"schema\": {\n \"type\": \"object\",\n \"description\": \"A deterministic version of a JSON Schema object.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"multipleOf\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/multipleOf\"\n },\n \"maximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"pattern\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"uniqueItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/uniqueItems\"\n },\n \"maxProperties\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minProperties\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"required\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/stringArray\"\n },\n \"enum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/enum\"\n },\n \"additionalProperties\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"type\": \"boolean\"\n }\n ],\n \"default\": {}\n },\n \"type\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/type\"\n },\n \"items\": {\n \"anyOf\": [\n {\n \"$ref\": \"#/definitions/schema\"\n },\n {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"$ref\": \"#/definitions/schema\"\n }\n }\n ],\n \"default\": {}\n },\n \"allOf\": {\n \"type\": \"array\",\n \"minItems\": 1,\n \"items\": {\n \"$ref\": \"#/definitions/schema\"\n }\n },\n \"properties\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"$ref\": \"#/definitions/schema\"\n },\n \"default\": {}\n },\n \"discriminator\": {\n \"type\": \"string\"\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"xml\": {\n \"$ref\": \"#/definitions/xml\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"example\": {}\n },\n \"additionalProperties\": false\n },\n \"fileSchema\": {\n \"type\": \"object\",\n \"description\": \"A deterministic version of a JSON Schema object.\",\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n },\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"format\": {\n \"type\": \"string\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"required\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/stringArray\"\n },\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"file\"\n ]\n },\n \"readOnly\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n },\n \"example\": {}\n },\n \"additionalProperties\": false\n },\n \"primitivesItems\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"string\",\n \"number\",\n \"integer\",\n \"boolean\",\n \"array\"\n ]\n },\n \"format\": {\n \"type\": \"string\"\n },\n \"items\": {\n \"$ref\": \"#/definitions/primitivesItems\"\n },\n \"collectionFormat\": {\n \"$ref\": \"#/definitions/collectionFormat\"\n },\n \"default\": {\n \"$ref\": \"#/definitions/default\"\n },\n \"maximum\": {\n \"$ref\": \"#/definitions/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"#/definitions/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"#/definitions/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"#/definitions/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"#/definitions/maxLength\"\n },\n \"minLength\": {\n \"$ref\": \"#/definitions/minLength\"\n },\n \"pattern\": {\n \"$ref\": \"#/definitions/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"#/definitions/maxItems\"\n },\n \"minItems\": {\n \"$ref\": \"#/definitions/minItems\"\n },\n \"uniqueItems\": {\n \"$ref\": \"#/definitions/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"#/definitions/enum\"\n },\n \"multipleOf\": {\n \"$ref\": \"#/definitions/multipleOf\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"security\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/securityRequirement\"\n },\n \"uniqueItems\": true\n },\n \"securityRequirement\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\"\n },\n \"uniqueItems\": true\n }\n },\n \"xml\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"namespace\": {\n \"type\": \"string\"\n },\n \"prefix\": {\n \"type\": \"string\"\n },\n \"attribute\": {\n \"type\": \"boolean\",\n \"default\": false\n },\n \"wrapped\": {\n \"type\": \"boolean\",\n \"default\": false\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"tag\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"name\"\n ],\n \"properties\": {\n \"name\": {\n \"type\": \"string\"\n },\n \"description\": {\n \"type\": \"string\"\n },\n \"externalDocs\": {\n \"$ref\": \"#/definitions/externalDocs\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"securityDefinitions\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/basicAuthenticationSecurity\"\n },\n {\n \"$ref\": \"#/definitions/apiKeySecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2ImplicitSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2PasswordSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2ApplicationSecurity\"\n },\n {\n \"$ref\": \"#/definitions/oauth2AccessCodeSecurity\"\n }\n ]\n }\n },\n \"basicAuthenticationSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"basic\"\n ]\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"apiKeySecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"name\",\n \"in\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"apiKey\"\n ]\n },\n \"name\": {\n \"type\": \"string\"\n },\n \"in\": {\n \"type\": \"string\",\n \"enum\": [\n \"header\",\n \"query\"\n ]\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2ImplicitSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"authorizationUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"implicit\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2PasswordSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"password\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2ApplicationSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"application\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2AccessCodeSecurity\": {\n \"type\": \"object\",\n \"additionalProperties\": false,\n \"required\": [\n \"type\",\n \"flow\",\n \"authorizationUrl\",\n \"tokenUrl\"\n ],\n \"properties\": {\n \"type\": {\n \"type\": \"string\",\n \"enum\": [\n \"oauth2\"\n ]\n },\n \"flow\": {\n \"type\": \"string\",\n \"enum\": [\n \"accessCode\"\n ]\n },\n \"scopes\": {\n \"$ref\": \"#/definitions/oauth2Scopes\"\n },\n \"authorizationUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"tokenUrl\": {\n \"type\": \"string\",\n \"format\": \"uri\"\n },\n \"description\": {\n \"type\": \"string\"\n }\n },\n \"patternProperties\": {\n \"^x-\": {\n \"$ref\": \"#/definitions/vendorExtension\"\n }\n }\n },\n \"oauth2Scopes\": {\n \"type\": \"object\",\n \"additionalProperties\": {\n \"type\": \"string\"\n }\n },\n \"mediaTypeList\": {\n \"type\": \"array\",\n \"items\": {\n \"$ref\": \"#/definitions/mimeType\"\n },\n \"uniqueItems\": true\n },\n \"parametersList\": {\n \"type\": \"array\",\n \"description\": \"The parameters needed to send a valid API call.\",\n \"additionalItems\": false,\n \"items\": {\n \"oneOf\": [\n {\n \"$ref\": \"#/definitions/parameter\"\n },\n {\n \"$ref\": \"#/definitions/jsonReference\"\n }\n ]\n },\n \"uniqueItems\": true\n },\n \"schemesList\": {\n \"type\": \"array\",\n \"description\": \"The transfer protocol of the API.\",\n \"items\": {\n \"type\": \"string\",\n \"enum\": [\n \"http\",\n \"https\",\n \"ws\",\n \"wss\"\n ]\n },\n \"uniqueItems\": true\n },\n \"collectionFormat\": {\n \"type\": \"string\",\n \"enum\": [\n \"csv\",\n \"ssv\",\n \"tsv\",\n \"pipes\"\n ],\n \"default\": \"csv\"\n },\n \"collectionFormatWithMulti\": {\n \"type\": \"string\",\n \"enum\": [\n \"csv\",\n \"ssv\",\n \"tsv\",\n \"pipes\",\n \"multi\"\n ],\n \"default\": \"csv\"\n },\n \"title\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/title\"\n },\n \"description\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/description\"\n },\n \"default\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/default\"\n },\n \"multipleOf\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/multipleOf\"\n },\n \"maximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/maximum\"\n },\n \"exclusiveMaximum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMaximum\"\n },\n \"minimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/minimum\"\n },\n \"exclusiveMinimum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/exclusiveMinimum\"\n },\n \"maxLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minLength\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"pattern\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/pattern\"\n },\n \"maxItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveInteger\"\n },\n \"minItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/definitions/positiveIntegerDefault0\"\n },\n \"uniqueItems\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/uniqueItems\"\n },\n \"enum\": {\n \"$ref\": \"http://json-schema.org/draft-04/schema#/properties/enum\"\n },\n \"jsonReference\": {\n \"type\": \"object\",\n \"required\": [\n \"$ref\"\n ],\n \"additionalProperties\": false,\n \"properties\": {\n \"$ref\": {\n \"type\": \"string\"\n }\n }\n }\n }\n}","/* */ \n'use strict';\nvar util = require('./util'),\n ono = require('ono'),\n ZSchema = require('z-schema'),\n swaggerSchema = require('swagger-schema-official/schema');\nmodule.exports = validateSchema;\ninitializeZSchema();\nfunction validateSchema(api) {\n util.debug('Validating against the Swagger 2.0 schema');\n var isValid = ZSchema.validate(api, swaggerSchema);\n if (isValid) {\n util.debug(' Validated successfully');\n } else {\n var err = ZSchema.getLastError();\n var message = 'Swagger schema validation failed. \\n' + formatZSchemaError(err.details);\n throw ono.syntax(err, {details: err.details}, message);\n }\n}\nfunction initializeZSchema() {\n ZSchema = new ZSchema({\n breakOnFirstError: true,\n noExtraKeywords: true,\n ignoreUnknownFormats: false,\n reportPathAsArray: true\n });\n}\nfunction formatZSchemaError(errors, indent) {\n indent = indent || ' ';\n var message = '';\n errors.forEach(function(error, index) {\n message += util.format('%s%s at #/%s\\n', indent, error.message, error.path.join('/'));\n if (error.inner) {\n message += formatZSchemaError(error.inner, indent + ' ');\n }\n });\n return message;\n}\n","/* */ \nmodule.exports = ['get', 'put', 'post', 'delete', 'options', 'head', 'patch'];\n","module.exports = require(\"npm:swagger-methods@1.0.0/lib/index.js\");","/* */ \n'use strict';\nvar util = require('./util'),\n ono = require('ono'),\n swaggerMethods = require('swagger-methods'),\n primitiveTypes = ['array', 'boolean', 'integer', 'number', 'string'],\n schemaTypes = ['array', 'boolean', 'integer', 'number', 'string', 'object', 'null', undefined];\nmodule.exports = validateSpec;\nfunction validateSpec(api) {\n util.debug('Validating against the Swagger 2.0 spec');\n var paths = Object.keys(api.paths || {});\n paths.forEach(function(pathName) {\n var path = api.paths[pathName];\n var pathId = '/paths' + pathName;\n if (path && pathName.indexOf('/') === 0) {\n validatePath(api, path, pathId);\n }\n });\n util.debug(' Validated successfully');\n}\nfunction validatePath(api, path, pathId) {\n swaggerMethods.forEach(function(operationName) {\n var operation = path[operationName];\n var operationId = pathId + '/' + operationName;\n if (operation) {\n validateParameters(api, path, pathId, operation, operationId);\n var responses = Object.keys(operation.responses || {});\n responses.forEach(function(responseName) {\n var response = operation.responses[responseName];\n var responseId = operationId + '/responses/' + responseName;\n validateResponse(responseName, response, responseId);\n });\n }\n });\n}\nfunction validateParameters(api, path, pathId, operation, operationId) {\n var pathParams = path.parameters || [];\n var operationParams = operation.parameters || [];\n try {\n checkForDuplicates(pathParams);\n } catch (e) {\n throw ono.syntax(e, 'Validation failed. %s has duplicate parameters', pathId);\n }\n try {\n checkForDuplicates(operationParams);\n } catch (e) {\n throw ono.syntax(e, 'Validation failed. %s has duplicate parameters', operationId);\n }\n var params = pathParams.reduce(function(combinedParams, value) {\n var duplicate = combinedParams.some(function(param) {\n return param.in === value.in && param.name === value.name;\n });\n if (!duplicate) {\n combinedParams.push(value);\n }\n return combinedParams;\n }, operationParams.slice());\n validateBodyParameters(params, operationId);\n validatePathParameters(params, pathId, operationId);\n validateParameterTypes(params, api, operation, operationId);\n}\nfunction validateBodyParameters(params, operationId) {\n var bodyParams = params.filter(function(param) {\n return param.in === 'body';\n });\n var formParams = params.filter(function(param) {\n return param.in === 'formData';\n });\n if (bodyParams.length > 1) {\n throw ono.syntax('Validation failed. %s has %d body parameters. Only one is allowed.', operationId, bodyParams.length);\n } else if (bodyParams.length > 0 && formParams.length > 0) {\n throw ono.syntax('Validation failed. %s has body parameters and formData parameters. Only one or the other is allowed.', operationId);\n }\n}\nfunction validatePathParameters(params, pathId, operationId) {\n var placeholders = pathId.match(util.swaggerParamRegExp) || [];\n for (var i = 0; i < placeholders.length; i++) {\n for (var j = i + 1; j < placeholders.length; j++) {\n if (placeholders[i] === placeholders[j]) {\n throw ono.syntax('Validation failed. %s has multiple path placeholders named %s', operationId, placeholders[i]);\n }\n }\n }\n params.filter(function(param) {\n return param.in === 'path';\n }).forEach(function(param) {\n if (param.required !== true) {\n throw ono.syntax('Validation failed. Path parameters cannot be optional. Set required=true for the \"%s\" parameter at %s', param.name, operationId);\n }\n var match = placeholders.indexOf('{' + param.name + '}');\n if (match === -1) {\n throw ono.syntax('Validation failed. %s has a path parameter named \"%s\", ' + 'but there is no corresponding {%s} in the path string', operationId, param.name, param.name);\n }\n placeholders.splice(match, 1);\n });\n if (placeholders.length > 0) {\n throw ono.syntax('Validation failed. %s is missing path parameter(s) for %s', operationId, placeholders);\n }\n}\nfunction validateParameterTypes(params, api, operation, operationId) {\n params.forEach(function(param) {\n var parameterId = operationId + '/parameters/' + param.name;\n var schema,\n validTypes;\n switch (param.in) {\n case 'body':\n schema = param.schema;\n validTypes = schemaTypes;\n break;\n case 'formData':\n schema = param;\n validTypes = primitiveTypes.concat('file');\n break;\n default:\n schema = param;\n validTypes = primitiveTypes;\n }\n validateSchema(schema, parameterId, validTypes);\n if (schema.type === 'file') {\n var consumes = operation.consumes || api.consumes || [];\n if (consumes.indexOf('multipart/form-data') === -1 && consumes.indexOf('application/x-www-form-urlencoded') === -1) {\n throw ono.syntax('Validation failed. %s has a file parameter, so it must consume multipart/form-data ' + 'or application/x-www-form-urlencoded', operationId);\n }\n }\n });\n}\nfunction checkForDuplicates(params) {\n for (var i = 0; i < params.length - 1; i++) {\n var outer = params[i];\n for (var j = i + 1; j < params.length; j++) {\n var inner = params[j];\n if (outer.name === inner.name && outer.in === inner.in) {\n throw ono.syntax('Validation failed. Found multiple %s parameters named \"%s\"', outer.in, outer.name);\n }\n }\n }\n}\nfunction validateResponse(code, response, responseId) {\n if (code !== 'default' && (code < 100 || code > 599)) {\n throw ono.syntax('Validation failed. %s has an invalid response code (%s)', responseId, code);\n }\n var headers = Object.keys(response.headers || {});\n headers.forEach(function(headerName) {\n var header = response.headers[headerName];\n var headerId = responseId + '/headers/' + headerName;\n validateSchema(header, headerId, primitiveTypes);\n });\n if (response.schema) {\n var validTypes = schemaTypes.concat('file');\n if (validTypes.indexOf(response.schema.type) === -1) {\n throw ono.syntax('Validation failed. %s has an invalid response schema type (%s)', responseId, response.schema.type);\n }\n }\n}\nfunction validateSchema(schema, schemaId, validTypes) {\n if (validTypes.indexOf(schema.type) === -1) {\n throw ono.syntax('Validation failed. %s has an invalid type (%s)', schemaId, schema.type);\n }\n if (schema.type === 'array' && !schema.items) {\n throw ono.syntax('Validation failed. %s is an array, so it must include an \"items\" schema', schemaId);\n }\n}\n","/* */ \n'use strict';\nvar debug = require('debug'),\n util = require('util');\nexports.format = util.format;\nexports.inherits = util.inherits;\nexports.debug = debug('swagger:parser');\nexports.swaggerParamRegExp = /\\{([^/}]+)}/g;\n","/* */ \n'use strict';\nvar $RefParserOptions = require('json-schema-ref-parser/lib/options'),\n util = require('util');\nmodule.exports = ParserOptions;\nfunction ParserOptions(options) {\n $RefParserOptions.call(this, ParserOptions.defaults);\n $RefParserOptions.apply(this, arguments);\n}\nParserOptions.defaults = {validate: {\n schema: {order: 1},\n spec: {order: 2}\n }};\nutil.inherits(ParserOptions, $RefParserOptions);\n","/* */ \n'use strict';\n\n/** @type {Promise} **/\nmodule.exports = typeof Promise === 'function' ? Promise : require('es6-promise').Promise;\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('../util/promise');\n module.exports = {\n order: 100,\n allowEmpty: true,\n canParse: '.json',\n parse: function parseJSON(file) {\n return new Promise(function(resolve, reject) {\n var data = file.data;\n if (Buffer.isBuffer(data)) {\n data = data.toString();\n }\n if (typeof data === 'string') {\n if (data.trim().length === 0) {\n resolve(undefined);\n } else {\n resolve(JSON.parse(data));\n }\n } else {\n resolve(data);\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('../util/promise'),\n YAML = require('../util/yaml');\n module.exports = {\n order: 200,\n allowEmpty: true,\n canParse: ['.yaml', '.yml', '.json'],\n parse: function parseYAML(file) {\n return new Promise(function(resolve, reject) {\n var data = file.data;\n if (Buffer.isBuffer(data)) {\n data = data.toString();\n }\n if (typeof data === 'string') {\n resolve(YAML.parse(data));\n } else {\n resolve(data);\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var TEXT_REGEXP = /\\.(txt|htm|html|md|xml|js|min|map|css|scss|less|svg)$/i;\n module.exports = {\n order: 300,\n allowEmpty: true,\n encoding: 'utf8',\n canParse: function isText(file) {\n return (typeof file.data === 'string' || Buffer.isBuffer(file.data)) && TEXT_REGEXP.test(file.url);\n },\n parse: function parseText(file) {\n if (typeof file.data === 'string') {\n return file.data;\n } else if (Buffer.isBuffer(file.data)) {\n return file.data.toString(this.encoding);\n } else {\n throw new Error('data is not text');\n }\n }\n };\n})(require('buffer').Buffer);\n","/* */ \n(function(Buffer) {\n 'use strict';\n var BINARY_REGEXP = /\\.(jpeg|jpg|gif|png|bmp|ico)$/i;\n module.exports = {\n order: 400,\n allowEmpty: true,\n canParse: function isBinary(file) {\n return Buffer.isBuffer(file.data) && BINARY_REGEXP.test(file.url);\n },\n parse: function parseBinary(file) {\n if (Buffer.isBuffer(file.data)) {\n return file.data;\n } else {\n return new Buffer(file.data);\n }\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nif (System._nodeRequire) {\n module.exports = System._nodeRequire('fs');\n}\nelse {\n\n exports.readFileSync = function(address) {\n var output;\n var xhr = new XMLHttpRequest();\n xhr.open('GET', address, false);\n xhr.onreadystatechange = function(e) {\n if (xhr.readyState == 4) {\n var status = xhr.status;\n if ((status > 399 && status < 600) || status == 400) {\n throw 'File read error on ' + address;\n }\n else\n output = xhr.responseText;\n }\n }\n xhr.send(null);\n return output;\n };\n\n}\n","module.exports = require(\"github:jspm/nodelibs-fs@0.1.2/index\");","/* */ \n(function(Buffer) {\n 'use strict';\n var fs = require('fs'),\n ono = require('ono'),\n Promise = require('../util/promise'),\n url = require('../util/url'),\n debug = require('../util/debug');\n module.exports = {\n order: 100,\n canRead: function isFile(file) {\n return url.isFileSystemPath(file.url);\n },\n read: function readFile(file) {\n return new Promise(function(resolve, reject) {\n var path;\n try {\n path = url.toFileSystemPath(file.url);\n } catch (err) {\n reject(ono.uri(err, 'Malformed URI: %s', file.url));\n }\n debug('Opening file: %s', path);\n try {\n fs.readFile(path, function(err, data) {\n if (err) {\n reject(ono(err, 'Error opening file \"%s\"', path));\n } else {\n resolve(data);\n }\n });\n } catch (err) {\n reject(ono(err, 'Error opening file \"%s\"', path));\n }\n });\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nexports.fetch = isFunction(global.fetch) && isFunction(global.ReadableByteStream)\n\nexports.blobConstructor = false\ntry {\n\tnew Blob([new ArrayBuffer(1)])\n\texports.blobConstructor = true\n} catch (e) {}\n\nvar xhr = new global.XMLHttpRequest()\n// If location.host is empty, e.g. if this page/worker was loaded\n// from a Blob, then use example.com to avoid an error\nxhr.open('GET', global.location.host ? '/' : 'https://example.com')\n\nfunction checkTypeSupport (type) {\n\ttry {\n\t\txhr.responseType = type\n\t\treturn xhr.responseType === type\n\t} catch (e) {}\n\treturn false\n}\n\n// For some strange reason, Safari 7.0 reports typeof global.ArrayBuffer === 'object'.\n// Safari 7.1 appears to have fixed this bug.\nvar haveArrayBuffer = typeof global.ArrayBuffer !== 'undefined'\nvar haveSlice = haveArrayBuffer && isFunction(global.ArrayBuffer.prototype.slice)\n\nexports.arraybuffer = haveArrayBuffer && checkTypeSupport('arraybuffer')\n// These next two tests unavoidably show warnings in Chrome. Since fetch will always\n// be used if it's available, just return false for these to avoid the warnings.\nexports.msstream = !exports.fetch && haveSlice && checkTypeSupport('ms-stream')\nexports.mozchunkedarraybuffer = !exports.fetch && haveArrayBuffer &&\n\tcheckTypeSupport('moz-chunked-arraybuffer')\nexports.overrideMimeType = isFunction(xhr.overrideMimeType)\nexports.vbArray = isFunction(global.VBArray)\n\nfunction isFunction (value) {\n return typeof value === 'function'\n}\n\nxhr = null // Help gc\n","/* */ \n(function(Buffer, process) {\n var capability = require('./capability');\n var inherits = require('inherits');\n var stream = require('readable-stream');\n var rStates = exports.readyStates = {\n UNSENT: 0,\n OPENED: 1,\n HEADERS_RECEIVED: 2,\n LOADING: 3,\n DONE: 4\n };\n var IncomingMessage = exports.IncomingMessage = function(xhr, response, mode) {\n var self = this;\n stream.Readable.call(self);\n self._mode = mode;\n self.headers = {};\n self.rawHeaders = [];\n self.trailers = {};\n self.rawTrailers = [];\n self.on('end', function() {\n process.nextTick(function() {\n self.emit('close');\n });\n });\n if (mode === 'fetch') {\n self._fetchResponse = response;\n self.url = response.url;\n self.statusCode = response.status;\n self.statusMessage = response.statusText;\n for (var header,\n _i,\n _it = response.headers[Symbol.iterator](); header = (_i = _it.next()).value, !_i.done; ) {\n self.headers[header[0].toLowerCase()] = header[1];\n self.rawHeaders.push(header[0], header[1]);\n }\n var reader = response.body.getReader();\n function read() {\n reader.read().then(function(result) {\n if (self._destroyed)\n return;\n if (result.done) {\n self.push(null);\n return;\n }\n self.push(new Buffer(result.value));\n read();\n });\n }\n read();\n } else {\n self._xhr = xhr;\n self._pos = 0;\n self.url = xhr.responseURL;\n self.statusCode = xhr.status;\n self.statusMessage = xhr.statusText;\n var headers = xhr.getAllResponseHeaders().split(/\\r?\\n/);\n headers.forEach(function(header) {\n var matches = header.match(/^([^:]+):\\s*(.*)/);\n if (matches) {\n var key = matches[1].toLowerCase();\n if (key === 'set-cookie') {\n if (self.headers[key] === undefined) {\n self.headers[key] = [];\n }\n self.headers[key].push(matches[2]);\n } else if (self.headers[key] !== undefined) {\n self.headers[key] += ', ' + matches[2];\n } else {\n self.headers[key] = matches[2];\n }\n self.rawHeaders.push(matches[1], matches[2]);\n }\n });\n self._charset = 'x-user-defined';\n if (!capability.overrideMimeType) {\n var mimeType = self.rawHeaders['mime-type'];\n if (mimeType) {\n var charsetMatch = mimeType.match(/;\\s*charset=([^;])(;|$)/);\n if (charsetMatch) {\n self._charset = charsetMatch[1].toLowerCase();\n }\n }\n if (!self._charset)\n self._charset = 'utf-8';\n }\n }\n };\n inherits(IncomingMessage, stream.Readable);\n IncomingMessage.prototype._read = function() {};\n IncomingMessage.prototype._onXHRProgress = function() {\n var self = this;\n var xhr = self._xhr;\n var response = null;\n switch (self._mode) {\n case 'text:vbarray':\n if (xhr.readyState !== rStates.DONE)\n break;\n try {\n response = new global.VBArray(xhr.responseBody).toArray();\n } catch (e) {}\n if (response !== null) {\n self.push(new Buffer(response));\n break;\n }\n case 'text':\n try {\n response = xhr.responseText;\n } catch (e) {\n self._mode = 'text:vbarray';\n break;\n }\n if (response.length > self._pos) {\n var newData = response.substr(self._pos);\n if (self._charset === 'x-user-defined') {\n var buffer = new Buffer(newData.length);\n for (var i = 0; i < newData.length; i++)\n buffer[i] = newData.charCodeAt(i) & 0xff;\n self.push(buffer);\n } else {\n self.push(newData, self._charset);\n }\n self._pos = response.length;\n }\n break;\n case 'arraybuffer':\n if (xhr.readyState !== rStates.DONE)\n break;\n response = xhr.response;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n case 'moz-chunked-arraybuffer':\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING || !response)\n break;\n self.push(new Buffer(new Uint8Array(response)));\n break;\n case 'ms-stream':\n response = xhr.response;\n if (xhr.readyState !== rStates.LOADING)\n break;\n var reader = new global.MSStreamReader();\n reader.onprogress = function() {\n if (reader.result.byteLength > self._pos) {\n self.push(new Buffer(new Uint8Array(reader.result.slice(self._pos))));\n self._pos = reader.result.byteLength;\n }\n };\n reader.onload = function() {\n self.push(null);\n };\n reader.readAsArrayBuffer(response);\n break;\n }\n if (self._xhr.readyState === rStates.DONE && self._mode !== 'ms-stream') {\n self.push(null);\n }\n };\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = Readable;\n var processNextTick = require('process-nextick-args');\n var isArray = require('isarray');\n var Buffer = require('buffer').Buffer;\n Readable.ReadableState = ReadableState;\n var EE = require('events');\n var EElistenerCount = function(emitter, type) {\n return emitter.listeners(type).length;\n };\n var Stream;\n (function() {\n try {\n Stream = require('st' + 'ream');\n } catch (_) {} finally {\n if (!Stream)\n Stream = require('events').EventEmitter;\n }\n })();\n var Buffer = require('buffer').Buffer;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var debugUtil = require('@empty');\n var debug = undefined;\n if (debugUtil && debugUtil.debuglog) {\n debug = debugUtil.debuglog('stream');\n } else {\n debug = function() {};\n }\n var StringDecoder;\n util.inherits(Readable, Stream);\n var Duplex;\n function ReadableState(options, stream) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.readableObjectMode;\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.buffer = [];\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n this.sync = true;\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.resumeScheduled = false;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.ranOut = false;\n this.awaitDrain = 0;\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n }\n var Duplex;\n function Readable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Readable))\n return new Readable(options);\n this._readableState = new ReadableState(options, this);\n this.readable = true;\n if (options && typeof options.read === 'function')\n this._read = options.read;\n Stream.call(this);\n }\n Readable.prototype.push = function(chunk, encoding) {\n var state = this._readableState;\n if (!state.objectMode && typeof chunk === 'string') {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = new Buffer(chunk, encoding);\n encoding = '';\n }\n }\n return readableAddChunk(this, state, chunk, encoding, false);\n };\n Readable.prototype.unshift = function(chunk) {\n var state = this._readableState;\n return readableAddChunk(this, state, chunk, '', true);\n };\n Readable.prototype.isPaused = function() {\n return this._readableState.flowing === false;\n };\n function readableAddChunk(stream, state, chunk, encoding, addToFront) {\n var er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (chunk === null) {\n state.reading = false;\n onEofChunk(stream, state);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (state.ended && !addToFront) {\n var e = new Error('stream.push() after EOF');\n stream.emit('error', e);\n } else if (state.endEmitted && addToFront) {\n var e = new Error('stream.unshift() after end event');\n stream.emit('error', e);\n } else {\n var skipAdd;\n if (state.decoder && !addToFront && !encoding) {\n chunk = state.decoder.write(chunk);\n skipAdd = !state.objectMode && chunk.length === 0;\n }\n if (!addToFront)\n state.reading = false;\n if (!skipAdd) {\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront)\n state.buffer.unshift(chunk);\n else\n state.buffer.push(chunk);\n if (state.needReadable)\n emitReadable(stream);\n }\n }\n maybeReadMore(stream, state);\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n return needMoreData(state);\n }\n function needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n }\n Readable.prototype.setEncoding = function(enc) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n };\n var MAX_HWM = 0x800000;\n function computeNewHighWaterMark(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n n--;\n n |= n >>> 1;\n n |= n >>> 2;\n n |= n >>> 4;\n n |= n >>> 8;\n n |= n >>> 16;\n n++;\n }\n return n;\n }\n function howMuchToRead(n, state) {\n if (state.length === 0 && state.ended)\n return 0;\n if (state.objectMode)\n return n === 0 ? 0 : 1;\n if (n === null || isNaN(n)) {\n if (state.flowing && state.buffer.length)\n return state.buffer[0].length;\n else\n return state.length;\n }\n if (n <= 0)\n return 0;\n if (n > state.highWaterMark)\n state.highWaterMark = computeNewHighWaterMark(n);\n if (n > state.length) {\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n } else {\n return state.length;\n }\n }\n return n;\n }\n Readable.prototype.read = function(n) {\n debug('read', n);\n var state = this._readableState;\n var nOrig = n;\n if (typeof n !== 'number' || n > 0)\n state.emittedReadable = false;\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended)\n endReadable(this);\n else\n emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n if (n === 0 && state.ended) {\n if (state.length === 0)\n endReadable(this);\n return null;\n }\n var doRead = state.needReadable;\n debug('need readable', doRead);\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n }\n if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n if (state.length === 0)\n state.needReadable = true;\n this._read(state.highWaterMark);\n state.sync = false;\n }\n if (doRead && !state.reading)\n n = howMuchToRead(nOrig, state);\n var ret;\n if (n > 0)\n ret = fromList(n, state);\n else\n ret = null;\n if (ret === null) {\n state.needReadable = true;\n n = 0;\n }\n state.length -= n;\n if (state.length === 0 && !state.ended)\n state.needReadable = true;\n if (nOrig !== n && state.ended && state.length === 0)\n endReadable(this);\n if (ret !== null)\n this.emit('data', ret);\n return ret;\n };\n function chunkInvalid(state, chunk) {\n var er = null;\n if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n }\n function onEofChunk(stream, state) {\n if (state.ended)\n return;\n if (state.decoder) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n emitReadable(stream);\n }\n function emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync)\n processNextTick(emitReadable_, stream);\n else\n emitReadable_(stream);\n }\n }\n function emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n }\n function maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n processNextTick(maybeReadMore_, stream, state);\n }\n }\n function maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n break;\n else\n len = state.length;\n }\n state.readingMore = false;\n }\n Readable.prototype._read = function(n) {\n this.emit('error', new Error('not implemented'));\n };\n Readable.prototype.pipe = function(dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : cleanup;\n if (state.endEmitted)\n processNextTick(endFn);\n else\n src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable) {\n debug('onunpipe');\n if (readable === src) {\n cleanup();\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n var cleanedUp = false;\n function cleanup() {\n debug('cleanup');\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', cleanup);\n src.removeListener('data', ondata);\n cleanedUp = true;\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain))\n ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n if (false === ret) {\n if (state.pipesCount === 1 && state.pipes[0] === dest && src.listenerCount('data') === 1 && !cleanedUp) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n }\n src.pause();\n }\n }\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EElistenerCount(dest, 'error') === 0)\n dest.emit('error', er);\n }\n if (!dest._events || !dest._events.error)\n dest.on('error', onerror);\n else if (isArray(dest._events.error))\n dest._events.error.unshift(onerror);\n else\n dest._events.error = [onerror, dest._events.error];\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n dest.emit('pipe', src);\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n };\n function pipeOnDrain(src) {\n return function() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain)\n state.awaitDrain--;\n if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n }\n Readable.prototype.unpipe = function(dest) {\n var state = this._readableState;\n if (state.pipesCount === 0)\n return this;\n if (state.pipesCount === 1) {\n if (dest && dest !== state.pipes)\n return this;\n if (!dest)\n dest = state.pipes;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest)\n dest.emit('unpipe', this);\n return this;\n }\n if (!dest) {\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var _i = 0; _i < len; _i++) {\n dests[_i].emit('unpipe', this);\n }\n return this;\n }\n var i = indexOf(state.pipes, dest);\n if (i === -1)\n return this;\n state.pipes.splice(i, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1)\n state.pipes = state.pipes[0];\n dest.emit('unpipe', this);\n return this;\n };\n Readable.prototype.on = function(ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n if (ev === 'data' && false !== this._readableState.flowing) {\n this.resume();\n }\n if (ev === 'readable' && !this._readableState.endEmitted) {\n var state = this._readableState;\n if (!state.readableListening) {\n state.readableListening = true;\n state.emittedReadable = false;\n state.needReadable = true;\n if (!state.reading) {\n processNextTick(nReadingNextTick, this);\n } else if (state.length) {\n emitReadable(this, state);\n }\n }\n }\n return res;\n };\n Readable.prototype.addListener = Readable.prototype.on;\n function nReadingNextTick(self) {\n debug('readable nexttick read 0');\n self.read(0);\n }\n Readable.prototype.resume = function() {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n resume(this, state);\n }\n return this;\n };\n function resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n processNextTick(resume_, stream, state);\n }\n }\n function resume_(stream, state) {\n if (!state.reading) {\n debug('resume read 0');\n stream.read(0);\n }\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading)\n stream.read(0);\n }\n Readable.prototype.pause = function() {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n };\n function flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n if (state.flowing) {\n do {\n var chunk = stream.read();\n } while (null !== chunk && state.flowing);\n }\n }\n Readable.prototype.wrap = function(stream) {\n var state = this._readableState;\n var paused = false;\n var self = this;\n stream.on('end', function() {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length)\n self.push(chunk);\n }\n self.push(null);\n });\n stream.on('data', function(chunk) {\n debug('wrapped data');\n if (state.decoder)\n chunk = state.decoder.write(chunk);\n if (state.objectMode && (chunk === null || chunk === undefined))\n return;\n else if (!state.objectMode && (!chunk || !chunk.length))\n return;\n var ret = self.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n for (var i in stream) {\n if (this[i] === undefined && typeof stream[i] === 'function') {\n this[i] = function(method) {\n return function() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n var events = ['error', 'close', 'destroy', 'pause', 'resume'];\n forEach(events, function(ev) {\n stream.on(ev, self.emit.bind(self, ev));\n });\n self._read = function(n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return self;\n };\n Readable._fromList = fromList;\n function fromList(n, state) {\n var list = state.buffer;\n var length = state.length;\n var stringMode = !!state.decoder;\n var objectMode = !!state.objectMode;\n var ret;\n if (list.length === 0)\n return null;\n if (length === 0)\n ret = null;\n else if (objectMode)\n ret = list.shift();\n else if (!n || n >= length) {\n if (stringMode)\n ret = list.join('');\n else if (list.length === 1)\n ret = list[0];\n else\n ret = Buffer.concat(list, length);\n list.length = 0;\n } else {\n if (n < list[0].length) {\n var buf = list[0];\n ret = buf.slice(0, n);\n list[0] = buf.slice(n);\n } else if (n === list[0].length) {\n ret = list.shift();\n } else {\n if (stringMode)\n ret = '';\n else\n ret = new Buffer(n);\n var c = 0;\n for (var i = 0,\n l = list.length; i < l && c < n; i++) {\n var buf = list[0];\n var cpy = Math.min(n - c, buf.length);\n if (stringMode)\n ret += buf.slice(0, cpy);\n else\n buf.copy(ret, c, 0, cpy);\n if (cpy < buf.length)\n list[0] = buf.slice(cpy);\n else\n list.shift();\n c += cpy;\n }\n }\n }\n return ret;\n }\n function endReadable(stream) {\n var state = stream._readableState;\n if (state.length > 0)\n throw new Error('endReadable called on non-empty stream');\n if (!state.endEmitted) {\n state.ended = true;\n processNextTick(endReadableNT, state, stream);\n }\n }\n function endReadableNT(state, stream) {\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n function indexOf(xs, x) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n if (!process.version || process.version.indexOf('v0.') === 0 || process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) {\n module.exports = nextTick;\n } else {\n module.exports = process.nextTick;\n }\n function nextTick(fn) {\n var args = new Array(arguments.length - 1);\n var i = 0;\n while (i < args.length) {\n args[i++] = arguments[i];\n }\n process.nextTick(function afterTick() {\n fn.apply(null, args);\n });\n }\n})(require('process'));\n","module.exports = require(\"npm:process-nextick-args@1.0.6/index.js\");","\n/**\n * Module exports.\n */\n\nmodule.exports = deprecate;\n\n/**\n * Mark that a method should not be used.\n * Returns a modified function which warns once by default.\n *\n * If `localStorage.noDeprecation = true` is set, then it is a no-op.\n *\n * If `localStorage.throwDeprecation = true` is set, then deprecated functions\n * will throw an Error when invoked.\n *\n * If `localStorage.traceDeprecation = true` is set, then deprecated functions\n * will invoke `console.trace()` instead of `console.error()`.\n *\n * @param {Function} fn - the function to deprecate\n * @param {String} msg - the string to print to the console when `fn` is invoked\n * @returns {Function} a new \"deprecated\" version of `fn`\n * @api public\n */\n\nfunction deprecate (fn, msg) {\n if (config('noDeprecation')) {\n return fn;\n }\n\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (config('throwDeprecation')) {\n throw new Error(msg);\n } else if (config('traceDeprecation')) {\n console.trace(msg);\n } else {\n console.warn(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n\n return deprecated;\n}\n\n/**\n * Checks `localStorage` for boolean values for the given `name`.\n *\n * @param {String} name\n * @returns {Boolean}\n * @api private\n */\n\nfunction config (name) {\n // accessing global.localStorage can trigger a DOMException in sandboxed iframes\n try {\n if (!global.localStorage) return false;\n } catch (_) {\n return false;\n }\n var val = global.localStorage[name];\n if (null == val) return false;\n return String(val).toLowerCase() === 'true';\n}\n","module.exports = require(\"npm:util-deprecate@1.0.2/browser.js\");","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = Writable;\n var processNextTick = require('process-nextick-args');\n var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : processNextTick;\n var Buffer = require('buffer').Buffer;\n Writable.WritableState = WritableState;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var internalUtil = {deprecate: require('util-deprecate')};\n var Stream;\n (function() {\n try {\n Stream = require('st' + 'ream');\n } catch (_) {} finally {\n if (!Stream)\n Stream = require('events').EventEmitter;\n }\n })();\n var Buffer = require('buffer').Buffer;\n util.inherits(Writable, Stream);\n function nop() {}\n function WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n this.next = null;\n }\n var Duplex;\n function WritableState(options, stream) {\n Duplex = Duplex || require('./_stream_duplex');\n options = options || {};\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.writableObjectMode;\n var hwm = options.highWaterMark;\n var defaultHwm = this.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = hwm || hwm === 0 ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.needDrain = false;\n this.ending = false;\n this.ended = false;\n this.finished = false;\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.length = 0;\n this.writing = false;\n this.corked = 0;\n this.sync = true;\n this.bufferProcessing = false;\n this.onwrite = function(er) {\n onwrite(stream, er);\n };\n this.writecb = null;\n this.writelen = 0;\n this.bufferedRequest = null;\n this.lastBufferedRequest = null;\n this.pendingcb = 0;\n this.prefinished = false;\n this.errorEmitted = false;\n this.bufferedRequestCount = 0;\n this.corkedRequestsFree = new CorkedRequest(this);\n this.corkedRequestsFree.next = new CorkedRequest(this);\n }\n WritableState.prototype.getBuffer = function writableStateGetBuffer() {\n var current = this.bufferedRequest;\n var out = [];\n while (current) {\n out.push(current);\n current = current.next;\n }\n return out;\n };\n (function() {\n try {\n Object.defineProperty(WritableState.prototype, 'buffer', {get: internalUtil.deprecate(function() {\n return this.getBuffer();\n }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.')});\n } catch (_) {}\n })();\n var Duplex;\n function Writable(options) {\n Duplex = Duplex || require('./_stream_duplex');\n if (!(this instanceof Writable) && !(this instanceof Duplex))\n return new Writable(options);\n this._writableState = new WritableState(options, this);\n this.writable = true;\n if (options) {\n if (typeof options.write === 'function')\n this._write = options.write;\n if (typeof options.writev === 'function')\n this._writev = options.writev;\n }\n Stream.call(this);\n }\n Writable.prototype.pipe = function() {\n this.emit('error', new Error('Cannot pipe. Not readable.'));\n };\n function writeAfterEnd(stream, cb) {\n var er = new Error('write after end');\n stream.emit('error', er);\n processNextTick(cb, er);\n }\n function validChunk(stream, state, chunk, cb) {\n var valid = true;\n if (!Buffer.isBuffer(chunk) && typeof chunk !== 'string' && chunk !== null && chunk !== undefined && !state.objectMode) {\n var er = new TypeError('Invalid non-string/buffer chunk');\n stream.emit('error', er);\n processNextTick(cb, er);\n valid = false;\n }\n return valid;\n }\n Writable.prototype.write = function(chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (Buffer.isBuffer(chunk))\n encoding = 'buffer';\n else if (!encoding)\n encoding = state.defaultEncoding;\n if (typeof cb !== 'function')\n cb = nop;\n if (state.ended)\n writeAfterEnd(this, cb);\n else if (validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, chunk, encoding, cb);\n }\n return ret;\n };\n Writable.prototype.cork = function() {\n var state = this._writableState;\n state.corked++;\n };\n Writable.prototype.uncork = function() {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.bufferedRequest)\n clearBuffer(this, state);\n }\n };\n Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) {\n if (typeof encoding === 'string')\n encoding = encoding.toLowerCase();\n if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1))\n throw new TypeError('Unknown encoding: ' + encoding);\n this._writableState.defaultEncoding = encoding;\n };\n function decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') {\n chunk = new Buffer(chunk, encoding);\n }\n return chunk;\n }\n function writeOrBuffer(stream, state, chunk, encoding, cb) {\n chunk = decodeChunk(state, chunk, encoding);\n if (Buffer.isBuffer(chunk))\n encoding = 'buffer';\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n if (!ret)\n state.needDrain = true;\n if (state.writing || state.corked) {\n var last = state.lastBufferedRequest;\n state.lastBufferedRequest = new WriteReq(chunk, encoding, cb);\n if (last) {\n last.next = state.lastBufferedRequest;\n } else {\n state.bufferedRequest = state.lastBufferedRequest;\n }\n state.bufferedRequestCount += 1;\n } else {\n doWrite(stream, state, false, len, chunk, encoding, cb);\n }\n return ret;\n }\n function doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev)\n stream._writev(chunk, state.onwrite);\n else\n stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n }\n function onwriteError(stream, state, sync, er, cb) {\n --state.pendingcb;\n if (sync)\n processNextTick(cb, er);\n else\n cb(er);\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n }\n function onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n }\n function onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n onwriteStateUpdate(state);\n if (er)\n onwriteError(stream, state, sync, er, cb);\n else {\n var finished = needFinish(state);\n if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) {\n clearBuffer(stream, state);\n }\n if (sync) {\n asyncWrite(afterWrite, stream, state, finished, cb);\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n }\n function afterWrite(stream, state, finished, cb) {\n if (!finished)\n onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n }\n function onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n }\n function clearBuffer(stream, state) {\n state.bufferProcessing = true;\n var entry = state.bufferedRequest;\n if (stream._writev && entry && entry.next) {\n var l = state.bufferedRequestCount;\n var buffer = new Array(l);\n var holder = state.corkedRequestsFree;\n holder.entry = entry;\n var count = 0;\n while (entry) {\n buffer[count] = entry;\n entry = entry.next;\n count += 1;\n }\n doWrite(stream, state, true, state.length, buffer, '', holder.finish);\n state.pendingcb++;\n state.lastBufferedRequest = null;\n state.corkedRequestsFree = holder.next;\n holder.next = null;\n } else {\n while (entry) {\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n entry = entry.next;\n if (state.writing) {\n break;\n }\n }\n if (entry === null)\n state.lastBufferedRequest = null;\n }\n state.bufferedRequestCount = 0;\n state.bufferedRequest = entry;\n state.bufferProcessing = false;\n }\n Writable.prototype._write = function(chunk, encoding, cb) {\n cb(new Error('not implemented'));\n };\n Writable.prototype._writev = null;\n Writable.prototype.end = function(chunk, encoding, cb) {\n var state = this._writableState;\n if (typeof chunk === 'function') {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (typeof encoding === 'function') {\n cb = encoding;\n encoding = null;\n }\n if (chunk !== null && chunk !== undefined)\n this.write(chunk, encoding);\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n if (!state.ending && !state.finished)\n endWritable(this, state, cb);\n };\n function needFinish(state) {\n return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing;\n }\n function prefinish(stream, state) {\n if (!state.prefinished) {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n function finishMaybe(stream, state) {\n var need = needFinish(state);\n if (need) {\n if (state.pendingcb === 0) {\n prefinish(stream, state);\n state.finished = true;\n stream.emit('finish');\n } else {\n prefinish(stream, state);\n }\n }\n return need;\n }\n function endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished)\n processNextTick(cb);\n else\n stream.once('finish', cb);\n }\n state.ended = true;\n stream.writable = false;\n }\n function CorkedRequest(state) {\n var _this = this;\n this.next = null;\n this.entry = null;\n this.finish = function(err) {\n var entry = _this.entry;\n _this.entry = null;\n while (entry) {\n var cb = entry.callback;\n state.pendingcb--;\n cb(err);\n entry = entry.next;\n }\n if (state.corkedRequestsFree) {\n state.corkedRequestsFree.next = _this;\n } else {\n state.corkedRequestsFree = _this;\n }\n };\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n var objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj) {\n keys.push(key);\n }\n return keys;\n };\n module.exports = Duplex;\n var processNextTick = require('process-nextick-args');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Readable = require('./_stream_readable');\n var Writable = require('./_stream_writable');\n util.inherits(Duplex, Readable);\n var keys = objectKeys(Writable.prototype);\n for (var v = 0; v < keys.length; v++) {\n var method = keys[v];\n if (!Duplex.prototype[method])\n Duplex.prototype[method] = Writable.prototype[method];\n }\n function Duplex(options) {\n if (!(this instanceof Duplex))\n return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n if (options && options.readable === false)\n this.readable = false;\n if (options && options.writable === false)\n this.writable = false;\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false)\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n function onend() {\n if (this.allowHalfOpen || this._writableState.ended)\n return;\n processNextTick(onEndNT, this);\n }\n function onEndNT(self) {\n self.end();\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n})(require('process'));\n","/* */ \n(function(process) {\n 'use strict';\n module.exports = Transform;\n var Duplex = require('./_stream_duplex');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n util.inherits(Transform, Duplex);\n function TransformState(stream) {\n this.afterTransform = function(er, data) {\n return afterTransform(stream, er, data);\n };\n this.needTransform = false;\n this.transforming = false;\n this.writecb = null;\n this.writechunk = null;\n this.writeencoding = null;\n }\n function afterTransform(stream, er, data) {\n var ts = stream._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (!cb)\n return stream.emit('error', new Error('no writecb in Transform class'));\n ts.writechunk = null;\n ts.writecb = null;\n if (data !== null && data !== undefined)\n stream.push(data);\n cb(er);\n var rs = stream._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n stream._read(rs.highWaterMark);\n }\n }\n function Transform(options) {\n if (!(this instanceof Transform))\n return new Transform(options);\n Duplex.call(this, options);\n this._transformState = new TransformState(this);\n var stream = this;\n this._readableState.needReadable = true;\n this._readableState.sync = false;\n if (options) {\n if (typeof options.transform === 'function')\n this._transform = options.transform;\n if (typeof options.flush === 'function')\n this._flush = options.flush;\n }\n this.once('prefinish', function() {\n if (typeof this._flush === 'function')\n this._flush(function(er) {\n done(stream, er);\n });\n else\n done(stream);\n });\n }\n Transform.prototype.push = function(chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n };\n Transform.prototype._transform = function(chunk, encoding, cb) {\n throw new Error('not implemented');\n };\n Transform.prototype._write = function(chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark)\n this._read(rs.highWaterMark);\n }\n };\n Transform.prototype._read = function(n) {\n var ts = this._transformState;\n if (ts.writechunk !== null && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n ts.needTransform = true;\n }\n };\n function done(stream, er) {\n if (er)\n return stream.emit('error', er);\n var ws = stream._writableState;\n var ts = stream._transformState;\n if (ws.length)\n throw new Error('calling transform done when ws.length != 0');\n if (ts.transforming)\n throw new Error('calling transform done when still transforming');\n return stream.push(null);\n }\n})(require('process'));\n","/* */ \n'use strict';\nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nvar util = require('core-util-is');\nutil.inherits = require('inherits');\nutil.inherits(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough))\n return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function(chunk, encoding, cb) {\n cb(null, chunk);\n};\n","/* */ \n(function(process) {\n var Stream = (function() {\n try {\n return require('st' + 'ream');\n } catch (_) {}\n }());\n exports = module.exports = require('./lib/_stream_readable');\n exports.Stream = Stream || exports;\n exports.Readable = exports;\n exports.Writable = require('./lib/_stream_writable');\n exports.Duplex = require('./lib/_stream_duplex');\n exports.Transform = require('./lib/_stream_transform');\n exports.PassThrough = require('./lib/_stream_passthrough');\n if (!process.browser && process.env.READABLE_STREAM === 'disable' && Stream) {\n module.exports = Stream;\n }\n})(require('process'));\n","module.exports = require(\"npm:readable-stream@2.1.2/readable.js\");","/* */ \n(function(Buffer) {\n var Buffer = require('buffer').Buffer;\n module.exports = function(buf) {\n if (buf instanceof Uint8Array) {\n if (buf.byteOffset === 0 && buf.byteLength === buf.buffer.byteLength) {\n return buf.buffer;\n } else if (typeof buf.buffer.slice === 'function') {\n return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);\n }\n }\n if (Buffer.isBuffer(buf)) {\n var arrayCopy = new Uint8Array(buf.length);\n var len = buf.length;\n for (var i = 0; i < len; i++) {\n arrayCopy[i] = buf[i];\n }\n return arrayCopy.buffer;\n } else {\n throw new Error('Argument must be a Buffer');\n }\n };\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:to-arraybuffer@1.0.1/index.js\");","/* */ \n(function(Buffer, process) {\n var capability = require('./capability');\n var inherits = require('inherits');\n var response = require('./response');\n var stream = require('readable-stream');\n var toArrayBuffer = require('to-arraybuffer');\n var IncomingMessage = response.IncomingMessage;\n var rStates = response.readyStates;\n function decideMode(preferBinary) {\n if (capability.fetch) {\n return 'fetch';\n } else if (capability.mozchunkedarraybuffer) {\n return 'moz-chunked-arraybuffer';\n } else if (capability.msstream) {\n return 'ms-stream';\n } else if (capability.arraybuffer && preferBinary) {\n return 'arraybuffer';\n } else if (capability.vbArray && preferBinary) {\n return 'text:vbarray';\n } else {\n return 'text';\n }\n }\n var ClientRequest = module.exports = function(opts) {\n var self = this;\n stream.Writable.call(self);\n self._opts = opts;\n self._body = [];\n self._headers = {};\n if (opts.auth)\n self.setHeader('Authorization', 'Basic ' + new Buffer(opts.auth).toString('base64'));\n Object.keys(opts.headers).forEach(function(name) {\n self.setHeader(name, opts.headers[name]);\n });\n var preferBinary;\n if (opts.mode === 'prefer-streaming') {\n preferBinary = false;\n } else if (opts.mode === 'allow-wrong-content-type') {\n preferBinary = !capability.overrideMimeType;\n } else if (!opts.mode || opts.mode === 'default' || opts.mode === 'prefer-fast') {\n preferBinary = true;\n } else {\n throw new Error('Invalid value for opts.mode');\n }\n self._mode = decideMode(preferBinary);\n self.on('finish', function() {\n self._onFinish();\n });\n };\n inherits(ClientRequest, stream.Writable);\n ClientRequest.prototype.setHeader = function(name, value) {\n var self = this;\n var lowerName = name.toLowerCase();\n if (unsafeHeaders.indexOf(lowerName) !== -1)\n return;\n self._headers[lowerName] = {\n name: name,\n value: value\n };\n };\n ClientRequest.prototype.getHeader = function(name) {\n var self = this;\n return self._headers[name.toLowerCase()].value;\n };\n ClientRequest.prototype.removeHeader = function(name) {\n var self = this;\n delete self._headers[name.toLowerCase()];\n };\n ClientRequest.prototype._onFinish = function() {\n var self = this;\n if (self._destroyed)\n return;\n var opts = self._opts;\n var headersObj = self._headers;\n var body;\n if (opts.method === 'POST' || opts.method === 'PUT' || opts.method === 'PATCH') {\n if (capability.blobConstructor) {\n body = new global.Blob(self._body.map(function(buffer) {\n return toArrayBuffer(buffer);\n }), {type: (headersObj['content-type'] || {}).value || ''});\n } else {\n body = Buffer.concat(self._body).toString();\n }\n }\n if (self._mode === 'fetch') {\n var headers = Object.keys(headersObj).map(function(name) {\n return [headersObj[name].name, headersObj[name].value];\n });\n global.fetch(self._opts.url, {\n method: self._opts.method,\n headers: headers,\n body: body,\n mode: 'cors',\n credentials: opts.withCredentials ? 'include' : 'same-origin'\n }).then(function(response) {\n self._fetchResponse = response;\n self._connect();\n }, function(reason) {\n self.emit('error', reason);\n });\n } else {\n var xhr = self._xhr = new global.XMLHttpRequest();\n try {\n xhr.open(self._opts.method, self._opts.url, true);\n } catch (err) {\n process.nextTick(function() {\n self.emit('error', err);\n });\n return;\n }\n if ('responseType' in xhr)\n xhr.responseType = self._mode.split(':')[0];\n if ('withCredentials' in xhr)\n xhr.withCredentials = !!opts.withCredentials;\n if (self._mode === 'text' && 'overrideMimeType' in xhr)\n xhr.overrideMimeType('text/plain; charset=x-user-defined');\n Object.keys(headersObj).forEach(function(name) {\n xhr.setRequestHeader(headersObj[name].name, headersObj[name].value);\n });\n self._response = null;\n xhr.onreadystatechange = function() {\n switch (xhr.readyState) {\n case rStates.LOADING:\n case rStates.DONE:\n self._onXHRProgress();\n break;\n }\n };\n if (self._mode === 'moz-chunked-arraybuffer') {\n xhr.onprogress = function() {\n self._onXHRProgress();\n };\n }\n xhr.onerror = function() {\n if (self._destroyed)\n return;\n self.emit('error', new Error('XHR error'));\n };\n try {\n xhr.send(body);\n } catch (err) {\n process.nextTick(function() {\n self.emit('error', err);\n });\n return;\n }\n }\n };\n function statusValid(xhr) {\n try {\n var status = xhr.status;\n return (status !== null && status !== 0);\n } catch (e) {\n return false;\n }\n }\n ClientRequest.prototype._onXHRProgress = function() {\n var self = this;\n if (!statusValid(self._xhr) || self._destroyed)\n return;\n if (!self._response)\n self._connect();\n self._response._onXHRProgress();\n };\n ClientRequest.prototype._connect = function() {\n var self = this;\n if (self._destroyed)\n return;\n self._response = new IncomingMessage(self._xhr, self._fetchResponse, self._mode);\n self.emit('response', self._response);\n };\n ClientRequest.prototype._write = function(chunk, encoding, cb) {\n var self = this;\n self._body.push(chunk);\n cb();\n };\n ClientRequest.prototype.abort = ClientRequest.prototype.destroy = function() {\n var self = this;\n self._destroyed = true;\n if (self._response)\n self._response._destroyed = true;\n if (self._xhr)\n self._xhr.abort();\n };\n ClientRequest.prototype.end = function(data, encoding, cb) {\n var self = this;\n if (typeof data === 'function') {\n cb = data;\n data = undefined;\n }\n stream.Writable.prototype.end.call(self, data, encoding, cb);\n };\n ClientRequest.prototype.flushHeaders = function() {};\n ClientRequest.prototype.setTimeout = function() {};\n ClientRequest.prototype.setNoDelay = function() {};\n ClientRequest.prototype.setSocketKeepAlive = function() {};\n var unsafeHeaders = ['accept-charset', 'accept-encoding', 'access-control-request-headers', 'access-control-request-method', 'connection', 'content-length', 'cookie', 'cookie2', 'date', 'dnt', 'expect', 'host', 'keep-alive', 'origin', 'referer', 'te', 'trailer', 'transfer-encoding', 'upgrade', 'user-agent', 'via'];\n})(require('buffer').Buffer, require('process'));\n","/* */ \nmodule.exports = extend\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\nfunction extend() {\n var target = {}\n\n for (var i = 0; i < arguments.length; i++) {\n var source = arguments[i]\n\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n target[key] = source[key]\n }\n }\n }\n\n return target\n}\n","module.exports = require(\"npm:xtend@4.0.1/immutable\");","/* */ \nmodule.exports = {\n \"100\": \"Continue\",\n \"101\": \"Switching Protocols\",\n \"102\": \"Processing\",\n \"200\": \"OK\",\n \"201\": \"Created\",\n \"202\": \"Accepted\",\n \"203\": \"Non-Authoritative Information\",\n \"204\": \"No Content\",\n \"205\": \"Reset Content\",\n \"206\": \"Partial Content\",\n \"207\": \"Multi-Status\",\n \"208\": \"Already Reported\",\n \"226\": \"IM Used\",\n \"300\": \"Multiple Choices\",\n \"301\": \"Moved Permanently\",\n \"302\": \"Found\",\n \"303\": \"See Other\",\n \"304\": \"Not Modified\",\n \"305\": \"Use Proxy\",\n \"307\": \"Temporary Redirect\",\n \"308\": \"Permanent Redirect\",\n \"400\": \"Bad Request\",\n \"401\": \"Unauthorized\",\n \"402\": \"Payment Required\",\n \"403\": \"Forbidden\",\n \"404\": \"Not Found\",\n \"405\": \"Method Not Allowed\",\n \"406\": \"Not Acceptable\",\n \"407\": \"Proxy Authentication Required\",\n \"408\": \"Request Timeout\",\n \"409\": \"Conflict\",\n \"410\": \"Gone\",\n \"411\": \"Length Required\",\n \"412\": \"Precondition Failed\",\n \"413\": \"Payload Too Large\",\n \"414\": \"URI Too Long\",\n \"415\": \"Unsupported Media Type\",\n \"416\": \"Range Not Satisfiable\",\n \"417\": \"Expectation Failed\",\n \"418\": \"I'm a teapot\",\n \"421\": \"Misdirected Request\",\n \"422\": \"Unprocessable Entity\",\n \"423\": \"Locked\",\n \"424\": \"Failed Dependency\",\n \"425\": \"Unordered Collection\",\n \"426\": \"Upgrade Required\",\n \"428\": \"Precondition Required\",\n \"429\": \"Too Many Requests\",\n \"431\": \"Request Header Fields Too Large\",\n \"500\": \"Internal Server Error\",\n \"501\": \"Not Implemented\",\n \"502\": \"Bad Gateway\",\n \"503\": \"Service Unavailable\",\n \"504\": \"Gateway Timeout\",\n \"505\": \"HTTP Version Not Supported\",\n \"506\": \"Variant Also Negotiates\",\n \"507\": \"Insufficient Storage\",\n \"508\": \"Loop Detected\",\n \"509\": \"Bandwidth Limit Exceeded\",\n \"510\": \"Not Extended\",\n \"511\": \"Network Authentication Required\"\n}\n","module.exports = require(\"npm:builtin-status-codes@2.0.0/browser.js\");","/* */ \nvar ClientRequest = require('./lib/request');\nvar extend = require('xtend');\nvar statusCodes = require('builtin-status-codes');\nvar url = require('url');\nvar http = exports;\nhttp.request = function(opts, cb) {\n if (typeof opts === 'string')\n opts = url.parse(opts);\n else\n opts = extend(opts);\n var defaultProtocol = global.location.protocol.search(/^https?:$/) === -1 ? 'http:' : '';\n var protocol = opts.protocol || defaultProtocol;\n var host = opts.hostname || opts.host;\n var port = opts.port;\n var path = opts.path || '/';\n if (host && host.indexOf(':') !== -1)\n host = '[' + host + ']';\n opts.url = (host ? (protocol + '//' + host) : '') + (port ? ':' + port : '') + path;\n opts.method = (opts.method || 'GET').toUpperCase();\n opts.headers = opts.headers || {};\n var req = new ClientRequest(opts);\n if (cb)\n req.on('response', cb);\n return req;\n};\nhttp.get = function get(opts, cb) {\n var req = http.request(opts, cb);\n req.end();\n return req;\n};\nhttp.Agent = function() {};\nhttp.Agent.defaultMaxSockets = 4;\nhttp.STATUS_CODES = statusCodes;\nhttp.METHODS = ['CHECKOUT', 'CONNECT', 'COPY', 'DELETE', 'GET', 'HEAD', 'LOCK', 'M-SEARCH', 'MERGE', 'MKACTIVITY', 'MKCOL', 'MOVE', 'NOTIFY', 'OPTIONS', 'PATCH', 'POST', 'PROPFIND', 'PROPPATCH', 'PURGE', 'PUT', 'REPORT', 'SEARCH', 'SUBSCRIBE', 'TRACE', 'UNLOCK', 'UNSUBSCRIBE'];\n","module.exports = require(\"npm:stream-http@2.3.0/index.js\");","/* */ \n(function(process) {\n exports = module.exports = require('./lib/_stream_readable');\n exports.Stream = require('stream-browserify/index');\n exports.Readable = exports;\n exports.Writable = require('./lib/_stream_writable');\n exports.Duplex = require('./lib/_stream_duplex');\n exports.Transform = require('./lib/_stream_transform');\n exports.PassThrough = require('./lib/_stream_passthrough');\n if (!process.browser && process.env.READABLE_STREAM === 'disable') {\n module.exports = require('stream-browserify/index');\n }\n})(require('process'));\n","/* */ \nmodule.exports = require('./lib/_stream_writable');\n","/* */ \nmodule.exports = require('./lib/_stream_duplex');\n","/* */ \nmodule.exports = require('./lib/_stream_transform');\n","/* */ \nmodule.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n","module.exports = require(\"npm:isarray@0.0.1/index.js\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nfunction EventEmitter() {\n this._events = this._events || {};\n this._maxListeners = this._maxListeners || undefined;\n}\nmodule.exports = EventEmitter;\n\n// Backwards-compat with node 0.10.x\nEventEmitter.EventEmitter = EventEmitter;\n\nEventEmitter.prototype._events = undefined;\nEventEmitter.prototype._maxListeners = undefined;\n\n// By default EventEmitters will print a warning if more than 10 listeners are\n// added to it. This is a useful default which helps finding memory leaks.\nEventEmitter.defaultMaxListeners = 10;\n\n// Obviously not all Emitters should be limited to 10. This function allows\n// that to be increased. Set to zero for unlimited.\nEventEmitter.prototype.setMaxListeners = function(n) {\n if (!isNumber(n) || n < 0 || isNaN(n))\n throw TypeError('n must be a positive number');\n this._maxListeners = n;\n return this;\n};\n\nEventEmitter.prototype.emit = function(type) {\n var er, handler, len, args, i, listeners;\n\n if (!this._events)\n this._events = {};\n\n // If there is no 'error' event listener then throw.\n if (type === 'error') {\n if (!this._events.error ||\n (isObject(this._events.error) && !this._events.error.length)) {\n er = arguments[1];\n if (er instanceof Error) {\n throw er; // Unhandled 'error' event\n }\n throw TypeError('Uncaught, unspecified \"error\" event.');\n }\n }\n\n handler = this._events[type];\n\n if (isUndefined(handler))\n return false;\n\n if (isFunction(handler)) {\n switch (arguments.length) {\n // fast cases\n case 1:\n handler.call(this);\n break;\n case 2:\n handler.call(this, arguments[1]);\n break;\n case 3:\n handler.call(this, arguments[1], arguments[2]);\n break;\n // slower\n default:\n len = arguments.length;\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n handler.apply(this, args);\n }\n } else if (isObject(handler)) {\n len = arguments.length;\n args = new Array(len - 1);\n for (i = 1; i < len; i++)\n args[i - 1] = arguments[i];\n\n listeners = handler.slice();\n len = listeners.length;\n for (i = 0; i < len; i++)\n listeners[i].apply(this, args);\n }\n\n return true;\n};\n\nEventEmitter.prototype.addListener = function(type, listener) {\n var m;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events)\n this._events = {};\n\n // To avoid recursion in the case that type === \"newListener\"! Before\n // adding it to the listeners, first emit \"newListener\".\n if (this._events.newListener)\n this.emit('newListener', type,\n isFunction(listener.listener) ?\n listener.listener : listener);\n\n if (!this._events[type])\n // Optimize the case of one listener. Don't need the extra array object.\n this._events[type] = listener;\n else if (isObject(this._events[type]))\n // If we've already got an array, just append.\n this._events[type].push(listener);\n else\n // Adding the second element, need to change to array.\n this._events[type] = [this._events[type], listener];\n\n // Check for listener leak\n if (isObject(this._events[type]) && !this._events[type].warned) {\n var m;\n if (!isUndefined(this._maxListeners)) {\n m = this._maxListeners;\n } else {\n m = EventEmitter.defaultMaxListeners;\n }\n\n if (m && m > 0 && this._events[type].length > m) {\n this._events[type].warned = true;\n console.error('(node) warning: possible EventEmitter memory ' +\n 'leak detected. %d listeners added. ' +\n 'Use emitter.setMaxListeners() to increase limit.',\n this._events[type].length);\n if (typeof console.trace === 'function') {\n // not supported in IE 10\n console.trace();\n }\n }\n }\n\n return this;\n};\n\nEventEmitter.prototype.on = EventEmitter.prototype.addListener;\n\nEventEmitter.prototype.once = function(type, listener) {\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n var fired = false;\n\n function g() {\n this.removeListener(type, g);\n\n if (!fired) {\n fired = true;\n listener.apply(this, arguments);\n }\n }\n\n g.listener = listener;\n this.on(type, g);\n\n return this;\n};\n\n// emits a 'removeListener' event iff the listener was removed\nEventEmitter.prototype.removeListener = function(type, listener) {\n var list, position, length, i;\n\n if (!isFunction(listener))\n throw TypeError('listener must be a function');\n\n if (!this._events || !this._events[type])\n return this;\n\n list = this._events[type];\n length = list.length;\n position = -1;\n\n if (list === listener ||\n (isFunction(list.listener) && list.listener === listener)) {\n delete this._events[type];\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n\n } else if (isObject(list)) {\n for (i = length; i-- > 0;) {\n if (list[i] === listener ||\n (list[i].listener && list[i].listener === listener)) {\n position = i;\n break;\n }\n }\n\n if (position < 0)\n return this;\n\n if (list.length === 1) {\n list.length = 0;\n delete this._events[type];\n } else {\n list.splice(position, 1);\n }\n\n if (this._events.removeListener)\n this.emit('removeListener', type, listener);\n }\n\n return this;\n};\n\nEventEmitter.prototype.removeAllListeners = function(type) {\n var key, listeners;\n\n if (!this._events)\n return this;\n\n // not listening for removeListener, no need to emit\n if (!this._events.removeListener) {\n if (arguments.length === 0)\n this._events = {};\n else if (this._events[type])\n delete this._events[type];\n return this;\n }\n\n // emit removeListener for all listeners on all events\n if (arguments.length === 0) {\n for (key in this._events) {\n if (key === 'removeListener') continue;\n this.removeAllListeners(key);\n }\n this.removeAllListeners('removeListener');\n this._events = {};\n return this;\n }\n\n listeners = this._events[type];\n\n if (isFunction(listeners)) {\n this.removeListener(type, listeners);\n } else {\n // LIFO order\n while (listeners.length)\n this.removeListener(type, listeners[listeners.length - 1]);\n }\n delete this._events[type];\n\n return this;\n};\n\nEventEmitter.prototype.listeners = function(type) {\n var ret;\n if (!this._events || !this._events[type])\n ret = [];\n else if (isFunction(this._events[type]))\n ret = [this._events[type]];\n else\n ret = this._events[type].slice();\n return ret;\n};\n\nEventEmitter.listenerCount = function(emitter, type) {\n var ret;\n if (!emitter._events || !emitter._events[type])\n ret = 0;\n else if (isFunction(emitter._events[type]))\n ret = 1;\n else\n ret = emitter._events[type].length;\n return ret;\n};\n\nfunction isFunction(arg) {\n return typeof arg === 'function';\n}\n\nfunction isNumber(arg) {\n return typeof arg === 'number';\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isUndefined(arg) {\n return arg === void 0;\n}\n","module.exports = require(\"npm:events@1.0.2/events.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('events') : require('events');","module.exports = require(\"github:jspm/nodelibs-events@0.1.1/index\");","/* */ \n(function(Buffer) {\n var Buffer = require('buffer').Buffer;\n var isBufferEncoding = Buffer.isEncoding || function(encoding) {\n switch (encoding && encoding.toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n case 'raw':\n return true;\n default:\n return false;\n }\n };\n function assertEncoding(encoding) {\n if (encoding && !isBufferEncoding(encoding)) {\n throw new Error('Unknown encoding: ' + encoding);\n }\n }\n var StringDecoder = exports.StringDecoder = function(encoding) {\n this.encoding = (encoding || 'utf8').toLowerCase().replace(/[-_]/, '');\n assertEncoding(encoding);\n switch (this.encoding) {\n case 'utf8':\n this.surrogateSize = 3;\n break;\n case 'ucs2':\n case 'utf16le':\n this.surrogateSize = 2;\n this.detectIncompleteChar = utf16DetectIncompleteChar;\n break;\n case 'base64':\n this.surrogateSize = 3;\n this.detectIncompleteChar = base64DetectIncompleteChar;\n break;\n default:\n this.write = passThroughWrite;\n return;\n }\n this.charBuffer = new Buffer(6);\n this.charReceived = 0;\n this.charLength = 0;\n };\n StringDecoder.prototype.write = function(buffer) {\n var charStr = '';\n while (this.charLength) {\n var available = (buffer.length >= this.charLength - this.charReceived) ? this.charLength - this.charReceived : buffer.length;\n buffer.copy(this.charBuffer, this.charReceived, 0, available);\n this.charReceived += available;\n if (this.charReceived < this.charLength) {\n return '';\n }\n buffer = buffer.slice(available, buffer.length);\n charStr = this.charBuffer.slice(0, this.charLength).toString(this.encoding);\n var charCode = charStr.charCodeAt(charStr.length - 1);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n this.charLength += this.surrogateSize;\n charStr = '';\n continue;\n }\n this.charReceived = this.charLength = 0;\n if (buffer.length === 0) {\n return charStr;\n }\n break;\n }\n this.detectIncompleteChar(buffer);\n var end = buffer.length;\n if (this.charLength) {\n buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);\n end -= this.charReceived;\n }\n charStr += buffer.toString(this.encoding, 0, end);\n var end = charStr.length - 1;\n var charCode = charStr.charCodeAt(end);\n if (charCode >= 0xD800 && charCode <= 0xDBFF) {\n var size = this.surrogateSize;\n this.charLength += size;\n this.charReceived += size;\n this.charBuffer.copy(this.charBuffer, size, 0, size);\n buffer.copy(this.charBuffer, 0, 0, size);\n return charStr.substring(0, end);\n }\n return charStr;\n };\n StringDecoder.prototype.detectIncompleteChar = function(buffer) {\n var i = (buffer.length >= 3) ? 3 : buffer.length;\n for (; i > 0; i--) {\n var c = buffer[buffer.length - i];\n if (i == 1 && c >> 5 == 0x06) {\n this.charLength = 2;\n break;\n }\n if (i <= 2 && c >> 4 == 0x0E) {\n this.charLength = 3;\n break;\n }\n if (i <= 3 && c >> 3 == 0x1E) {\n this.charLength = 4;\n break;\n }\n }\n this.charReceived = i;\n };\n StringDecoder.prototype.end = function(buffer) {\n var res = '';\n if (buffer && buffer.length)\n res = this.write(buffer);\n if (this.charReceived) {\n var cr = this.charReceived;\n var buf = this.charBuffer;\n var enc = this.encoding;\n res += buf.slice(0, cr).toString(enc);\n }\n return res;\n };\n function passThroughWrite(buffer) {\n return buffer.toString(this.encoding);\n }\n function utf16DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 2;\n this.charLength = this.charReceived ? 2 : 0;\n }\n function base64DetectIncompleteChar(buffer) {\n this.charReceived = buffer.length % 3;\n this.charLength = this.charReceived ? 3 : 0;\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:string_decoder@0.10.31/index.js\");","/* */ \n(function(Buffer, process) {\n module.exports = Readable;\n var isArray = require('isarray');\n var Buffer = require('buffer').Buffer;\n Readable.ReadableState = ReadableState;\n var EE = require('events').EventEmitter;\n if (!EE.listenerCount)\n EE.listenerCount = function(emitter, type) {\n return emitter.listeners(type).length;\n };\n var Stream = require('stream-browserify/index');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var StringDecoder;\n var debug = require('@empty');\n if (debug && debug.debuglog) {\n debug = debug.debuglog('stream');\n } else {\n debug = function() {};\n }\n util.inherits(Readable, Stream);\n function ReadableState(options, stream) {\n var Duplex = require('./_stream_duplex');\n options = options || {};\n var hwm = options.highWaterMark;\n var defaultHwm = options.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;\n this.highWaterMark = ~~this.highWaterMark;\n this.buffer = [];\n this.length = 0;\n this.pipes = null;\n this.pipesCount = 0;\n this.flowing = null;\n this.ended = false;\n this.endEmitted = false;\n this.reading = false;\n this.sync = true;\n this.needReadable = false;\n this.emittedReadable = false;\n this.readableListening = false;\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.readableObjectMode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.ranOut = false;\n this.awaitDrain = 0;\n this.readingMore = false;\n this.decoder = null;\n this.encoding = null;\n if (options.encoding) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this.decoder = new StringDecoder(options.encoding);\n this.encoding = options.encoding;\n }\n }\n function Readable(options) {\n var Duplex = require('./_stream_duplex');\n if (!(this instanceof Readable))\n return new Readable(options);\n this._readableState = new ReadableState(options, this);\n this.readable = true;\n Stream.call(this);\n }\n Readable.prototype.push = function(chunk, encoding) {\n var state = this._readableState;\n if (util.isString(chunk) && !state.objectMode) {\n encoding = encoding || state.defaultEncoding;\n if (encoding !== state.encoding) {\n chunk = new Buffer(chunk, encoding);\n encoding = '';\n }\n }\n return readableAddChunk(this, state, chunk, encoding, false);\n };\n Readable.prototype.unshift = function(chunk) {\n var state = this._readableState;\n return readableAddChunk(this, state, chunk, '', true);\n };\n function readableAddChunk(stream, state, chunk, encoding, addToFront) {\n var er = chunkInvalid(state, chunk);\n if (er) {\n stream.emit('error', er);\n } else if (util.isNullOrUndefined(chunk)) {\n state.reading = false;\n if (!state.ended)\n onEofChunk(stream, state);\n } else if (state.objectMode || chunk && chunk.length > 0) {\n if (state.ended && !addToFront) {\n var e = new Error('stream.push() after EOF');\n stream.emit('error', e);\n } else if (state.endEmitted && addToFront) {\n var e = new Error('stream.unshift() after end event');\n stream.emit('error', e);\n } else {\n if (state.decoder && !addToFront && !encoding)\n chunk = state.decoder.write(chunk);\n if (!addToFront)\n state.reading = false;\n if (state.flowing && state.length === 0 && !state.sync) {\n stream.emit('data', chunk);\n stream.read(0);\n } else {\n state.length += state.objectMode ? 1 : chunk.length;\n if (addToFront)\n state.buffer.unshift(chunk);\n else\n state.buffer.push(chunk);\n if (state.needReadable)\n emitReadable(stream);\n }\n maybeReadMore(stream, state);\n }\n } else if (!addToFront) {\n state.reading = false;\n }\n return needMoreData(state);\n }\n function needMoreData(state) {\n return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0);\n }\n Readable.prototype.setEncoding = function(enc) {\n if (!StringDecoder)\n StringDecoder = require('string_decoder').StringDecoder;\n this._readableState.decoder = new StringDecoder(enc);\n this._readableState.encoding = enc;\n return this;\n };\n var MAX_HWM = 0x800000;\n function roundUpToNextPowerOf2(n) {\n if (n >= MAX_HWM) {\n n = MAX_HWM;\n } else {\n n--;\n for (var p = 1; p < 32; p <<= 1)\n n |= n >> p;\n n++;\n }\n return n;\n }\n function howMuchToRead(n, state) {\n if (state.length === 0 && state.ended)\n return 0;\n if (state.objectMode)\n return n === 0 ? 0 : 1;\n if (isNaN(n) || util.isNull(n)) {\n if (state.flowing && state.buffer.length)\n return state.buffer[0].length;\n else\n return state.length;\n }\n if (n <= 0)\n return 0;\n if (n > state.highWaterMark)\n state.highWaterMark = roundUpToNextPowerOf2(n);\n if (n > state.length) {\n if (!state.ended) {\n state.needReadable = true;\n return 0;\n } else\n return state.length;\n }\n return n;\n }\n Readable.prototype.read = function(n) {\n debug('read', n);\n var state = this._readableState;\n var nOrig = n;\n if (!util.isNumber(n) || n > 0)\n state.emittedReadable = false;\n if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) {\n debug('read: emitReadable', state.length, state.ended);\n if (state.length === 0 && state.ended)\n endReadable(this);\n else\n emitReadable(this);\n return null;\n }\n n = howMuchToRead(n, state);\n if (n === 0 && state.ended) {\n if (state.length === 0)\n endReadable(this);\n return null;\n }\n var doRead = state.needReadable;\n debug('need readable', doRead);\n if (state.length === 0 || state.length - n < state.highWaterMark) {\n doRead = true;\n debug('length less than watermark', doRead);\n }\n if (state.ended || state.reading) {\n doRead = false;\n debug('reading or ended', doRead);\n }\n if (doRead) {\n debug('do read');\n state.reading = true;\n state.sync = true;\n if (state.length === 0)\n state.needReadable = true;\n this._read(state.highWaterMark);\n state.sync = false;\n }\n if (doRead && !state.reading)\n n = howMuchToRead(nOrig, state);\n var ret;\n if (n > 0)\n ret = fromList(n, state);\n else\n ret = null;\n if (util.isNull(ret)) {\n state.needReadable = true;\n n = 0;\n }\n state.length -= n;\n if (state.length === 0 && !state.ended)\n state.needReadable = true;\n if (nOrig !== n && state.ended && state.length === 0)\n endReadable(this);\n if (!util.isNull(ret))\n this.emit('data', ret);\n return ret;\n };\n function chunkInvalid(state, chunk) {\n var er = null;\n if (!util.isBuffer(chunk) && !util.isString(chunk) && !util.isNullOrUndefined(chunk) && !state.objectMode) {\n er = new TypeError('Invalid non-string/buffer chunk');\n }\n return er;\n }\n function onEofChunk(stream, state) {\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length) {\n state.buffer.push(chunk);\n state.length += state.objectMode ? 1 : chunk.length;\n }\n }\n state.ended = true;\n emitReadable(stream);\n }\n function emitReadable(stream) {\n var state = stream._readableState;\n state.needReadable = false;\n if (!state.emittedReadable) {\n debug('emitReadable', state.flowing);\n state.emittedReadable = true;\n if (state.sync)\n process.nextTick(function() {\n emitReadable_(stream);\n });\n else\n emitReadable_(stream);\n }\n }\n function emitReadable_(stream) {\n debug('emit readable');\n stream.emit('readable');\n flow(stream);\n }\n function maybeReadMore(stream, state) {\n if (!state.readingMore) {\n state.readingMore = true;\n process.nextTick(function() {\n maybeReadMore_(stream, state);\n });\n }\n }\n function maybeReadMore_(stream, state) {\n var len = state.length;\n while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) {\n debug('maybeReadMore read 0');\n stream.read(0);\n if (len === state.length)\n break;\n else\n len = state.length;\n }\n state.readingMore = false;\n }\n Readable.prototype._read = function(n) {\n this.emit('error', new Error('not implemented'));\n };\n Readable.prototype.pipe = function(dest, pipeOpts) {\n var src = this;\n var state = this._readableState;\n switch (state.pipesCount) {\n case 0:\n state.pipes = dest;\n break;\n case 1:\n state.pipes = [state.pipes, dest];\n break;\n default:\n state.pipes.push(dest);\n break;\n }\n state.pipesCount += 1;\n debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts);\n var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr;\n var endFn = doEnd ? onend : cleanup;\n if (state.endEmitted)\n process.nextTick(endFn);\n else\n src.once('end', endFn);\n dest.on('unpipe', onunpipe);\n function onunpipe(readable) {\n debug('onunpipe');\n if (readable === src) {\n cleanup();\n }\n }\n function onend() {\n debug('onend');\n dest.end();\n }\n var ondrain = pipeOnDrain(src);\n dest.on('drain', ondrain);\n function cleanup() {\n debug('cleanup');\n dest.removeListener('close', onclose);\n dest.removeListener('finish', onfinish);\n dest.removeListener('drain', ondrain);\n dest.removeListener('error', onerror);\n dest.removeListener('unpipe', onunpipe);\n src.removeListener('end', onend);\n src.removeListener('end', cleanup);\n src.removeListener('data', ondata);\n if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain))\n ondrain();\n }\n src.on('data', ondata);\n function ondata(chunk) {\n debug('ondata');\n var ret = dest.write(chunk);\n if (false === ret) {\n debug('false write response, pause', src._readableState.awaitDrain);\n src._readableState.awaitDrain++;\n src.pause();\n }\n }\n function onerror(er) {\n debug('onerror', er);\n unpipe();\n dest.removeListener('error', onerror);\n if (EE.listenerCount(dest, 'error') === 0)\n dest.emit('error', er);\n }\n if (!dest._events || !dest._events.error)\n dest.on('error', onerror);\n else if (isArray(dest._events.error))\n dest._events.error.unshift(onerror);\n else\n dest._events.error = [onerror, dest._events.error];\n function onclose() {\n dest.removeListener('finish', onfinish);\n unpipe();\n }\n dest.once('close', onclose);\n function onfinish() {\n debug('onfinish');\n dest.removeListener('close', onclose);\n unpipe();\n }\n dest.once('finish', onfinish);\n function unpipe() {\n debug('unpipe');\n src.unpipe(dest);\n }\n dest.emit('pipe', src);\n if (!state.flowing) {\n debug('pipe resume');\n src.resume();\n }\n return dest;\n };\n function pipeOnDrain(src) {\n return function() {\n var state = src._readableState;\n debug('pipeOnDrain', state.awaitDrain);\n if (state.awaitDrain)\n state.awaitDrain--;\n if (state.awaitDrain === 0 && EE.listenerCount(src, 'data')) {\n state.flowing = true;\n flow(src);\n }\n };\n }\n Readable.prototype.unpipe = function(dest) {\n var state = this._readableState;\n if (state.pipesCount === 0)\n return this;\n if (state.pipesCount === 1) {\n if (dest && dest !== state.pipes)\n return this;\n if (!dest)\n dest = state.pipes;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n if (dest)\n dest.emit('unpipe', this);\n return this;\n }\n if (!dest) {\n var dests = state.pipes;\n var len = state.pipesCount;\n state.pipes = null;\n state.pipesCount = 0;\n state.flowing = false;\n for (var i = 0; i < len; i++)\n dests[i].emit('unpipe', this);\n return this;\n }\n var i = indexOf(state.pipes, dest);\n if (i === -1)\n return this;\n state.pipes.splice(i, 1);\n state.pipesCount -= 1;\n if (state.pipesCount === 1)\n state.pipes = state.pipes[0];\n dest.emit('unpipe', this);\n return this;\n };\n Readable.prototype.on = function(ev, fn) {\n var res = Stream.prototype.on.call(this, ev, fn);\n if (ev === 'data' && false !== this._readableState.flowing) {\n this.resume();\n }\n if (ev === 'readable' && this.readable) {\n var state = this._readableState;\n if (!state.readableListening) {\n state.readableListening = true;\n state.emittedReadable = false;\n state.needReadable = true;\n if (!state.reading) {\n var self = this;\n process.nextTick(function() {\n debug('readable nexttick read 0');\n self.read(0);\n });\n } else if (state.length) {\n emitReadable(this, state);\n }\n }\n }\n return res;\n };\n Readable.prototype.addListener = Readable.prototype.on;\n Readable.prototype.resume = function() {\n var state = this._readableState;\n if (!state.flowing) {\n debug('resume');\n state.flowing = true;\n if (!state.reading) {\n debug('resume read 0');\n this.read(0);\n }\n resume(this, state);\n }\n return this;\n };\n function resume(stream, state) {\n if (!state.resumeScheduled) {\n state.resumeScheduled = true;\n process.nextTick(function() {\n resume_(stream, state);\n });\n }\n }\n function resume_(stream, state) {\n state.resumeScheduled = false;\n stream.emit('resume');\n flow(stream);\n if (state.flowing && !state.reading)\n stream.read(0);\n }\n Readable.prototype.pause = function() {\n debug('call pause flowing=%j', this._readableState.flowing);\n if (false !== this._readableState.flowing) {\n debug('pause');\n this._readableState.flowing = false;\n this.emit('pause');\n }\n return this;\n };\n function flow(stream) {\n var state = stream._readableState;\n debug('flow', state.flowing);\n if (state.flowing) {\n do {\n var chunk = stream.read();\n } while (null !== chunk && state.flowing);\n }\n }\n Readable.prototype.wrap = function(stream) {\n var state = this._readableState;\n var paused = false;\n var self = this;\n stream.on('end', function() {\n debug('wrapped end');\n if (state.decoder && !state.ended) {\n var chunk = state.decoder.end();\n if (chunk && chunk.length)\n self.push(chunk);\n }\n self.push(null);\n });\n stream.on('data', function(chunk) {\n debug('wrapped data');\n if (state.decoder)\n chunk = state.decoder.write(chunk);\n if (!chunk || !state.objectMode && !chunk.length)\n return;\n var ret = self.push(chunk);\n if (!ret) {\n paused = true;\n stream.pause();\n }\n });\n for (var i in stream) {\n if (util.isFunction(stream[i]) && util.isUndefined(this[i])) {\n this[i] = function(method) {\n return function() {\n return stream[method].apply(stream, arguments);\n };\n }(i);\n }\n }\n var events = ['error', 'close', 'destroy', 'pause', 'resume'];\n forEach(events, function(ev) {\n stream.on(ev, self.emit.bind(self, ev));\n });\n self._read = function(n) {\n debug('wrapped _read', n);\n if (paused) {\n paused = false;\n stream.resume();\n }\n };\n return self;\n };\n Readable._fromList = fromList;\n function fromList(n, state) {\n var list = state.buffer;\n var length = state.length;\n var stringMode = !!state.decoder;\n var objectMode = !!state.objectMode;\n var ret;\n if (list.length === 0)\n return null;\n if (length === 0)\n ret = null;\n else if (objectMode)\n ret = list.shift();\n else if (!n || n >= length) {\n if (stringMode)\n ret = list.join('');\n else\n ret = Buffer.concat(list, length);\n list.length = 0;\n } else {\n if (n < list[0].length) {\n var buf = list[0];\n ret = buf.slice(0, n);\n list[0] = buf.slice(n);\n } else if (n === list[0].length) {\n ret = list.shift();\n } else {\n if (stringMode)\n ret = '';\n else\n ret = new Buffer(n);\n var c = 0;\n for (var i = 0,\n l = list.length; i < l && c < n; i++) {\n var buf = list[0];\n var cpy = Math.min(n - c, buf.length);\n if (stringMode)\n ret += buf.slice(0, cpy);\n else\n buf.copy(ret, c, 0, cpy);\n if (cpy < buf.length)\n list[0] = buf.slice(cpy);\n else\n list.shift();\n c += cpy;\n }\n }\n }\n return ret;\n }\n function endReadable(stream) {\n var state = stream._readableState;\n if (state.length > 0)\n throw new Error('endReadable called on non-empty stream');\n if (!state.endEmitted) {\n state.ended = true;\n process.nextTick(function() {\n if (!state.endEmitted && state.length === 0) {\n state.endEmitted = true;\n stream.readable = false;\n stream.emit('end');\n }\n });\n }\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n function indexOf(xs, x) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n module.exports = Writable;\n var Buffer = require('buffer').Buffer;\n Writable.WritableState = WritableState;\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Stream = require('stream-browserify/index');\n util.inherits(Writable, Stream);\n function WriteReq(chunk, encoding, cb) {\n this.chunk = chunk;\n this.encoding = encoding;\n this.callback = cb;\n }\n function WritableState(options, stream) {\n var Duplex = require('./_stream_duplex');\n options = options || {};\n var hwm = options.highWaterMark;\n var defaultHwm = options.objectMode ? 16 : 16 * 1024;\n this.highWaterMark = (hwm || hwm === 0) ? hwm : defaultHwm;\n this.objectMode = !!options.objectMode;\n if (stream instanceof Duplex)\n this.objectMode = this.objectMode || !!options.writableObjectMode;\n this.highWaterMark = ~~this.highWaterMark;\n this.needDrain = false;\n this.ending = false;\n this.ended = false;\n this.finished = false;\n var noDecode = options.decodeStrings === false;\n this.decodeStrings = !noDecode;\n this.defaultEncoding = options.defaultEncoding || 'utf8';\n this.length = 0;\n this.writing = false;\n this.corked = 0;\n this.sync = true;\n this.bufferProcessing = false;\n this.onwrite = function(er) {\n onwrite(stream, er);\n };\n this.writecb = null;\n this.writelen = 0;\n this.buffer = [];\n this.pendingcb = 0;\n this.prefinished = false;\n this.errorEmitted = false;\n }\n function Writable(options) {\n var Duplex = require('./_stream_duplex');\n if (!(this instanceof Writable) && !(this instanceof Duplex))\n return new Writable(options);\n this._writableState = new WritableState(options, this);\n this.writable = true;\n Stream.call(this);\n }\n Writable.prototype.pipe = function() {\n this.emit('error', new Error('Cannot pipe. Not readable.'));\n };\n function writeAfterEnd(stream, state, cb) {\n var er = new Error('write after end');\n stream.emit('error', er);\n process.nextTick(function() {\n cb(er);\n });\n }\n function validChunk(stream, state, chunk, cb) {\n var valid = true;\n if (!util.isBuffer(chunk) && !util.isString(chunk) && !util.isNullOrUndefined(chunk) && !state.objectMode) {\n var er = new TypeError('Invalid non-string/buffer chunk');\n stream.emit('error', er);\n process.nextTick(function() {\n cb(er);\n });\n valid = false;\n }\n return valid;\n }\n Writable.prototype.write = function(chunk, encoding, cb) {\n var state = this._writableState;\n var ret = false;\n if (util.isFunction(encoding)) {\n cb = encoding;\n encoding = null;\n }\n if (util.isBuffer(chunk))\n encoding = 'buffer';\n else if (!encoding)\n encoding = state.defaultEncoding;\n if (!util.isFunction(cb))\n cb = function() {};\n if (state.ended)\n writeAfterEnd(this, state, cb);\n else if (validChunk(this, state, chunk, cb)) {\n state.pendingcb++;\n ret = writeOrBuffer(this, state, chunk, encoding, cb);\n }\n return ret;\n };\n Writable.prototype.cork = function() {\n var state = this._writableState;\n state.corked++;\n };\n Writable.prototype.uncork = function() {\n var state = this._writableState;\n if (state.corked) {\n state.corked--;\n if (!state.writing && !state.corked && !state.finished && !state.bufferProcessing && state.buffer.length)\n clearBuffer(this, state);\n }\n };\n function decodeChunk(state, chunk, encoding) {\n if (!state.objectMode && state.decodeStrings !== false && util.isString(chunk)) {\n chunk = new Buffer(chunk, encoding);\n }\n return chunk;\n }\n function writeOrBuffer(stream, state, chunk, encoding, cb) {\n chunk = decodeChunk(state, chunk, encoding);\n if (util.isBuffer(chunk))\n encoding = 'buffer';\n var len = state.objectMode ? 1 : chunk.length;\n state.length += len;\n var ret = state.length < state.highWaterMark;\n if (!ret)\n state.needDrain = true;\n if (state.writing || state.corked)\n state.buffer.push(new WriteReq(chunk, encoding, cb));\n else\n doWrite(stream, state, false, len, chunk, encoding, cb);\n return ret;\n }\n function doWrite(stream, state, writev, len, chunk, encoding, cb) {\n state.writelen = len;\n state.writecb = cb;\n state.writing = true;\n state.sync = true;\n if (writev)\n stream._writev(chunk, state.onwrite);\n else\n stream._write(chunk, encoding, state.onwrite);\n state.sync = false;\n }\n function onwriteError(stream, state, sync, er, cb) {\n if (sync)\n process.nextTick(function() {\n state.pendingcb--;\n cb(er);\n });\n else {\n state.pendingcb--;\n cb(er);\n }\n stream._writableState.errorEmitted = true;\n stream.emit('error', er);\n }\n function onwriteStateUpdate(state) {\n state.writing = false;\n state.writecb = null;\n state.length -= state.writelen;\n state.writelen = 0;\n }\n function onwrite(stream, er) {\n var state = stream._writableState;\n var sync = state.sync;\n var cb = state.writecb;\n onwriteStateUpdate(state);\n if (er)\n onwriteError(stream, state, sync, er, cb);\n else {\n var finished = needFinish(stream, state);\n if (!finished && !state.corked && !state.bufferProcessing && state.buffer.length) {\n clearBuffer(stream, state);\n }\n if (sync) {\n process.nextTick(function() {\n afterWrite(stream, state, finished, cb);\n });\n } else {\n afterWrite(stream, state, finished, cb);\n }\n }\n }\n function afterWrite(stream, state, finished, cb) {\n if (!finished)\n onwriteDrain(stream, state);\n state.pendingcb--;\n cb();\n finishMaybe(stream, state);\n }\n function onwriteDrain(stream, state) {\n if (state.length === 0 && state.needDrain) {\n state.needDrain = false;\n stream.emit('drain');\n }\n }\n function clearBuffer(stream, state) {\n state.bufferProcessing = true;\n if (stream._writev && state.buffer.length > 1) {\n var cbs = [];\n for (var c = 0; c < state.buffer.length; c++)\n cbs.push(state.buffer[c].callback);\n state.pendingcb++;\n doWrite(stream, state, true, state.length, state.buffer, '', function(err) {\n for (var i = 0; i < cbs.length; i++) {\n state.pendingcb--;\n cbs[i](err);\n }\n });\n state.buffer = [];\n } else {\n for (var c = 0; c < state.buffer.length; c++) {\n var entry = state.buffer[c];\n var chunk = entry.chunk;\n var encoding = entry.encoding;\n var cb = entry.callback;\n var len = state.objectMode ? 1 : chunk.length;\n doWrite(stream, state, false, len, chunk, encoding, cb);\n if (state.writing) {\n c++;\n break;\n }\n }\n if (c < state.buffer.length)\n state.buffer = state.buffer.slice(c);\n else\n state.buffer.length = 0;\n }\n state.bufferProcessing = false;\n }\n Writable.prototype._write = function(chunk, encoding, cb) {\n cb(new Error('not implemented'));\n };\n Writable.prototype._writev = null;\n Writable.prototype.end = function(chunk, encoding, cb) {\n var state = this._writableState;\n if (util.isFunction(chunk)) {\n cb = chunk;\n chunk = null;\n encoding = null;\n } else if (util.isFunction(encoding)) {\n cb = encoding;\n encoding = null;\n }\n if (!util.isNullOrUndefined(chunk))\n this.write(chunk, encoding);\n if (state.corked) {\n state.corked = 1;\n this.uncork();\n }\n if (!state.ending && !state.finished)\n endWritable(this, state, cb);\n };\n function needFinish(stream, state) {\n return (state.ending && state.length === 0 && !state.finished && !state.writing);\n }\n function prefinish(stream, state) {\n if (!state.prefinished) {\n state.prefinished = true;\n stream.emit('prefinish');\n }\n }\n function finishMaybe(stream, state) {\n var need = needFinish(stream, state);\n if (need) {\n if (state.pendingcb === 0) {\n prefinish(stream, state);\n state.finished = true;\n stream.emit('finish');\n } else\n prefinish(stream, state);\n }\n return need;\n }\n function endWritable(stream, state, cb) {\n state.ending = true;\n finishMaybe(stream, state);\n if (cb) {\n if (state.finished)\n process.nextTick(cb);\n else\n stream.once('finish', cb);\n }\n state.ended = true;\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(process) {\n module.exports = Duplex;\n var objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj)\n keys.push(key);\n return keys;\n };\n var util = require('core-util-is');\n util.inherits = require('inherits');\n var Readable = require('./_stream_readable');\n var Writable = require('./_stream_writable');\n util.inherits(Duplex, Readable);\n forEach(objectKeys(Writable.prototype), function(method) {\n if (!Duplex.prototype[method])\n Duplex.prototype[method] = Writable.prototype[method];\n });\n function Duplex(options) {\n if (!(this instanceof Duplex))\n return new Duplex(options);\n Readable.call(this, options);\n Writable.call(this, options);\n if (options && options.readable === false)\n this.readable = false;\n if (options && options.writable === false)\n this.writable = false;\n this.allowHalfOpen = true;\n if (options && options.allowHalfOpen === false)\n this.allowHalfOpen = false;\n this.once('end', onend);\n }\n function onend() {\n if (this.allowHalfOpen || this._writableState.ended)\n return;\n process.nextTick(this.end.bind(this));\n }\n function forEach(xs, f) {\n for (var i = 0,\n l = xs.length; i < l; i++) {\n f(xs[i], i);\n }\n }\n})(require('process'));\n","/* */ \n(function(process) {\n module.exports = Transform;\n var Duplex = require('./_stream_duplex');\n var util = require('core-util-is');\n util.inherits = require('inherits');\n util.inherits(Transform, Duplex);\n function TransformState(options, stream) {\n this.afterTransform = function(er, data) {\n return afterTransform(stream, er, data);\n };\n this.needTransform = false;\n this.transforming = false;\n this.writecb = null;\n this.writechunk = null;\n }\n function afterTransform(stream, er, data) {\n var ts = stream._transformState;\n ts.transforming = false;\n var cb = ts.writecb;\n if (!cb)\n return stream.emit('error', new Error('no writecb in Transform class'));\n ts.writechunk = null;\n ts.writecb = null;\n if (!util.isNullOrUndefined(data))\n stream.push(data);\n if (cb)\n cb(er);\n var rs = stream._readableState;\n rs.reading = false;\n if (rs.needReadable || rs.length < rs.highWaterMark) {\n stream._read(rs.highWaterMark);\n }\n }\n function Transform(options) {\n if (!(this instanceof Transform))\n return new Transform(options);\n Duplex.call(this, options);\n this._transformState = new TransformState(options, this);\n var stream = this;\n this._readableState.needReadable = true;\n this._readableState.sync = false;\n this.once('prefinish', function() {\n if (util.isFunction(this._flush))\n this._flush(function(er) {\n done(stream, er);\n });\n else\n done(stream);\n });\n }\n Transform.prototype.push = function(chunk, encoding) {\n this._transformState.needTransform = false;\n return Duplex.prototype.push.call(this, chunk, encoding);\n };\n Transform.prototype._transform = function(chunk, encoding, cb) {\n throw new Error('not implemented');\n };\n Transform.prototype._write = function(chunk, encoding, cb) {\n var ts = this._transformState;\n ts.writecb = cb;\n ts.writechunk = chunk;\n ts.writeencoding = encoding;\n if (!ts.transforming) {\n var rs = this._readableState;\n if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark)\n this._read(rs.highWaterMark);\n }\n };\n Transform.prototype._read = function(n) {\n var ts = this._transformState;\n if (!util.isNull(ts.writechunk) && ts.writecb && !ts.transforming) {\n ts.transforming = true;\n this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform);\n } else {\n ts.needTransform = true;\n }\n };\n function done(stream, er) {\n if (er)\n return stream.emit('error', er);\n var ws = stream._writableState;\n var ts = stream._transformState;\n if (ws.length)\n throw new Error('calling transform done when ws.length != 0');\n if (ts.transforming)\n throw new Error('calling transform done when still transforming');\n return stream.push(null);\n }\n})(require('process'));\n","/* */ \n(function(Buffer) {\n function isArray(arg) {\n if (Array.isArray) {\n return Array.isArray(arg);\n }\n return objectToString(arg) === '[object Array]';\n }\n exports.isArray = isArray;\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n exports.isBoolean = isBoolean;\n function isNull(arg) {\n return arg === null;\n }\n exports.isNull = isNull;\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n exports.isNullOrUndefined = isNullOrUndefined;\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n exports.isNumber = isNumber;\n function isString(arg) {\n return typeof arg === 'string';\n }\n exports.isString = isString;\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n exports.isSymbol = isSymbol;\n function isUndefined(arg) {\n return arg === void 0;\n }\n exports.isUndefined = isUndefined;\n function isRegExp(re) {\n return objectToString(re) === '[object RegExp]';\n }\n exports.isRegExp = isRegExp;\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n exports.isObject = isObject;\n function isDate(d) {\n return objectToString(d) === '[object Date]';\n }\n exports.isDate = isDate;\n function isError(e) {\n return (objectToString(e) === '[object Error]' || e instanceof Error);\n }\n exports.isError = isError;\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n exports.isFunction = isFunction;\n function isPrimitive(arg) {\n return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || typeof arg === 'undefined';\n }\n exports.isPrimitive = isPrimitive;\n exports.isBuffer = Buffer.isBuffer;\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:core-util-is@1.0.2/lib/util.js\");","/* */ \nmodule.exports = PassThrough;\nvar Transform = require('./_stream_transform');\nvar util = require('core-util-is');\nutil.inherits = require('inherits');\nutil.inherits(PassThrough, Transform);\nfunction PassThrough(options) {\n if (!(this instanceof PassThrough))\n return new PassThrough(options);\n Transform.call(this, options);\n}\nPassThrough.prototype._transform = function(chunk, encoding, cb) {\n cb(null, chunk);\n};\n","/* */ \nmodule.exports = require('./lib/_stream_passthrough');\n","/* */ \nmodule.exports = Stream;\nvar EE = require('events').EventEmitter;\nvar inherits = require('inherits');\ninherits(Stream, EE);\nStream.Readable = require('readable-stream/readable');\nStream.Writable = require('readable-stream/writable');\nStream.Duplex = require('readable-stream/duplex');\nStream.Transform = require('readable-stream/transform');\nStream.PassThrough = require('readable-stream/passthrough');\nStream.Stream = Stream;\nfunction Stream() {\n EE.call(this);\n}\nStream.prototype.pipe = function(dest, options) {\n var source = this;\n function ondata(chunk) {\n if (dest.writable) {\n if (false === dest.write(chunk) && source.pause) {\n source.pause();\n }\n }\n }\n source.on('data', ondata);\n function ondrain() {\n if (source.readable && source.resume) {\n source.resume();\n }\n }\n dest.on('drain', ondrain);\n if (!dest._isStdio && (!options || options.end !== false)) {\n source.on('end', onend);\n source.on('close', onclose);\n }\n var didOnEnd = false;\n function onend() {\n if (didOnEnd)\n return;\n didOnEnd = true;\n dest.end();\n }\n function onclose() {\n if (didOnEnd)\n return;\n didOnEnd = true;\n if (typeof dest.destroy === 'function')\n dest.destroy();\n }\n function onerror(er) {\n cleanup();\n if (EE.listenerCount(this, 'error') === 0) {\n throw er;\n }\n }\n source.on('error', onerror);\n dest.on('error', onerror);\n function cleanup() {\n source.removeListener('data', ondata);\n dest.removeListener('drain', ondrain);\n source.removeListener('end', onend);\n source.removeListener('close', onclose);\n source.removeListener('error', onerror);\n dest.removeListener('error', onerror);\n source.removeListener('end', cleanup);\n source.removeListener('close', cleanup);\n dest.removeListener('close', cleanup);\n }\n source.on('end', cleanup);\n source.on('close', cleanup);\n dest.on('close', cleanup);\n dest.emit('pipe', source);\n return dest;\n};\n","module.exports = require(\"npm:stream-browserify@1.0.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('stream') : require('stream-browserify');","module.exports = require(\"github:jspm/nodelibs-stream@0.1.0/index\");","/* */ \nvar Stream = require('stream');\nvar util = require('util');\nvar Response = module.exports = function(res) {\n this.offset = 0;\n this.readable = true;\n};\nutil.inherits(Response, Stream);\nvar capable = {\n streaming: true,\n status2: true\n};\nfunction parseHeaders(res) {\n var lines = res.getAllResponseHeaders().split(/\\r?\\n/);\n var headers = {};\n for (var i = 0; i < lines.length; i++) {\n var line = lines[i];\n if (line === '')\n continue;\n var m = line.match(/^([^:]+):\\s*(.*)/);\n if (m) {\n var key = m[1].toLowerCase(),\n value = m[2];\n if (headers[key] !== undefined) {\n if (isArray(headers[key])) {\n headers[key].push(value);\n } else {\n headers[key] = [headers[key], value];\n }\n } else {\n headers[key] = value;\n }\n } else {\n headers[line] = true;\n }\n }\n return headers;\n}\nResponse.prototype.getResponse = function(xhr) {\n var respType = String(xhr.responseType).toLowerCase();\n if (respType === 'blob')\n return xhr.responseBlob || xhr.response;\n if (respType === 'arraybuffer')\n return xhr.response;\n return xhr.responseText;\n};\nResponse.prototype.getHeader = function(key) {\n return this.headers[key.toLowerCase()];\n};\nResponse.prototype.handle = function(res) {\n if (res.readyState === 2 && capable.status2) {\n try {\n this.statusCode = res.status;\n this.headers = parseHeaders(res);\n } catch (err) {\n capable.status2 = false;\n }\n if (capable.status2) {\n this.emit('ready');\n }\n } else if (capable.streaming && res.readyState === 3) {\n try {\n if (!this.statusCode) {\n this.statusCode = res.status;\n this.headers = parseHeaders(res);\n this.emit('ready');\n }\n } catch (err) {}\n try {\n this._emitData(res);\n } catch (err) {\n capable.streaming = false;\n }\n } else if (res.readyState === 4) {\n if (!this.statusCode) {\n this.statusCode = res.status;\n this.emit('ready');\n }\n this._emitData(res);\n if (res.error) {\n this.emit('error', this.getResponse(res));\n } else\n this.emit('end');\n this.emit('close');\n }\n};\nResponse.prototype._emitData = function(res) {\n var respBody = this.getResponse(res);\n if (respBody.toString().match(/ArrayBuffer/)) {\n this.emit('data', new Uint8Array(respBody, this.offset));\n this.offset = respBody.byteLength;\n return;\n }\n if (respBody.length > this.offset) {\n this.emit('data', respBody.slice(this.offset));\n this.offset = respBody.length;\n }\n};\nvar isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\n","/* */ \n\"format cjs\";\n;(function () {\n\n var object = typeof exports != 'undefined' ? exports : this; // #8: web workers\n var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';\n\n function InvalidCharacterError(message) {\n this.message = message;\n }\n InvalidCharacterError.prototype = new Error;\n InvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n // encoder\n // [https://gist.github.com/999166] by [https://github.com/nignag]\n object.btoa || (\n object.btoa = function (input) {\n for (\n // initialize result and counter\n var block, charCode, idx = 0, map = chars, output = '';\n // if the next input index does not exist:\n // change the mapping table to \"=\"\n // check if d has no fractional digits\n input.charAt(idx | 0) || (map = '=', idx % 1);\n // \"8 - idx % 1 * 8\" generates the sequence 2, 4, 6, 8\n output += map.charAt(63 & block >> 8 - idx % 1 * 8)\n ) {\n charCode = input.charCodeAt(idx += 3/4);\n if (charCode > 0xFF) {\n throw new InvalidCharacterError(\"'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.\");\n }\n block = block << 8 | charCode;\n }\n return output;\n });\n\n // decoder\n // [https://gist.github.com/1020396] by [https://github.com/atk]\n object.atob || (\n object.atob = function (input) {\n input = input.replace(/=+$/, '');\n if (input.length % 4 == 1) {\n throw new InvalidCharacterError(\"'atob' failed: The string to be decoded is not correctly encoded.\");\n }\n for (\n // initialize result and counters\n var bc = 0, bs, buffer, idx = 0, output = '';\n // get next character\n buffer = input.charAt(idx++);\n // character found in table? initialize bit storage and add its ascii value;\n ~buffer && (bs = bc % 4 ? bs * 64 + buffer : buffer,\n // and if not first of each 4 characters,\n // convert the first 8 bits to one ascii character\n bc++ % 4) ? output += String.fromCharCode(255 & bs >> (-2 * bc & 6)) : 0\n ) {\n // try to find character in table (0-63, not found => -1)\n buffer = chars.indexOf(buffer);\n }\n return output;\n });\n\n}());\n","module.exports = require(\"npm:Base64@0.2.1/base64.js\");","/* */ \nvar Stream = require('stream');\nvar Response = require('./response');\nvar Base64 = require('Base64');\nvar inherits = require('inherits');\nvar Request = module.exports = function(xhr, params) {\n var self = this;\n self.writable = true;\n self.xhr = xhr;\n self.body = [];\n self.uri = (params.protocol || 'http:') + '//' + params.host + (params.port ? ':' + params.port : '') + (params.path || '/');\n ;\n if (typeof params.withCredentials === 'undefined') {\n params.withCredentials = true;\n }\n try {\n xhr.withCredentials = params.withCredentials;\n } catch (e) {}\n if (params.responseType)\n try {\n xhr.responseType = params.responseType;\n } catch (e) {}\n xhr.open(params.method || 'GET', self.uri, true);\n xhr.onerror = function(event) {\n self.emit('error', new Error('Network error'));\n };\n self._headers = {};\n if (params.headers) {\n var keys = objectKeys(params.headers);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (!self.isSafeRequestHeader(key))\n continue;\n var value = params.headers[key];\n self.setHeader(key, value);\n }\n }\n if (params.auth) {\n this.setHeader('Authorization', 'Basic ' + Base64.btoa(params.auth));\n }\n var res = new Response;\n res.on('close', function() {\n self.emit('close');\n });\n res.on('ready', function() {\n self.emit('response', res);\n });\n res.on('error', function(err) {\n self.emit('error', err);\n });\n xhr.onreadystatechange = function() {\n if (xhr.__aborted)\n return;\n res.handle(xhr);\n };\n};\ninherits(Request, Stream);\nRequest.prototype.setHeader = function(key, value) {\n this._headers[key.toLowerCase()] = value;\n};\nRequest.prototype.getHeader = function(key) {\n return this._headers[key.toLowerCase()];\n};\nRequest.prototype.removeHeader = function(key) {\n delete this._headers[key.toLowerCase()];\n};\nRequest.prototype.write = function(s) {\n this.body.push(s);\n};\nRequest.prototype.destroy = function(s) {\n this.xhr.__aborted = true;\n this.xhr.abort();\n this.emit('close');\n};\nRequest.prototype.end = function(s) {\n if (s !== undefined)\n this.body.push(s);\n var keys = objectKeys(this._headers);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = this._headers[key];\n if (isArray(value)) {\n for (var j = 0; j < value.length; j++) {\n this.xhr.setRequestHeader(key, value[j]);\n }\n } else\n this.xhr.setRequestHeader(key, value);\n }\n if (this.body.length === 0) {\n this.xhr.send('');\n } else if (typeof this.body[0] === 'string') {\n this.xhr.send(this.body.join(''));\n } else if (isArray(this.body[0])) {\n var body = [];\n for (var i = 0; i < this.body.length; i++) {\n body.push.apply(body, this.body[i]);\n }\n this.xhr.send(body);\n } else if (/Array/.test(Object.prototype.toString.call(this.body[0]))) {\n var len = 0;\n for (var i = 0; i < this.body.length; i++) {\n len += this.body[i].length;\n }\n var body = new (this.body[0].constructor)(len);\n var k = 0;\n for (var i = 0; i < this.body.length; i++) {\n var b = this.body[i];\n for (var j = 0; j < b.length; j++) {\n body[k++] = b[j];\n }\n }\n this.xhr.send(body);\n } else if (isXHR2Compatible(this.body[0])) {\n this.xhr.send(this.body[0]);\n } else {\n var body = '';\n for (var i = 0; i < this.body.length; i++) {\n body += this.body[i].toString();\n }\n this.xhr.send(body);\n }\n};\nRequest.unsafeHeaders = [\"accept-charset\", \"accept-encoding\", \"access-control-request-headers\", \"access-control-request-method\", \"connection\", \"content-length\", \"cookie\", \"cookie2\", \"content-transfer-encoding\", \"date\", \"expect\", \"host\", \"keep-alive\", \"origin\", \"referer\", \"te\", \"trailer\", \"transfer-encoding\", \"upgrade\", \"user-agent\", \"via\"];\nRequest.prototype.isSafeRequestHeader = function(headerName) {\n if (!headerName)\n return false;\n return indexOf(Request.unsafeHeaders, headerName.toLowerCase()) === -1;\n};\nvar objectKeys = Object.keys || function(obj) {\n var keys = [];\n for (var key in obj)\n keys.push(key);\n return keys;\n};\nvar isArray = Array.isArray || function(xs) {\n return Object.prototype.toString.call(xs) === '[object Array]';\n};\nvar indexOf = function(xs, x) {\n if (xs.indexOf)\n return xs.indexOf(x);\n for (var i = 0; i < xs.length; i++) {\n if (xs[i] === x)\n return i;\n }\n return -1;\n};\nvar isXHR2Compatible = function(obj) {\n if (typeof Blob !== 'undefined' && obj instanceof Blob)\n return true;\n if (typeof ArrayBuffer !== 'undefined' && obj instanceof ArrayBuffer)\n return true;\n if (typeof FormData !== 'undefined' && obj instanceof FormData)\n return true;\n};\n","/* */ \nif (System._nodeRequire) {\n module.exports = System._nodeRequire('http');\n} else {\n var http = module.exports;\n var EventEmitter = require('events').EventEmitter;\n var Request = require('./lib/request');\n var url = require('url');\n http.request = function(params, cb) {\n if (typeof params === 'string') {\n params = url.parse(params);\n }\n if (!params)\n params = {};\n if (!params.host && !params.port) {\n params.port = parseInt(window.location.port, 10);\n }\n if (!params.host && params.hostname) {\n params.host = params.hostname;\n }\n if (!params.protocol) {\n if (params.scheme) {\n params.protocol = params.scheme + ':';\n } else {\n params.protocol = window.location.protocol;\n }\n }\n if (!params.host) {\n params.host = window.location.hostname || window.location.host;\n }\n if (/:/.test(params.host)) {\n if (!params.port) {\n params.port = params.host.split(':')[1];\n }\n params.host = params.host.split(':')[0];\n }\n if (!params.port)\n params.port = params.protocol == 'https:' ? 443 : 80;\n var req = new Request(new xhrHttp, params);\n if (cb)\n req.on('response', cb);\n return req;\n };\n http.get = function(params, cb) {\n params.method = 'GET';\n var req = http.request(params, cb);\n req.end();\n return req;\n };\n http.Agent = function() {};\n http.Agent.defaultMaxSockets = 4;\n var xhrHttp = (function() {\n if (typeof window === 'undefined') {\n throw new Error('no window object present');\n } else if (window.XMLHttpRequest) {\n return window.XMLHttpRequest;\n } else if (window.ActiveXObject) {\n var axs = ['Msxml2.XMLHTTP.6.0', 'Msxml2.XMLHTTP.3.0', 'Microsoft.XMLHTTP'];\n for (var i = 0; i < axs.length; i++) {\n try {\n var ax = new (window.ActiveXObject)(axs[i]);\n return function() {\n if (ax) {\n var ax_ = ax;\n ax = null;\n return ax_;\n } else {\n return new (window.ActiveXObject)(axs[i]);\n }\n };\n } catch (e) {}\n }\n throw new Error('ajax not supported in this browser');\n } else {\n throw new Error('ajax not supported in this browser');\n }\n })();\n http.STATUS_CODES = {\n 100: 'Continue',\n 101: 'Switching Protocols',\n 102: 'Processing',\n 200: 'OK',\n 201: 'Created',\n 202: 'Accepted',\n 203: 'Non-Authoritative Information',\n 204: 'No Content',\n 205: 'Reset Content',\n 206: 'Partial Content',\n 207: 'Multi-Status',\n 300: 'Multiple Choices',\n 301: 'Moved Permanently',\n 302: 'Moved Temporarily',\n 303: 'See Other',\n 304: 'Not Modified',\n 305: 'Use Proxy',\n 307: 'Temporary Redirect',\n 400: 'Bad Request',\n 401: 'Unauthorized',\n 402: 'Payment Required',\n 403: 'Forbidden',\n 404: 'Not Found',\n 405: 'Method Not Allowed',\n 406: 'Not Acceptable',\n 407: 'Proxy Authentication Required',\n 408: 'Request Time-out',\n 409: 'Conflict',\n 410: 'Gone',\n 411: 'Length Required',\n 412: 'Precondition Failed',\n 413: 'Request Entity Too Large',\n 414: 'Request-URI Too Large',\n 415: 'Unsupported Media Type',\n 416: 'Requested Range Not Satisfiable',\n 417: 'Expectation Failed',\n 418: 'I\\'m a teapot',\n 422: 'Unprocessable Entity',\n 423: 'Locked',\n 424: 'Failed Dependency',\n 425: 'Unordered Collection',\n 426: 'Upgrade Required',\n 428: 'Precondition Required',\n 429: 'Too Many Requests',\n 431: 'Request Header Fields Too Large',\n 500: 'Internal Server Error',\n 501: 'Not Implemented',\n 502: 'Bad Gateway',\n 503: 'Service Unavailable',\n 504: 'Gateway Time-out',\n 505: 'HTTP Version Not Supported',\n 506: 'Variant Also Negotiates',\n 507: 'Insufficient Storage',\n 509: 'Bandwidth Limit Exceeded',\n 510: 'Not Extended',\n 511: 'Network Authentication Required'\n };\n}\n","module.exports = require(\"github:jspm/nodelibs-http@1.7.1/index.js\");","/* */ \nvar http = require('http');\nvar https = module.exports;\nfor (var key in http) {\n if (http.hasOwnProperty(key))\n https[key] = http[key];\n}\n;\nhttps.request = function(params, cb) {\n if (!params)\n params = {};\n params.scheme = 'https';\n return http.request.call(this, params, cb);\n};\n","module.exports = require(\"npm:https-browserify@0.0.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('https') : require('https-browserify');","module.exports = require(\"github:jspm/nodelibs-https@0.1.0/index\");","/* */ \n(function(Buffer, process) {\n 'use strict';\n var http = require('npm:stream-http@2.3.0'),\n https = require('https'),\n ono = require('ono'),\n url = require('../util/url'),\n debug = require('../util/debug'),\n Promise = require('../util/promise');\n module.exports = {\n order: 200,\n headers: null,\n timeout: 5000,\n redirects: 5,\n withCredentials: false,\n canRead: function isHttp(file) {\n return url.isHttp(file.url);\n },\n read: function readHttp(file) {\n var u = url.parse(file.url);\n if (process.browser && !u.protocol) {\n u.protocol = url.parse(location.href).protocol;\n }\n return download(u, this);\n }\n };\n function download(u, httpOptions, redirects) {\n return new Promise(function(resolve, reject) {\n u = url.parse(u);\n redirects = redirects || [];\n redirects.push(u.href);\n get(u, httpOptions).then(function(res) {\n if (res.statusCode >= 400) {\n throw ono({status: res.statusCode}, 'HTTP ERROR %d', res.statusCode);\n } else if (res.statusCode >= 300) {\n if (redirects.length > httpOptions.redirects) {\n reject(ono({status: res.statusCode}, 'Error downloading %s. \\nToo many redirects: \\n %s', redirects[0], redirects.join(' \\n ')));\n } else if (!res.headers.location) {\n throw ono({status: res.statusCode}, 'HTTP %d redirect with no location header', res.statusCode);\n } else {\n debug('HTTP %d redirect %s -> %s', res.statusCode, u.href, res.headers.location);\n var redirectTo = url.resolve(u, res.headers.location);\n download(redirectTo, httpOptions, redirects).then(resolve, reject);\n }\n } else {\n resolve(res.body || new Buffer(0));\n }\n }).catch(function(err) {\n reject(ono(err, 'Error downloading', u.href));\n });\n });\n }\n function get(u, httpOptions) {\n return new Promise(function(resolve, reject) {\n debug('GET', u.href);\n var protocol = u.protocol === 'https:' ? https : http;\n var req = protocol.get({\n hostname: u.hostname,\n port: u.port,\n path: u.path,\n auth: u.auth,\n headers: httpOptions.headers || {},\n withCredentials: httpOptions.withCredentials\n });\n if (typeof req.setTimeout === 'function') {\n req.setTimeout(httpOptions.timeout);\n }\n req.on('timeout', function() {\n req.abort();\n });\n req.on('error', reject);\n req.once('response', function(res) {\n res.body = new Buffer(0);\n res.on('data', function(data) {\n res.body = Buffer.concat([res.body, new Buffer(data)]);\n });\n res.on('error', reject);\n res.on('end', function() {\n resolve(res);\n });\n });\n });\n }\n})(require('buffer').Buffer, require('process'));\n","/* */ \n(function(Buffer, process) {\n 'use strict';\n module.exports = {\n order: 100,\n canValidate: function canValidate(file) {\n return !!file.resolved;\n },\n validate: function validate(file) {}\n };\n})(require('buffer').Buffer, require('process'));\n","/* */ \n'use strict';\nvar jsonParser = require('./parsers/json'),\n yamlParser = require('./parsers/yaml'),\n textParser = require('./parsers/text'),\n binaryParser = require('./parsers/binary'),\n fileResolver = require('./resolvers/file'),\n httpResolver = require('./resolvers/http'),\n zschemaValidator = require('./validators/z-schema');\nmodule.exports = $RefParserOptions;\nfunction $RefParserOptions(options) {\n merge(this, $RefParserOptions.defaults);\n merge(this, options);\n}\n$RefParserOptions.defaults = {\n parse: {\n json: jsonParser,\n yaml: yamlParser,\n text: textParser,\n binary: binaryParser\n },\n resolve: {\n file: fileResolver,\n http: httpResolver,\n external: true\n },\n dereference: {circular: true},\n validate: {zschema: zschemaValidator}\n};\nfunction merge(target, source) {\n if (isMergeable(source)) {\n var keys = Object.keys(source);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var sourceSetting = source[key];\n var targetSetting = target[key];\n if (isMergeable(sourceSetting)) {\n target[key] = merge(targetSetting || {}, sourceSetting);\n } else if (sourceSetting !== undefined) {\n target[key] = sourceSetting;\n }\n }\n }\n return target;\n}\nfunction isMergeable(val) {\n return val && (typeof val === 'object') && !Array.isArray(val) && !(val instanceof RegExp) && !(val instanceof Date);\n}\n","/* */ \n'use strict';\nvar ono = require('ono'),\n $Ref = require('./ref'),\n url = require('./util/url');\nmodule.exports = $Refs;\nfunction $Refs() {\n this.circular = false;\n this._$refs = {};\n this._root$Ref = null;\n}\n$Refs.prototype.paths = function(types) {\n var paths = getPaths(this._$refs, arguments);\n return paths.map(function(path) {\n return path.decoded;\n });\n};\n$Refs.prototype.values = function(types) {\n var $refs = this._$refs;\n var paths = getPaths($refs, arguments);\n return paths.reduce(function(obj, path) {\n obj[path.decoded] = $refs[path.encoded].value;\n return obj;\n }, {});\n};\n$Refs.prototype.toJSON = $Refs.prototype.values;\n$Refs.prototype.exists = function(path, options) {\n try {\n this._resolve(path, options);\n return true;\n } catch (e) {\n return false;\n }\n};\n$Refs.prototype.get = function(path, options) {\n return this._resolve(path, options).value;\n};\n$Refs.prototype.set = function(path, value) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n var $ref = this._$refs[withoutHash];\n if (!$ref) {\n throw ono('Error resolving $ref pointer \"%s\". \\n\"%s\" not found.', path, withoutHash);\n }\n $ref.set(path, value);\n};\n$Refs.prototype._add = function(path, value) {\n var withoutHash = url.stripHash(path);\n var $ref = new $Ref();\n $ref.path = withoutHash;\n $ref.value = value;\n $ref.$refs = this;\n this._$refs[withoutHash] = $ref;\n this._root$Ref = this._root$Ref || $ref;\n return $ref;\n};\n$Refs.prototype._resolve = function(path, options) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n var $ref = this._$refs[withoutHash];\n if (!$ref) {\n throw ono('Error resolving $ref pointer \"%s\". \\n\"%s\" not found.', path, withoutHash);\n }\n return $ref.resolve(path, options);\n};\n$Refs.prototype._get$Ref = function(path) {\n path = url.resolve(this._root$Ref.path, path);\n var withoutHash = url.stripHash(path);\n return this._$refs[withoutHash];\n};\nfunction getPaths($refs, types) {\n var paths = Object.keys($refs);\n types = Array.isArray(types[0]) ? types[0] : Array.prototype.slice.call(types);\n if (types.length > 0 && types[0]) {\n paths = paths.filter(function(key) {\n return types.indexOf($refs[key].pathType) !== -1;\n });\n }\n return paths.map(function(path) {\n return {\n encoded: path,\n decoded: $refs[path].pathType === 'file' ? url.toFileSystemPath(path, true) : path\n };\n });\n}\n","/* */ \n'use strict';\nvar Promise = require('./promise'),\n debug = require('./debug');\nexports.all = function(plugins) {\n return Object.keys(plugins).filter(function(key) {\n return typeof plugins[key] === 'object';\n }).map(function(key) {\n plugins[key].name = key;\n return plugins[key];\n });\n};\nexports.filter = function(plugins, method, file) {\n return plugins.filter(function(plugin) {\n return !!getResult(plugin, method, file);\n });\n};\nexports.sort = function(plugins) {\n plugins.forEach(function(plugin) {\n plugin.order = plugin.order || Number.MAX_SAFE_INTEGER;\n });\n return plugins.sort(function(a, b) {\n return a.order - b.order;\n });\n};\nexports.run = function(plugins, method, file) {\n var plugin,\n lastError,\n index = 0;\n return new Promise(function(resolve, reject) {\n runNextPlugin();\n function runNextPlugin() {\n plugin = plugins[index++];\n if (!plugin) {\n return reject(lastError);\n }\n try {\n debug(' %s', plugin.name);\n var result = getResult(plugin, method, file, callback);\n if (result && typeof result.then === 'function') {\n result.then(onSuccess, onError);\n } else if (result !== undefined) {\n onSuccess(result);\n }\n } catch (e) {\n onError(e);\n }\n }\n function callback(err, result) {\n if (err) {\n onError(err);\n } else {\n onSuccess(result);\n }\n }\n function onSuccess(result) {\n debug(' success');\n resolve({\n plugin: plugin,\n result: result\n });\n }\n function onError(err) {\n debug(' %s', err.message || err);\n lastError = err;\n runNextPlugin();\n }\n });\n};\nfunction getResult(obj, prop, file, callback) {\n var value = obj[prop];\n if (typeof value === 'function') {\n return value.apply(obj, [file, callback]);\n }\n if (!callback) {\n if (value instanceof RegExp) {\n return value.test(file.url);\n } else if (typeof value === 'string') {\n return value === file.extension;\n } else if (Array.isArray(value)) {\n return value.indexOf(file.extension) !== -1;\n }\n }\n return value;\n}\n","/* */ \n\"format cjs\";\n(function(process) {\n (function() {\n \"use strict\";\n function lib$es6$promise$utils$$objectOrFunction(x) {\n return typeof x === 'function' || (typeof x === 'object' && x !== null);\n }\n function lib$es6$promise$utils$$isFunction(x) {\n return typeof x === 'function';\n }\n function lib$es6$promise$utils$$isMaybeThenable(x) {\n return typeof x === 'object' && x !== null;\n }\n var lib$es6$promise$utils$$_isArray;\n if (!Array.isArray) {\n lib$es6$promise$utils$$_isArray = function(x) {\n return Object.prototype.toString.call(x) === '[object Array]';\n };\n } else {\n lib$es6$promise$utils$$_isArray = Array.isArray;\n }\n var lib$es6$promise$utils$$isArray = lib$es6$promise$utils$$_isArray;\n var lib$es6$promise$asap$$len = 0;\n var lib$es6$promise$asap$$vertxNext;\n var lib$es6$promise$asap$$customSchedulerFn;\n var lib$es6$promise$asap$$asap = function asap(callback, arg) {\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len] = callback;\n lib$es6$promise$asap$$queue[lib$es6$promise$asap$$len + 1] = arg;\n lib$es6$promise$asap$$len += 2;\n if (lib$es6$promise$asap$$len === 2) {\n if (lib$es6$promise$asap$$customSchedulerFn) {\n lib$es6$promise$asap$$customSchedulerFn(lib$es6$promise$asap$$flush);\n } else {\n lib$es6$promise$asap$$scheduleFlush();\n }\n }\n };\n function lib$es6$promise$asap$$setScheduler(scheduleFn) {\n lib$es6$promise$asap$$customSchedulerFn = scheduleFn;\n }\n function lib$es6$promise$asap$$setAsap(asapFn) {\n lib$es6$promise$asap$$asap = asapFn;\n }\n var lib$es6$promise$asap$$browserWindow = (typeof window !== 'undefined') ? window : undefined;\n var lib$es6$promise$asap$$browserGlobal = lib$es6$promise$asap$$browserWindow || {};\n var lib$es6$promise$asap$$BrowserMutationObserver = lib$es6$promise$asap$$browserGlobal.MutationObserver || lib$es6$promise$asap$$browserGlobal.WebKitMutationObserver;\n var lib$es6$promise$asap$$isNode = typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n var lib$es6$promise$asap$$isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n function lib$es6$promise$asap$$useNextTick() {\n return function() {\n process.nextTick(lib$es6$promise$asap$$flush);\n };\n }\n function lib$es6$promise$asap$$useVertxTimer() {\n return function() {\n lib$es6$promise$asap$$vertxNext(lib$es6$promise$asap$$flush);\n };\n }\n function lib$es6$promise$asap$$useMutationObserver() {\n var iterations = 0;\n var observer = new lib$es6$promise$asap$$BrowserMutationObserver(lib$es6$promise$asap$$flush);\n var node = document.createTextNode('');\n observer.observe(node, {characterData: true});\n return function() {\n node.data = (iterations = ++iterations % 2);\n };\n }\n function lib$es6$promise$asap$$useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = lib$es6$promise$asap$$flush;\n return function() {\n channel.port2.postMessage(0);\n };\n }\n function lib$es6$promise$asap$$useSetTimeout() {\n return function() {\n setTimeout(lib$es6$promise$asap$$flush, 1);\n };\n }\n var lib$es6$promise$asap$$queue = new Array(1000);\n function lib$es6$promise$asap$$flush() {\n for (var i = 0; i < lib$es6$promise$asap$$len; i += 2) {\n var callback = lib$es6$promise$asap$$queue[i];\n var arg = lib$es6$promise$asap$$queue[i + 1];\n callback(arg);\n lib$es6$promise$asap$$queue[i] = undefined;\n lib$es6$promise$asap$$queue[i + 1] = undefined;\n }\n lib$es6$promise$asap$$len = 0;\n }\n function lib$es6$promise$asap$$attemptVertx() {\n try {\n var r = require;\n var vertx = r('vertx');\n lib$es6$promise$asap$$vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return lib$es6$promise$asap$$useVertxTimer();\n } catch (e) {\n return lib$es6$promise$asap$$useSetTimeout();\n }\n }\n var lib$es6$promise$asap$$scheduleFlush;\n if (lib$es6$promise$asap$$isNode) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useNextTick();\n } else if (lib$es6$promise$asap$$BrowserMutationObserver) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMutationObserver();\n } else if (lib$es6$promise$asap$$isWorker) {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useMessageChannel();\n } else if (lib$es6$promise$asap$$browserWindow === undefined && typeof require === 'function') {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$attemptVertx();\n } else {\n lib$es6$promise$asap$$scheduleFlush = lib$es6$promise$asap$$useSetTimeout();\n }\n function lib$es6$promise$then$$then(onFulfillment, onRejection) {\n var parent = this;\n var state = parent._state;\n if (state === lib$es6$promise$$internal$$FULFILLED && !onFulfillment || state === lib$es6$promise$$internal$$REJECTED && !onRejection) {\n return this;\n }\n var child = new this.constructor(lib$es6$promise$$internal$$noop);\n var result = parent._result;\n if (state) {\n var callback = arguments[state - 1];\n lib$es6$promise$asap$$asap(function() {\n lib$es6$promise$$internal$$invokeCallback(state, child, callback, result);\n });\n } else {\n lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection);\n }\n return child;\n }\n var lib$es6$promise$then$$default = lib$es6$promise$then$$then;\n function lib$es6$promise$promise$resolve$$resolve(object) {\n var Constructor = this;\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$resolve(promise, object);\n return promise;\n }\n var lib$es6$promise$promise$resolve$$default = lib$es6$promise$promise$resolve$$resolve;\n function lib$es6$promise$$internal$$noop() {}\n var lib$es6$promise$$internal$$PENDING = void 0;\n var lib$es6$promise$$internal$$FULFILLED = 1;\n var lib$es6$promise$$internal$$REJECTED = 2;\n var lib$es6$promise$$internal$$GET_THEN_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n function lib$es6$promise$$internal$$selfFulfillment() {\n return new TypeError(\"You cannot resolve a promise with itself\");\n }\n function lib$es6$promise$$internal$$cannotReturnOwn() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n function lib$es6$promise$$internal$$getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n lib$es6$promise$$internal$$GET_THEN_ERROR.error = error;\n return lib$es6$promise$$internal$$GET_THEN_ERROR;\n }\n }\n function lib$es6$promise$$internal$$tryThen(then, value, fulfillmentHandler, rejectionHandler) {\n try {\n then.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n }\n function lib$es6$promise$$internal$$handleForeignThenable(promise, thenable, then) {\n lib$es6$promise$asap$$asap(function(promise) {\n var sealed = false;\n var error = lib$es6$promise$$internal$$tryThen(then, thenable, function(value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable !== value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }, function(reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n lib$es6$promise$$internal$$reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n if (!sealed && error) {\n sealed = true;\n lib$es6$promise$$internal$$reject(promise, error);\n }\n }, promise);\n }\n function lib$es6$promise$$internal$$handleOwnThenable(promise, thenable) {\n if (thenable._state === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, thenable._result);\n } else if (thenable._state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, thenable._result);\n } else {\n lib$es6$promise$$internal$$subscribe(thenable, undefined, function(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n }\n }\n function lib$es6$promise$$internal$$handleMaybeThenable(promise, maybeThenable, then) {\n if (maybeThenable.constructor === promise.constructor && then === lib$es6$promise$then$$default && constructor.resolve === lib$es6$promise$promise$resolve$$default) {\n lib$es6$promise$$internal$$handleOwnThenable(promise, maybeThenable);\n } else {\n if (then === lib$es6$promise$$internal$$GET_THEN_ERROR) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$GET_THEN_ERROR.error);\n } else if (then === undefined) {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n } else if (lib$es6$promise$utils$$isFunction(then)) {\n lib$es6$promise$$internal$$handleForeignThenable(promise, maybeThenable, then);\n } else {\n lib$es6$promise$$internal$$fulfill(promise, maybeThenable);\n }\n }\n }\n function lib$es6$promise$$internal$$resolve(promise, value) {\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$selfFulfillment());\n } else if (lib$es6$promise$utils$$objectOrFunction(value)) {\n lib$es6$promise$$internal$$handleMaybeThenable(promise, value, lib$es6$promise$$internal$$getThen(value));\n } else {\n lib$es6$promise$$internal$$fulfill(promise, value);\n }\n }\n function lib$es6$promise$$internal$$publishRejection(promise) {\n if (promise._onerror) {\n promise._onerror(promise._result);\n }\n lib$es6$promise$$internal$$publish(promise);\n }\n function lib$es6$promise$$internal$$fulfill(promise, value) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {\n return;\n }\n promise._result = value;\n promise._state = lib$es6$promise$$internal$$FULFILLED;\n if (promise._subscribers.length !== 0) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, promise);\n }\n }\n function lib$es6$promise$$internal$$reject(promise, reason) {\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {\n return;\n }\n promise._state = lib$es6$promise$$internal$$REJECTED;\n promise._result = reason;\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publishRejection, promise);\n }\n function lib$es6$promise$$internal$$subscribe(parent, child, onFulfillment, onRejection) {\n var subscribers = parent._subscribers;\n var length = subscribers.length;\n parent._onerror = null;\n subscribers[length] = child;\n subscribers[length + lib$es6$promise$$internal$$FULFILLED] = onFulfillment;\n subscribers[length + lib$es6$promise$$internal$$REJECTED] = onRejection;\n if (length === 0 && parent._state) {\n lib$es6$promise$asap$$asap(lib$es6$promise$$internal$$publish, parent);\n }\n }\n function lib$es6$promise$$internal$$publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n if (subscribers.length === 0) {\n return;\n }\n var child,\n callback,\n detail = promise._result;\n for (var i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n if (child) {\n lib$es6$promise$$internal$$invokeCallback(settled, child, callback, detail);\n } else {\n callback(detail);\n }\n }\n promise._subscribers.length = 0;\n }\n function lib$es6$promise$$internal$$ErrorObject() {\n this.error = null;\n }\n var lib$es6$promise$$internal$$TRY_CATCH_ERROR = new lib$es6$promise$$internal$$ErrorObject();\n function lib$es6$promise$$internal$$tryCatch(callback, detail) {\n try {\n return callback(detail);\n } catch (e) {\n lib$es6$promise$$internal$$TRY_CATCH_ERROR.error = e;\n return lib$es6$promise$$internal$$TRY_CATCH_ERROR;\n }\n }\n function lib$es6$promise$$internal$$invokeCallback(settled, promise, callback, detail) {\n var hasCallback = lib$es6$promise$utils$$isFunction(callback),\n value,\n error,\n succeeded,\n failed;\n if (hasCallback) {\n value = lib$es6$promise$$internal$$tryCatch(callback, detail);\n if (value === lib$es6$promise$$internal$$TRY_CATCH_ERROR) {\n failed = true;\n error = value.error;\n value = null;\n } else {\n succeeded = true;\n }\n if (promise === value) {\n lib$es6$promise$$internal$$reject(promise, lib$es6$promise$$internal$$cannotReturnOwn());\n return;\n }\n } else {\n value = detail;\n succeeded = true;\n }\n if (promise._state !== lib$es6$promise$$internal$$PENDING) {} else if (hasCallback && succeeded) {\n lib$es6$promise$$internal$$resolve(promise, value);\n } else if (failed) {\n lib$es6$promise$$internal$$reject(promise, error);\n } else if (settled === lib$es6$promise$$internal$$FULFILLED) {\n lib$es6$promise$$internal$$fulfill(promise, value);\n } else if (settled === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n }\n }\n function lib$es6$promise$$internal$$initializePromise(promise, resolver) {\n try {\n resolver(function resolvePromise(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }, function rejectPromise(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n });\n } catch (e) {\n lib$es6$promise$$internal$$reject(promise, e);\n }\n }\n function lib$es6$promise$promise$all$$all(entries) {\n return new lib$es6$promise$enumerator$$default(this, entries).promise;\n }\n var lib$es6$promise$promise$all$$default = lib$es6$promise$promise$all$$all;\n function lib$es6$promise$promise$race$$race(entries) {\n var Constructor = this;\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n if (!lib$es6$promise$utils$$isArray(entries)) {\n lib$es6$promise$$internal$$reject(promise, new TypeError('You must pass an array to race.'));\n return promise;\n }\n var length = entries.length;\n function onFulfillment(value) {\n lib$es6$promise$$internal$$resolve(promise, value);\n }\n function onRejection(reason) {\n lib$es6$promise$$internal$$reject(promise, reason);\n }\n for (var i = 0; promise._state === lib$es6$promise$$internal$$PENDING && i < length; i++) {\n lib$es6$promise$$internal$$subscribe(Constructor.resolve(entries[i]), undefined, onFulfillment, onRejection);\n }\n return promise;\n }\n var lib$es6$promise$promise$race$$default = lib$es6$promise$promise$race$$race;\n function lib$es6$promise$promise$reject$$reject(reason) {\n var Constructor = this;\n var promise = new Constructor(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$reject(promise, reason);\n return promise;\n }\n var lib$es6$promise$promise$reject$$default = lib$es6$promise$promise$reject$$reject;\n var lib$es6$promise$promise$$counter = 0;\n function lib$es6$promise$promise$$needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n function lib$es6$promise$promise$$needsNew() {\n throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n }\n var lib$es6$promise$promise$$default = lib$es6$promise$promise$$Promise;\n function lib$es6$promise$promise$$Promise(resolver) {\n this._id = lib$es6$promise$promise$$counter++;\n this._state = undefined;\n this._result = undefined;\n this._subscribers = [];\n if (lib$es6$promise$$internal$$noop !== resolver) {\n typeof resolver !== 'function' && lib$es6$promise$promise$$needsResolver();\n this instanceof lib$es6$promise$promise$$Promise ? lib$es6$promise$$internal$$initializePromise(this, resolver) : lib$es6$promise$promise$$needsNew();\n }\n }\n lib$es6$promise$promise$$Promise.all = lib$es6$promise$promise$all$$default;\n lib$es6$promise$promise$$Promise.race = lib$es6$promise$promise$race$$default;\n lib$es6$promise$promise$$Promise.resolve = lib$es6$promise$promise$resolve$$default;\n lib$es6$promise$promise$$Promise.reject = lib$es6$promise$promise$reject$$default;\n lib$es6$promise$promise$$Promise._setScheduler = lib$es6$promise$asap$$setScheduler;\n lib$es6$promise$promise$$Promise._setAsap = lib$es6$promise$asap$$setAsap;\n lib$es6$promise$promise$$Promise._asap = lib$es6$promise$asap$$asap;\n lib$es6$promise$promise$$Promise.prototype = {\n constructor: lib$es6$promise$promise$$Promise,\n then: lib$es6$promise$then$$default,\n 'catch': function(onRejection) {\n return this.then(null, onRejection);\n }\n };\n var lib$es6$promise$enumerator$$default = lib$es6$promise$enumerator$$Enumerator;\n function lib$es6$promise$enumerator$$Enumerator(Constructor, input) {\n this._instanceConstructor = Constructor;\n this.promise = new Constructor(lib$es6$promise$$internal$$noop);\n if (Array.isArray(input)) {\n this._input = input;\n this.length = input.length;\n this._remaining = input.length;\n this._result = new Array(this.length);\n if (this.length === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n } else {\n this.length = this.length || 0;\n this._enumerate();\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(this.promise, this._result);\n }\n }\n } else {\n lib$es6$promise$$internal$$reject(this.promise, this._validationError());\n }\n }\n lib$es6$promise$enumerator$$Enumerator.prototype._validationError = function() {\n return new Error('Array Methods must be provided an Array');\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._enumerate = function() {\n var length = this.length;\n var input = this._input;\n for (var i = 0; this._state === lib$es6$promise$$internal$$PENDING && i < length; i++) {\n this._eachEntry(input[i], i);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._eachEntry = function(entry, i) {\n var c = this._instanceConstructor;\n var resolve = c.resolve;\n if (resolve === lib$es6$promise$promise$resolve$$default) {\n var then = lib$es6$promise$$internal$$getThen(entry);\n if (then === lib$es6$promise$then$$default && entry._state !== lib$es6$promise$$internal$$PENDING) {\n this._settledAt(entry._state, i, entry._result);\n } else if (typeof then !== 'function') {\n this._remaining--;\n this._result[i] = entry;\n } else if (c === lib$es6$promise$promise$$default) {\n var promise = new c(lib$es6$promise$$internal$$noop);\n lib$es6$promise$$internal$$handleMaybeThenable(promise, entry, then);\n this._willSettleAt(promise, i);\n } else {\n this._willSettleAt(new c(function(resolve) {\n resolve(entry);\n }), i);\n }\n } else {\n this._willSettleAt(resolve(entry), i);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._settledAt = function(state, i, value) {\n var promise = this.promise;\n if (promise._state === lib$es6$promise$$internal$$PENDING) {\n this._remaining--;\n if (state === lib$es6$promise$$internal$$REJECTED) {\n lib$es6$promise$$internal$$reject(promise, value);\n } else {\n this._result[i] = value;\n }\n }\n if (this._remaining === 0) {\n lib$es6$promise$$internal$$fulfill(promise, this._result);\n }\n };\n lib$es6$promise$enumerator$$Enumerator.prototype._willSettleAt = function(promise, i) {\n var enumerator = this;\n lib$es6$promise$$internal$$subscribe(promise, undefined, function(value) {\n enumerator._settledAt(lib$es6$promise$$internal$$FULFILLED, i, value);\n }, function(reason) {\n enumerator._settledAt(lib$es6$promise$$internal$$REJECTED, i, reason);\n });\n };\n function lib$es6$promise$polyfill$$polyfill() {\n var local;\n if (typeof global !== 'undefined') {\n local = global;\n } else if (typeof self !== 'undefined') {\n local = self;\n } else {\n try {\n local = Function('return this')();\n } catch (e) {\n throw new Error('polyfill failed because global object is unavailable in this environment');\n }\n }\n var P = local.Promise;\n if (P && Object.prototype.toString.call(P.resolve()) === '[object Promise]' && !P.cast) {\n return;\n }\n local.Promise = lib$es6$promise$promise$$default;\n }\n var lib$es6$promise$polyfill$$default = lib$es6$promise$polyfill$$polyfill;\n var lib$es6$promise$umd$$ES6Promise = {\n 'Promise': lib$es6$promise$promise$$default,\n 'polyfill': lib$es6$promise$polyfill$$default\n };\n if (typeof define === 'function' && define['amd']) {\n define(function() {\n return lib$es6$promise$umd$$ES6Promise;\n });\n } else if (typeof module !== 'undefined' && module['exports']) {\n module['exports'] = lib$es6$promise$umd$$ES6Promise;\n } else if (typeof this !== 'undefined') {\n this['ES6Promise'] = lib$es6$promise$umd$$ES6Promise;\n }\n lib$es6$promise$polyfill$$default();\n }).call(this);\n})(require('process'));\n","module.exports = require(\"npm:es6-promise@3.1.2/dist/es6-promise.js\");","/* */ \n'use strict';\n\n/** @type {Promise} **/\nmodule.exports = typeof Promise === 'function' ? Promise : require('es6-promise').Promise;\n","/* */ \n(function(Buffer) {\n 'use strict';\n var ono = require('ono'),\n debug = require('./util/debug'),\n url = require('./util/url'),\n plugins = require('./util/plugins'),\n Promise = require('./util/promise');\n module.exports = parse;\n function parse(path, $refs, options) {\n try {\n path = url.stripHash(path);\n var $ref = $refs._add(path);\n var file = {\n url: path,\n extension: url.getExtension(path)\n };\n return readFile(file, options).then(function(resolver) {\n $ref.pathType = resolver.plugin.name;\n file.data = resolver.result;\n return parseFile(file, options);\n }).then(function(parser) {\n $ref.value = parser.result;\n return parser.result;\n });\n } catch (e) {\n return Promise.reject(e);\n }\n }\n function readFile(file, options) {\n return new Promise(function(resolve, reject) {\n debug('Reading %s', file.url);\n var resolvers = plugins.all(options.resolve);\n resolvers = plugins.filter(resolvers, 'canRead', file);\n plugins.sort(resolvers);\n plugins.run(resolvers, 'read', file).then(resolve, onError);\n function onError(err) {\n if (err && !(err instanceof SyntaxError)) {\n reject(err);\n } else {\n reject(ono.syntax('Unable to resolve $ref pointer \"%s\"', file.url));\n }\n }\n });\n }\n function parseFile(file, options) {\n return new Promise(function(resolve, reject) {\n debug('Parsing %s', file.url);\n var allParsers = plugins.all(options.parse);\n var filteredParsers = plugins.filter(allParsers, 'canParse', file);\n var parsers = filteredParsers.length > 0 ? filteredParsers : allParsers;\n plugins.sort(parsers);\n plugins.run(parsers, 'parse', file).then(onParsed, onError);\n function onParsed(parser) {\n if (!parser.plugin.allowEmpty && isEmpty(parser.result)) {\n reject(ono.syntax('Error parsing \"%s\" as %s. \\nParsed value is empty', file.url, parser.plugin.name));\n } else {\n resolve(parser);\n }\n }\n function onError(err) {\n if (err) {\n err = err instanceof Error ? err : new Error(err);\n reject(ono.syntax(err, 'Error parsing %s', file.url));\n } else {\n reject(ono.syntax('Unable to parse %s', file.url));\n }\n }\n });\n }\n function isEmpty(value) {\n return value === undefined || (typeof value === 'object' && Object.keys(value).length === 0) || (typeof value === 'string' && value.trim().length === 0) || (Buffer.isBuffer(value) && value.length === 0);\n }\n})(require('buffer').Buffer);\n","/* */ \n'use strict';\nvar Promise = require('./util/promise'),\n $Ref = require('./ref'),\n Pointer = require('./pointer'),\n parse = require('./parse'),\n debug = require('./util/debug'),\n url = require('./util/url');\nmodule.exports = resolveExternal;\nfunction resolveExternal(parser, options) {\n if (!options.resolve.external) {\n return Promise.resolve();\n }\n try {\n debug('Resolving $ref pointers in %s', parser.$refs._root$Ref.path);\n var promises = crawl(parser.schema, parser.$refs._root$Ref.path + '#', parser.$refs, options);\n return Promise.all(promises);\n } catch (e) {\n return Promise.reject(e);\n }\n}\nfunction crawl(obj, path, $refs, options) {\n var promises = [];\n if (obj && typeof obj === 'object') {\n if ($Ref.isExternal$Ref(obj)) {\n promises.push(resolve$Ref(obj, path, $refs, options));\n } else {\n Object.keys(obj).forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var value = obj[key];\n if ($Ref.isExternal$Ref(value)) {\n promises.push(resolve$Ref(value, keyPath, $refs, options));\n } else {\n promises = promises.concat(crawl(value, keyPath, $refs, options));\n }\n });\n }\n }\n return promises;\n}\nfunction resolve$Ref($ref, path, $refs, options) {\n debug('Resolving $ref pointer \"%s\" at %s', $ref.$ref, path);\n var resolvedPath = url.resolve(path, $ref.$ref);\n var withoutHash = url.stripHash(resolvedPath);\n $ref = $refs._$refs[withoutHash];\n if ($ref) {\n return Promise.resolve($ref.value);\n }\n return parse(resolvedPath, $refs, options).then(function(result) {\n debug('Resolving $ref pointers in %s', withoutHash);\n var promises = crawl(result, withoutHash + '#', $refs, options);\n return Promise.all(promises);\n });\n}\n","/* */ \n(function(process) {\n 'use strict';\n var $Ref = require('./ref'),\n Pointer = require('./pointer'),\n debug = require('./util/debug'),\n url = require('./util/url');\n module.exports = bundle;\n function bundle(parser, options) {\n debug('Bundling $ref pointers in %s', parser.$refs._root$Ref.path);\n var inventory = [];\n crawl(parser, 'schema', parser.$refs._root$Ref.path + '#', '#', inventory, parser.$refs, options);\n remap(inventory);\n }\n function crawl(parent, key, path, pathFromRoot, inventory, $refs, options) {\n var obj = key === null ? parent : parent[key];\n if (obj && typeof obj === 'object') {\n if ($Ref.is$Ref(obj)) {\n inventory$Ref(parent, key, path, pathFromRoot, inventory, $refs, options);\n } else {\n var keys = Object.keys(obj);\n var defs = keys.indexOf('definitions');\n if (defs > 0) {\n keys.splice(0, 0, keys.splice(defs, 1)[0]);\n }\n keys.forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var keyPathFromRoot = Pointer.join(pathFromRoot, key);\n var value = obj[key];\n if ($Ref.is$Ref(value)) {\n inventory$Ref(obj, key, path, keyPathFromRoot, inventory, $refs, options);\n } else {\n crawl(obj, key, keyPath, keyPathFromRoot, inventory, $refs, options);\n }\n });\n }\n }\n }\n function inventory$Ref($refParent, $refKey, path, pathFromRoot, inventory, $refs, options) {\n if (inventory.some(function(i) {\n return i.parent === $refParent && i.key === $refKey;\n })) {\n return;\n }\n var $ref = $refKey === null ? $refParent : $refParent[$refKey];\n var $refPath = url.resolve(path, $ref.$ref);\n var pointer = $refs._resolve($refPath, options);\n var depth = Pointer.parse(pathFromRoot).length;\n var file = url.stripHash(pointer.path);\n var hash = url.getHash(pointer.path);\n var external = file !== $refs._root$Ref.path;\n var extended = $Ref.isExtended$Ref($ref);\n inventory.push({\n $ref: $ref,\n parent: $refParent,\n key: $refKey,\n pathFromRoot: pathFromRoot,\n depth: depth,\n file: file,\n hash: hash,\n value: pointer.value,\n circular: pointer.circular,\n extended: extended,\n external: external\n });\n crawl(pointer.value, null, pointer.path, pathFromRoot, inventory, $refs, options);\n }\n function remap(inventory) {\n inventory.sort(function(a, b) {\n if (a.file !== b.file) {\n return a.file < b.file ? -1 : +1;\n } else if (a.hash !== b.hash) {\n return a.hash < b.hash ? -1 : +1;\n } else if (a.circular !== b.circular) {\n return a.circular ? -1 : +1;\n } else if (a.extended !== b.extended) {\n return a.extended ? +1 : -1;\n } else if (a.depth !== b.depth) {\n return a.depth - b.depth;\n } else {\n return b.pathFromRoot.lastIndexOf('/definitions') - a.pathFromRoot.lastIndexOf('/definitions');\n }\n });\n var file,\n hash,\n pathFromRoot;\n inventory.forEach(function(i) {\n debug('Re-mapping $ref pointer \"%s\" at %s', i.$ref.$ref, i.pathFromRoot);\n if (!i.external) {\n i.$ref.$ref = i.hash;\n } else if (i.file === file && i.hash === hash) {\n i.$ref.$ref = pathFromRoot;\n } else if (i.file === file && i.hash.indexOf(hash + '/') === 0) {\n i.$ref.$ref = Pointer.join(pathFromRoot, Pointer.parse(i.hash));\n } else {\n file = i.file;\n hash = i.hash;\n pathFromRoot = i.pathFromRoot;\n i.$ref = i.parent[i.key] = $Ref.dereference(i.$ref, i.value);\n if (i.circular) {\n i.$ref.$ref = i.pathFromRoot;\n }\n }\n debug(' new value: %s', (i.$ref && i.$ref.$ref) ? i.$ref.$ref : '[object Object]');\n });\n }\n})(require('process'));\n","/* */ \n(function(process) {\n \"use strict\";\n var next = (global.process && process.nextTick) || global.setImmediate || function(f) {\n setTimeout(f, 0);\n };\n module.exports = function maybe(cb, promise) {\n if (cb) {\n promise.then(function(result) {\n next(function() {\n cb(null, result);\n });\n }, function(err) {\n next(function() {\n cb(err);\n });\n });\n return undefined;\n } else {\n return promise;\n }\n };\n})(require('process'));\n","module.exports = require(\"npm:call-me-maybe@1.0.1/index.js\");","/* */ \n'use strict';\nvar common = require('./common');\nfunction Mark(name, buffer, position, line, column) {\n this.name = name;\n this.buffer = buffer;\n this.position = position;\n this.line = line;\n this.column = column;\n}\nMark.prototype.getSnippet = function getSnippet(indent, maxLength) {\n var head,\n start,\n tail,\n end,\n snippet;\n if (!this.buffer)\n return null;\n indent = indent || 4;\n maxLength = maxLength || 75;\n head = '';\n start = this.position;\n while (start > 0 && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(start - 1)) === -1) {\n start -= 1;\n if (this.position - start > (maxLength / 2 - 1)) {\n head = ' ... ';\n start += 5;\n break;\n }\n }\n tail = '';\n end = this.position;\n while (end < this.buffer.length && '\\x00\\r\\n\\x85\\u2028\\u2029'.indexOf(this.buffer.charAt(end)) === -1) {\n end += 1;\n if (end - this.position > (maxLength / 2 - 1)) {\n tail = ' ... ';\n end -= 5;\n break;\n }\n }\n snippet = this.buffer.slice(start, end);\n return common.repeat(' ', indent) + head + snippet + tail + '\\n' + common.repeat(' ', indent + this.position - start + head.length) + '^';\n};\nMark.prototype.toString = function toString(compact) {\n var snippet,\n where = '';\n if (this.name) {\n where += 'in \"' + this.name + '\" ';\n }\n where += 'at line ' + (this.line + 1) + ', column ' + (this.column + 1);\n if (!compact) {\n snippet = this.getSnippet();\n if (snippet) {\n where += ':\\n' + snippet;\n }\n }\n return where;\n};\nmodule.exports = Mark;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Mark = require('./mark');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar CONTEXT_FLOW_IN = 1;\nvar CONTEXT_FLOW_OUT = 2;\nvar CONTEXT_BLOCK_IN = 3;\nvar CONTEXT_BLOCK_OUT = 4;\nvar CHOMPING_CLIP = 1;\nvar CHOMPING_STRIP = 2;\nvar CHOMPING_KEEP = 3;\nvar PATTERN_NON_PRINTABLE = /[\\x00-\\x08\\x0B\\x0C\\x0E-\\x1F\\x7F-\\x84\\x86-\\x9F\\uFFFE\\uFFFF]|[\\uD800-\\uDBFF](?![\\uDC00-\\uDFFF])|(?:[^\\uD800-\\uDBFF]|^)[\\uDC00-\\uDFFF]/;\nvar PATTERN_NON_ASCII_LINE_BREAKS = /[\\x85\\u2028\\u2029]/;\nvar PATTERN_FLOW_INDICATORS = /[,\\[\\]\\{\\}]/;\nvar PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\\-]+!)$/i;\nvar PATTERN_TAG_URI = /^(?:!|[^,\\[\\]\\{\\}])(?:%[0-9a-f]{2}|[0-9a-z\\-#;\\/\\?:@&=\\+\\$,_\\.!~\\*'\\(\\)\\[\\]])*$/i;\nfunction is_EOL(c) {\n return (c === 0x0A) || (c === 0x0D);\n}\nfunction is_WHITE_SPACE(c) {\n return (c === 0x09) || (c === 0x20);\n}\nfunction is_WS_OR_EOL(c) {\n return (c === 0x09) || (c === 0x20) || (c === 0x0A) || (c === 0x0D);\n}\nfunction is_FLOW_INDICATOR(c) {\n return c === 0x2C || c === 0x5B || c === 0x5D || c === 0x7B || c === 0x7D;\n}\nfunction fromHexCode(c) {\n var lc;\n if ((0x30 <= c) && (c <= 0x39)) {\n return c - 0x30;\n }\n lc = c | 0x20;\n if ((0x61 <= lc) && (lc <= 0x66)) {\n return lc - 0x61 + 10;\n }\n return -1;\n}\nfunction escapedHexLen(c) {\n if (c === 0x78) {\n return 2;\n }\n if (c === 0x75) {\n return 4;\n }\n if (c === 0x55) {\n return 8;\n }\n return 0;\n}\nfunction fromDecimalCode(c) {\n if ((0x30 <= c) && (c <= 0x39)) {\n return c - 0x30;\n }\n return -1;\n}\nfunction simpleEscapeSequence(c) {\n return (c === 0x30) ? '\\x00' : (c === 0x61) ? '\\x07' : (c === 0x62) ? '\\x08' : (c === 0x74) ? '\\x09' : (c === 0x09) ? '\\x09' : (c === 0x6E) ? '\\x0A' : (c === 0x76) ? '\\x0B' : (c === 0x66) ? '\\x0C' : (c === 0x72) ? '\\x0D' : (c === 0x65) ? '\\x1B' : (c === 0x20) ? ' ' : (c === 0x22) ? '\\x22' : (c === 0x2F) ? '/' : (c === 0x5C) ? '\\x5C' : (c === 0x4E) ? '\\x85' : (c === 0x5F) ? '\\xA0' : (c === 0x4C) ? '\\u2028' : (c === 0x50) ? '\\u2029' : '';\n}\nfunction charFromCodepoint(c) {\n if (c <= 0xFFFF) {\n return String.fromCharCode(c);\n }\n return String.fromCharCode(((c - 0x010000) >> 10) + 0xD800, ((c - 0x010000) & 0x03FF) + 0xDC00);\n}\nvar simpleEscapeCheck = new Array(256);\nvar simpleEscapeMap = new Array(256);\nfor (var i = 0; i < 256; i++) {\n simpleEscapeCheck[i] = simpleEscapeSequence(i) ? 1 : 0;\n simpleEscapeMap[i] = simpleEscapeSequence(i);\n}\nfunction State(input, options) {\n this.input = input;\n this.filename = options['filename'] || null;\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.onWarning = options['onWarning'] || null;\n this.legacy = options['legacy'] || false;\n this.json = options['json'] || false;\n this.listener = options['listener'] || null;\n this.implicitTypes = this.schema.compiledImplicit;\n this.typeMap = this.schema.compiledTypeMap;\n this.length = input.length;\n this.position = 0;\n this.line = 0;\n this.lineStart = 0;\n this.lineIndent = 0;\n this.documents = [];\n}\nfunction generateError(state, message) {\n return new YAMLException(message, new Mark(state.filename, state.input, state.position, state.line, (state.position - state.lineStart)));\n}\nfunction throwError(state, message) {\n throw generateError(state, message);\n}\nfunction throwWarning(state, message) {\n if (state.onWarning) {\n state.onWarning.call(null, generateError(state, message));\n }\n}\nvar directiveHandlers = {\n YAML: function handleYamlDirective(state, name, args) {\n var match,\n major,\n minor;\n if (state.version !== null) {\n throwError(state, 'duplication of %YAML directive');\n }\n if (args.length !== 1) {\n throwError(state, 'YAML directive accepts exactly one argument');\n }\n match = /^([0-9]+)\\.([0-9]+)$/.exec(args[0]);\n if (match === null) {\n throwError(state, 'ill-formed argument of the YAML directive');\n }\n major = parseInt(match[1], 10);\n minor = parseInt(match[2], 10);\n if (major !== 1) {\n throwError(state, 'unacceptable YAML version of the document');\n }\n state.version = args[0];\n state.checkLineBreaks = (minor < 2);\n if (minor !== 1 && minor !== 2) {\n throwWarning(state, 'unsupported YAML version of the document');\n }\n },\n TAG: function handleTagDirective(state, name, args) {\n var handle,\n prefix;\n if (args.length !== 2) {\n throwError(state, 'TAG directive accepts exactly two arguments');\n }\n handle = args[0];\n prefix = args[1];\n if (!PATTERN_TAG_HANDLE.test(handle)) {\n throwError(state, 'ill-formed tag handle (first argument) of the TAG directive');\n }\n if (_hasOwnProperty.call(state.tagMap, handle)) {\n throwError(state, 'there is a previously declared suffix for \"' + handle + '\" tag handle');\n }\n if (!PATTERN_TAG_URI.test(prefix)) {\n throwError(state, 'ill-formed tag prefix (second argument) of the TAG directive');\n }\n state.tagMap[handle] = prefix;\n }\n};\nfunction captureSegment(state, start, end, checkJson) {\n var _position,\n _length,\n _character,\n _result;\n if (start < end) {\n _result = state.input.slice(start, end);\n if (checkJson) {\n for (_position = 0, _length = _result.length; _position < _length; _position += 1) {\n _character = _result.charCodeAt(_position);\n if (!(_character === 0x09 || (0x20 <= _character && _character <= 0x10FFFF))) {\n throwError(state, 'expected valid JSON character');\n }\n }\n } else if (PATTERN_NON_PRINTABLE.test(_result)) {\n throwError(state, 'the stream contains non-printable characters');\n }\n state.result += _result;\n }\n}\nfunction mergeMappings(state, destination, source, overridableKeys) {\n var sourceKeys,\n key,\n index,\n quantity;\n if (!common.isObject(source)) {\n throwError(state, 'cannot merge mappings; the provided source object is unacceptable');\n }\n sourceKeys = Object.keys(source);\n for (index = 0, quantity = sourceKeys.length; index < quantity; index += 1) {\n key = sourceKeys[index];\n if (!_hasOwnProperty.call(destination, key)) {\n destination[key] = source[key];\n overridableKeys[key] = true;\n }\n }\n}\nfunction storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode) {\n var index,\n quantity;\n keyNode = String(keyNode);\n if (_result === null) {\n _result = {};\n }\n if (keyTag === 'tag:yaml.org,2002:merge') {\n if (Array.isArray(valueNode)) {\n for (index = 0, quantity = valueNode.length; index < quantity; index += 1) {\n mergeMappings(state, _result, valueNode[index], overridableKeys);\n }\n } else {\n mergeMappings(state, _result, valueNode, overridableKeys);\n }\n } else {\n if (!state.json && !_hasOwnProperty.call(overridableKeys, keyNode) && _hasOwnProperty.call(_result, keyNode)) {\n throwError(state, 'duplicated mapping key');\n }\n _result[keyNode] = valueNode;\n delete overridableKeys[keyNode];\n }\n return _result;\n}\nfunction readLineBreak(state) {\n var ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x0A) {\n state.position++;\n } else if (ch === 0x0D) {\n state.position++;\n if (state.input.charCodeAt(state.position) === 0x0A) {\n state.position++;\n }\n } else {\n throwError(state, 'a line break is expected');\n }\n state.line += 1;\n state.lineStart = state.position;\n}\nfunction skipSeparationSpace(state, allowComments, checkIndent) {\n var lineBreaks = 0,\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (allowComments && ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0x0A && ch !== 0x0D && ch !== 0);\n }\n if (is_EOL(ch)) {\n readLineBreak(state);\n ch = state.input.charCodeAt(state.position);\n lineBreaks++;\n state.lineIndent = 0;\n while (ch === 0x20) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n } else {\n break;\n }\n }\n if (checkIndent !== -1 && lineBreaks !== 0 && state.lineIndent < checkIndent) {\n throwWarning(state, 'deficient indentation');\n }\n return lineBreaks;\n}\nfunction testDocumentSeparator(state) {\n var _position = state.position,\n ch;\n ch = state.input.charCodeAt(_position);\n if ((ch === 0x2D || ch === 0x2E) && ch === state.input.charCodeAt(_position + 1) && ch === state.input.charCodeAt(_position + 2)) {\n _position += 3;\n ch = state.input.charCodeAt(_position);\n if (ch === 0 || is_WS_OR_EOL(ch)) {\n return true;\n }\n }\n return false;\n}\nfunction writeFoldedLines(state, count) {\n if (count === 1) {\n state.result += ' ';\n } else if (count > 1) {\n state.result += common.repeat('\\n', count - 1);\n }\n}\nfunction readPlainScalar(state, nodeIndent, withinFlowCollection) {\n var preceding,\n following,\n captureStart,\n captureEnd,\n hasPendingContent,\n _line,\n _lineStart,\n _lineIndent,\n _kind = state.kind,\n _result = state.result,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (is_WS_OR_EOL(ch) || is_FLOW_INDICATOR(ch) || ch === 0x23 || ch === 0x26 || ch === 0x2A || ch === 0x21 || ch === 0x7C || ch === 0x3E || ch === 0x27 || ch === 0x22 || ch === 0x25 || ch === 0x40 || ch === 0x60) {\n return false;\n }\n if (ch === 0x3F || ch === 0x2D) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {\n return false;\n }\n }\n state.kind = 'scalar';\n state.result = '';\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n while (ch !== 0) {\n if (ch === 0x3A) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following) || withinFlowCollection && is_FLOW_INDICATOR(following)) {\n break;\n }\n } else if (ch === 0x23) {\n preceding = state.input.charCodeAt(state.position - 1);\n if (is_WS_OR_EOL(preceding)) {\n break;\n }\n } else if ((state.position === state.lineStart && testDocumentSeparator(state)) || withinFlowCollection && is_FLOW_INDICATOR(ch)) {\n break;\n } else if (is_EOL(ch)) {\n _line = state.line;\n _lineStart = state.lineStart;\n _lineIndent = state.lineIndent;\n skipSeparationSpace(state, false, -1);\n if (state.lineIndent >= nodeIndent) {\n hasPendingContent = true;\n ch = state.input.charCodeAt(state.position);\n continue;\n } else {\n state.position = captureEnd;\n state.line = _line;\n state.lineStart = _lineStart;\n state.lineIndent = _lineIndent;\n break;\n }\n }\n if (hasPendingContent) {\n captureSegment(state, captureStart, captureEnd, false);\n writeFoldedLines(state, state.line - _line);\n captureStart = captureEnd = state.position;\n hasPendingContent = false;\n }\n if (!is_WHITE_SPACE(ch)) {\n captureEnd = state.position + 1;\n }\n ch = state.input.charCodeAt(++state.position);\n }\n captureSegment(state, captureStart, captureEnd, false);\n if (state.result) {\n return true;\n }\n state.kind = _kind;\n state.result = _result;\n return false;\n}\nfunction readSingleQuotedScalar(state, nodeIndent) {\n var ch,\n captureStart,\n captureEnd;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x27) {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x27) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x27) {\n captureStart = captureEnd = state.position;\n state.position++;\n } else {\n return true;\n }\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a single quoted scalar');\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n throwError(state, 'unexpected end of the stream within a single quoted scalar');\n}\nfunction readDoubleQuotedScalar(state, nodeIndent) {\n var captureStart,\n captureEnd,\n hexLength,\n hexResult,\n tmp,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x22) {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n state.position++;\n captureStart = captureEnd = state.position;\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n if (ch === 0x22) {\n captureSegment(state, captureStart, state.position, true);\n state.position++;\n return true;\n } else if (ch === 0x5C) {\n captureSegment(state, captureStart, state.position, true);\n ch = state.input.charCodeAt(++state.position);\n if (is_EOL(ch)) {\n skipSeparationSpace(state, false, nodeIndent);\n } else if (ch < 256 && simpleEscapeCheck[ch]) {\n state.result += simpleEscapeMap[ch];\n state.position++;\n } else if ((tmp = escapedHexLen(ch)) > 0) {\n hexLength = tmp;\n hexResult = 0;\n for (; hexLength > 0; hexLength--) {\n ch = state.input.charCodeAt(++state.position);\n if ((tmp = fromHexCode(ch)) >= 0) {\n hexResult = (hexResult << 4) + tmp;\n } else {\n throwError(state, 'expected hexadecimal character');\n }\n }\n state.result += charFromCodepoint(hexResult);\n state.position++;\n } else {\n throwError(state, 'unknown escape sequence');\n }\n captureStart = captureEnd = state.position;\n } else if (is_EOL(ch)) {\n captureSegment(state, captureStart, captureEnd, true);\n writeFoldedLines(state, skipSeparationSpace(state, false, nodeIndent));\n captureStart = captureEnd = state.position;\n } else if (state.position === state.lineStart && testDocumentSeparator(state)) {\n throwError(state, 'unexpected end of the document within a double quoted scalar');\n } else {\n state.position++;\n captureEnd = state.position;\n }\n }\n throwError(state, 'unexpected end of the stream within a double quoted scalar');\n}\nfunction readFlowCollection(state, nodeIndent) {\n var readNext = true,\n _line,\n _tag = state.tag,\n _result,\n _anchor = state.anchor,\n following,\n terminator,\n isPair,\n isExplicitPair,\n isMapping,\n overridableKeys = {},\n keyNode,\n keyTag,\n valueNode,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x5B) {\n terminator = 0x5D;\n isMapping = false;\n _result = [];\n } else if (ch === 0x7B) {\n terminator = 0x7D;\n isMapping = true;\n _result = {};\n } else {\n return false;\n }\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(++state.position);\n while (ch !== 0) {\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if (ch === terminator) {\n state.position++;\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = isMapping ? 'mapping' : 'sequence';\n state.result = _result;\n return true;\n } else if (!readNext) {\n throwError(state, 'missed comma between flow collection entries');\n }\n keyTag = keyNode = valueNode = null;\n isPair = isExplicitPair = false;\n if (ch === 0x3F) {\n following = state.input.charCodeAt(state.position + 1);\n if (is_WS_OR_EOL(following)) {\n isPair = isExplicitPair = true;\n state.position++;\n skipSeparationSpace(state, true, nodeIndent);\n }\n }\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n keyTag = state.tag;\n keyNode = state.result;\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if ((isExplicitPair || state.line === _line) && ch === 0x3A) {\n isPair = true;\n ch = state.input.charCodeAt(++state.position);\n skipSeparationSpace(state, true, nodeIndent);\n composeNode(state, nodeIndent, CONTEXT_FLOW_IN, false, true);\n valueNode = state.result;\n }\n if (isMapping) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n } else if (isPair) {\n _result.push(storeMappingPair(state, null, overridableKeys, keyTag, keyNode, valueNode));\n } else {\n _result.push(keyNode);\n }\n skipSeparationSpace(state, true, nodeIndent);\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x2C) {\n readNext = true;\n ch = state.input.charCodeAt(++state.position);\n } else {\n readNext = false;\n }\n }\n throwError(state, 'unexpected end of the stream within a flow collection');\n}\nfunction readBlockScalar(state, nodeIndent) {\n var captureStart,\n folding,\n chomping = CHOMPING_CLIP,\n didReadContent = false,\n detectedIndent = false,\n textIndent = nodeIndent,\n emptyLines = 0,\n atMoreIndented = false,\n tmp,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch === 0x7C) {\n folding = false;\n } else if (ch === 0x3E) {\n folding = true;\n } else {\n return false;\n }\n state.kind = 'scalar';\n state.result = '';\n while (ch !== 0) {\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x2B || ch === 0x2D) {\n if (CHOMPING_CLIP === chomping) {\n chomping = (ch === 0x2B) ? CHOMPING_KEEP : CHOMPING_STRIP;\n } else {\n throwError(state, 'repeat of a chomping mode identifier');\n }\n } else if ((tmp = fromDecimalCode(ch)) >= 0) {\n if (tmp === 0) {\n throwError(state, 'bad explicit indentation width of a block scalar; it cannot be less than one');\n } else if (!detectedIndent) {\n textIndent = nodeIndent + tmp - 1;\n detectedIndent = true;\n } else {\n throwError(state, 'repeat of an indentation width identifier');\n }\n } else {\n break;\n }\n }\n if (is_WHITE_SPACE(ch)) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (is_WHITE_SPACE(ch));\n if (ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (!is_EOL(ch) && (ch !== 0));\n }\n }\n while (ch !== 0) {\n readLineBreak(state);\n state.lineIndent = 0;\n ch = state.input.charCodeAt(state.position);\n while ((!detectedIndent || state.lineIndent < textIndent) && (ch === 0x20)) {\n state.lineIndent++;\n ch = state.input.charCodeAt(++state.position);\n }\n if (!detectedIndent && state.lineIndent > textIndent) {\n textIndent = state.lineIndent;\n }\n if (is_EOL(ch)) {\n emptyLines++;\n continue;\n }\n if (state.lineIndent < textIndent) {\n if (chomping === CHOMPING_KEEP) {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (chomping === CHOMPING_CLIP) {\n if (didReadContent) {\n state.result += '\\n';\n }\n }\n break;\n }\n if (folding) {\n if (is_WHITE_SPACE(ch)) {\n atMoreIndented = true;\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n } else if (atMoreIndented) {\n atMoreIndented = false;\n state.result += common.repeat('\\n', emptyLines + 1);\n } else if (emptyLines === 0) {\n if (didReadContent) {\n state.result += ' ';\n }\n } else {\n state.result += common.repeat('\\n', emptyLines);\n }\n } else {\n state.result += common.repeat('\\n', didReadContent ? 1 + emptyLines : emptyLines);\n }\n didReadContent = true;\n detectedIndent = true;\n emptyLines = 0;\n captureStart = state.position;\n while (!is_EOL(ch) && (ch !== 0)) {\n ch = state.input.charCodeAt(++state.position);\n }\n captureSegment(state, captureStart, state.position, false);\n }\n return true;\n}\nfunction readBlockSequence(state, nodeIndent) {\n var _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = [],\n following,\n detected = false,\n ch;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n if (ch !== 0x2D) {\n break;\n }\n following = state.input.charCodeAt(state.position + 1);\n if (!is_WS_OR_EOL(following)) {\n break;\n }\n detected = true;\n state.position++;\n if (skipSeparationSpace(state, true, -1)) {\n if (state.lineIndent <= nodeIndent) {\n _result.push(null);\n ch = state.input.charCodeAt(state.position);\n continue;\n }\n }\n _line = state.line;\n composeNode(state, nodeIndent, CONTEXT_BLOCK_IN, false, true);\n _result.push(state.result);\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n if ((state.line === _line || state.lineIndent > nodeIndent) && (ch !== 0)) {\n throwError(state, 'bad indentation of a sequence entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'sequence';\n state.result = _result;\n return true;\n }\n return false;\n}\nfunction readBlockMapping(state, nodeIndent, flowIndent) {\n var following,\n allowCompact,\n _line,\n _tag = state.tag,\n _anchor = state.anchor,\n _result = {},\n overridableKeys = {},\n keyTag = null,\n keyNode = null,\n valueNode = null,\n atExplicitKey = false,\n detected = false,\n ch;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = _result;\n }\n ch = state.input.charCodeAt(state.position);\n while (ch !== 0) {\n following = state.input.charCodeAt(state.position + 1);\n _line = state.line;\n if ((ch === 0x3F || ch === 0x3A) && is_WS_OR_EOL(following)) {\n if (ch === 0x3F) {\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n detected = true;\n atExplicitKey = true;\n allowCompact = true;\n } else if (atExplicitKey) {\n atExplicitKey = false;\n allowCompact = true;\n } else {\n throwError(state, 'incomplete explicit mapping pair; a key node is missed');\n }\n state.position += 1;\n ch = following;\n } else if (composeNode(state, flowIndent, CONTEXT_FLOW_OUT, false, true)) {\n if (state.line === _line) {\n ch = state.input.charCodeAt(state.position);\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (ch === 0x3A) {\n ch = state.input.charCodeAt(++state.position);\n if (!is_WS_OR_EOL(ch)) {\n throwError(state, 'a whitespace character is expected after the key-value separator within a block mapping');\n }\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n keyTag = keyNode = valueNode = null;\n }\n detected = true;\n atExplicitKey = false;\n allowCompact = false;\n keyTag = state.tag;\n keyNode = state.result;\n } else if (detected) {\n throwError(state, 'can not read an implicit mapping pair; a colon is missed');\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true;\n }\n } else if (detected) {\n throwError(state, 'can not read a block mapping entry; a multiline key may not be an implicit key');\n } else {\n state.tag = _tag;\n state.anchor = _anchor;\n return true;\n }\n } else {\n break;\n }\n if (state.line === _line || state.lineIndent > nodeIndent) {\n if (composeNode(state, nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {\n if (atExplicitKey) {\n keyNode = state.result;\n } else {\n valueNode = state.result;\n }\n }\n if (!atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, valueNode);\n keyTag = keyNode = valueNode = null;\n }\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n }\n if (state.lineIndent > nodeIndent && (ch !== 0)) {\n throwError(state, 'bad indentation of a mapping entry');\n } else if (state.lineIndent < nodeIndent) {\n break;\n }\n }\n if (atExplicitKey) {\n storeMappingPair(state, _result, overridableKeys, keyTag, keyNode, null);\n }\n if (detected) {\n state.tag = _tag;\n state.anchor = _anchor;\n state.kind = 'mapping';\n state.result = _result;\n }\n return detected;\n}\nfunction readTagProperty(state) {\n var _position,\n isVerbatim = false,\n isNamed = false,\n tagHandle,\n tagName,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x21)\n return false;\n if (state.tag !== null) {\n throwError(state, 'duplication of a tag property');\n }\n ch = state.input.charCodeAt(++state.position);\n if (ch === 0x3C) {\n isVerbatim = true;\n ch = state.input.charCodeAt(++state.position);\n } else if (ch === 0x21) {\n isNamed = true;\n tagHandle = '!!';\n ch = state.input.charCodeAt(++state.position);\n } else {\n tagHandle = '!';\n }\n _position = state.position;\n if (isVerbatim) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0 && ch !== 0x3E);\n if (state.position < state.length) {\n tagName = state.input.slice(_position, state.position);\n ch = state.input.charCodeAt(++state.position);\n } else {\n throwError(state, 'unexpected end of the stream within a verbatim tag');\n }\n } else {\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n if (ch === 0x21) {\n if (!isNamed) {\n tagHandle = state.input.slice(_position - 1, state.position + 1);\n if (!PATTERN_TAG_HANDLE.test(tagHandle)) {\n throwError(state, 'named tag handle cannot contain such characters');\n }\n isNamed = true;\n _position = state.position + 1;\n } else {\n throwError(state, 'tag suffix cannot contain exclamation marks');\n }\n }\n ch = state.input.charCodeAt(++state.position);\n }\n tagName = state.input.slice(_position, state.position);\n if (PATTERN_FLOW_INDICATORS.test(tagName)) {\n throwError(state, 'tag suffix cannot contain flow indicator characters');\n }\n }\n if (tagName && !PATTERN_TAG_URI.test(tagName)) {\n throwError(state, 'tag name cannot contain such characters: ' + tagName);\n }\n if (isVerbatim) {\n state.tag = tagName;\n } else if (_hasOwnProperty.call(state.tagMap, tagHandle)) {\n state.tag = state.tagMap[tagHandle] + tagName;\n } else if (tagHandle === '!') {\n state.tag = '!' + tagName;\n } else if (tagHandle === '!!') {\n state.tag = 'tag:yaml.org,2002:' + tagName;\n } else {\n throwError(state, 'undeclared tag handle \"' + tagHandle + '\"');\n }\n return true;\n}\nfunction readAnchorProperty(state) {\n var _position,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x26)\n return false;\n if (state.anchor !== null) {\n throwError(state, 'duplication of an anchor property');\n }\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (state.position === _position) {\n throwError(state, 'name of an anchor node must contain at least one character');\n }\n state.anchor = state.input.slice(_position, state.position);\n return true;\n}\nfunction readAlias(state) {\n var _position,\n alias,\n ch;\n ch = state.input.charCodeAt(state.position);\n if (ch !== 0x2A)\n return false;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch) && !is_FLOW_INDICATOR(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (state.position === _position) {\n throwError(state, 'name of an alias node must contain at least one character');\n }\n alias = state.input.slice(_position, state.position);\n if (!state.anchorMap.hasOwnProperty(alias)) {\n throwError(state, 'unidentified alias \"' + alias + '\"');\n }\n state.result = state.anchorMap[alias];\n skipSeparationSpace(state, true, -1);\n return true;\n}\nfunction composeNode(state, parentIndent, nodeContext, allowToSeek, allowCompact) {\n var allowBlockStyles,\n allowBlockScalars,\n allowBlockCollections,\n indentStatus = 1,\n atNewLine = false,\n hasContent = false,\n typeIndex,\n typeQuantity,\n type,\n flowIndent,\n blockIndent;\n if (state.listener !== null) {\n state.listener('open', state);\n }\n state.tag = null;\n state.anchor = null;\n state.kind = null;\n state.result = null;\n allowBlockStyles = allowBlockScalars = allowBlockCollections = CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext;\n if (allowToSeek) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n }\n }\n if (indentStatus === 1) {\n while (readTagProperty(state) || readAnchorProperty(state)) {\n if (skipSeparationSpace(state, true, -1)) {\n atNewLine = true;\n allowBlockCollections = allowBlockStyles;\n if (state.lineIndent > parentIndent) {\n indentStatus = 1;\n } else if (state.lineIndent === parentIndent) {\n indentStatus = 0;\n } else if (state.lineIndent < parentIndent) {\n indentStatus = -1;\n }\n } else {\n allowBlockCollections = false;\n }\n }\n }\n if (allowBlockCollections) {\n allowBlockCollections = atNewLine || allowCompact;\n }\n if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {\n if (CONTEXT_FLOW_IN === nodeContext || CONTEXT_FLOW_OUT === nodeContext) {\n flowIndent = parentIndent;\n } else {\n flowIndent = parentIndent + 1;\n }\n blockIndent = state.position - state.lineStart;\n if (indentStatus === 1) {\n if (allowBlockCollections && (readBlockSequence(state, blockIndent) || readBlockMapping(state, blockIndent, flowIndent)) || readFlowCollection(state, flowIndent)) {\n hasContent = true;\n } else {\n if ((allowBlockScalars && readBlockScalar(state, flowIndent)) || readSingleQuotedScalar(state, flowIndent) || readDoubleQuotedScalar(state, flowIndent)) {\n hasContent = true;\n } else if (readAlias(state)) {\n hasContent = true;\n if (state.tag !== null || state.anchor !== null) {\n throwError(state, 'alias node should not have any properties');\n }\n } else if (readPlainScalar(state, flowIndent, CONTEXT_FLOW_IN === nodeContext)) {\n hasContent = true;\n if (state.tag === null) {\n state.tag = '?';\n }\n }\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else if (indentStatus === 0) {\n hasContent = allowBlockCollections && readBlockSequence(state, blockIndent);\n }\n }\n if (state.tag !== null && state.tag !== '!') {\n if (state.tag === '?') {\n for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {\n type = state.implicitTypes[typeIndex];\n if (type.resolve(state.result)) {\n state.result = type.construct(state.result);\n state.tag = type.tag;\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n break;\n }\n }\n } else if (_hasOwnProperty.call(state.typeMap, state.tag)) {\n type = state.typeMap[state.tag];\n if (state.result !== null && type.kind !== state.kind) {\n throwError(state, 'unacceptable node kind for !<' + state.tag + '> tag; it should be \"' + type.kind + '\", not \"' + state.kind + '\"');\n }\n if (!type.resolve(state.result)) {\n throwError(state, 'cannot resolve a node with !<' + state.tag + '> explicit tag');\n } else {\n state.result = type.construct(state.result);\n if (state.anchor !== null) {\n state.anchorMap[state.anchor] = state.result;\n }\n }\n } else {\n throwError(state, 'unknown tag !<' + state.tag + '>');\n }\n }\n if (state.listener !== null) {\n state.listener('close', state);\n }\n return state.tag !== null || state.anchor !== null || hasContent;\n}\nfunction readDocument(state) {\n var documentStart = state.position,\n _position,\n directiveName,\n directiveArgs,\n hasDirectives = false,\n ch;\n state.version = null;\n state.checkLineBreaks = state.legacy;\n state.tagMap = {};\n state.anchorMap = {};\n while ((ch = state.input.charCodeAt(state.position)) !== 0) {\n skipSeparationSpace(state, true, -1);\n ch = state.input.charCodeAt(state.position);\n if (state.lineIndent > 0 || ch !== 0x25) {\n break;\n }\n hasDirectives = true;\n ch = state.input.charCodeAt(++state.position);\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n directiveName = state.input.slice(_position, state.position);\n directiveArgs = [];\n if (directiveName.length < 1) {\n throwError(state, 'directive name must not be less than one character in length');\n }\n while (ch !== 0) {\n while (is_WHITE_SPACE(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n if (ch === 0x23) {\n do {\n ch = state.input.charCodeAt(++state.position);\n } while (ch !== 0 && !is_EOL(ch));\n break;\n }\n if (is_EOL(ch))\n break;\n _position = state.position;\n while (ch !== 0 && !is_WS_OR_EOL(ch)) {\n ch = state.input.charCodeAt(++state.position);\n }\n directiveArgs.push(state.input.slice(_position, state.position));\n }\n if (ch !== 0)\n readLineBreak(state);\n if (_hasOwnProperty.call(directiveHandlers, directiveName)) {\n directiveHandlers[directiveName](state, directiveName, directiveArgs);\n } else {\n throwWarning(state, 'unknown document directive \"' + directiveName + '\"');\n }\n }\n skipSeparationSpace(state, true, -1);\n if (state.lineIndent === 0 && state.input.charCodeAt(state.position) === 0x2D && state.input.charCodeAt(state.position + 1) === 0x2D && state.input.charCodeAt(state.position + 2) === 0x2D) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n } else if (hasDirectives) {\n throwError(state, 'directives end mark is expected');\n }\n composeNode(state, state.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);\n skipSeparationSpace(state, true, -1);\n if (state.checkLineBreaks && PATTERN_NON_ASCII_LINE_BREAKS.test(state.input.slice(documentStart, state.position))) {\n throwWarning(state, 'non-ASCII line breaks are interpreted as content');\n }\n state.documents.push(state.result);\n if (state.position === state.lineStart && testDocumentSeparator(state)) {\n if (state.input.charCodeAt(state.position) === 0x2E) {\n state.position += 3;\n skipSeparationSpace(state, true, -1);\n }\n return;\n }\n if (state.position < (state.length - 1)) {\n throwError(state, 'end of the stream or a document separator is expected');\n } else {\n return;\n }\n}\nfunction loadDocuments(input, options) {\n input = String(input);\n options = options || {};\n if (input.length !== 0) {\n if (input.charCodeAt(input.length - 1) !== 0x0A && input.charCodeAt(input.length - 1) !== 0x0D) {\n input += '\\n';\n }\n if (input.charCodeAt(0) === 0xFEFF) {\n input = input.slice(1);\n }\n }\n var state = new State(input, options);\n state.input += '\\0';\n while (state.input.charCodeAt(state.position) === 0x20) {\n state.lineIndent += 1;\n state.position += 1;\n }\n while (state.position < (state.length - 1)) {\n readDocument(state);\n }\n return state.documents;\n}\nfunction loadAll(input, iterator, options) {\n var documents = loadDocuments(input, options),\n index,\n length;\n for (index = 0, length = documents.length; index < length; index += 1) {\n iterator(documents[index]);\n }\n}\nfunction load(input, options) {\n var documents = loadDocuments(input, options);\n if (documents.length === 0) {\n return undefined;\n } else if (documents.length === 1) {\n return documents[0];\n }\n throw new YAMLException('expected a single document in the stream, but found more');\n}\nfunction safeLoadAll(input, output, options) {\n loadAll(input, output, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nfunction safeLoad(input, options) {\n return load(input, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nmodule.exports.loadAll = loadAll;\nmodule.exports.load = load;\nmodule.exports.safeLoadAll = safeLoadAll;\nmodule.exports.safeLoad = safeLoad;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar DEFAULT_FULL_SCHEMA = require('./schema/default_full');\nvar DEFAULT_SAFE_SCHEMA = require('./schema/default_safe');\nvar _toString = Object.prototype.toString;\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar CHAR_TAB = 0x09;\nvar CHAR_LINE_FEED = 0x0A;\nvar CHAR_SPACE = 0x20;\nvar CHAR_EXCLAMATION = 0x21;\nvar CHAR_DOUBLE_QUOTE = 0x22;\nvar CHAR_SHARP = 0x23;\nvar CHAR_PERCENT = 0x25;\nvar CHAR_AMPERSAND = 0x26;\nvar CHAR_SINGLE_QUOTE = 0x27;\nvar CHAR_ASTERISK = 0x2A;\nvar CHAR_COMMA = 0x2C;\nvar CHAR_MINUS = 0x2D;\nvar CHAR_COLON = 0x3A;\nvar CHAR_GREATER_THAN = 0x3E;\nvar CHAR_QUESTION = 0x3F;\nvar CHAR_COMMERCIAL_AT = 0x40;\nvar CHAR_LEFT_SQUARE_BRACKET = 0x5B;\nvar CHAR_RIGHT_SQUARE_BRACKET = 0x5D;\nvar CHAR_GRAVE_ACCENT = 0x60;\nvar CHAR_LEFT_CURLY_BRACKET = 0x7B;\nvar CHAR_VERTICAL_LINE = 0x7C;\nvar CHAR_RIGHT_CURLY_BRACKET = 0x7D;\nvar ESCAPE_SEQUENCES = {};\nESCAPE_SEQUENCES[0x00] = '\\\\0';\nESCAPE_SEQUENCES[0x07] = '\\\\a';\nESCAPE_SEQUENCES[0x08] = '\\\\b';\nESCAPE_SEQUENCES[0x09] = '\\\\t';\nESCAPE_SEQUENCES[0x0A] = '\\\\n';\nESCAPE_SEQUENCES[0x0B] = '\\\\v';\nESCAPE_SEQUENCES[0x0C] = '\\\\f';\nESCAPE_SEQUENCES[0x0D] = '\\\\r';\nESCAPE_SEQUENCES[0x1B] = '\\\\e';\nESCAPE_SEQUENCES[0x22] = '\\\\\"';\nESCAPE_SEQUENCES[0x5C] = '\\\\\\\\';\nESCAPE_SEQUENCES[0x85] = '\\\\N';\nESCAPE_SEQUENCES[0xA0] = '\\\\_';\nESCAPE_SEQUENCES[0x2028] = '\\\\L';\nESCAPE_SEQUENCES[0x2029] = '\\\\P';\nvar DEPRECATED_BOOLEANS_SYNTAX = ['y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON', 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF'];\nfunction compileStyleMap(schema, map) {\n var result,\n keys,\n index,\n length,\n tag,\n style,\n type;\n if (map === null)\n return {};\n result = {};\n keys = Object.keys(map);\n for (index = 0, length = keys.length; index < length; index += 1) {\n tag = keys[index];\n style = String(map[tag]);\n if (tag.slice(0, 2) === '!!') {\n tag = 'tag:yaml.org,2002:' + tag.slice(2);\n }\n type = schema.compiledTypeMap[tag];\n if (type && _hasOwnProperty.call(type.styleAliases, style)) {\n style = type.styleAliases[style];\n }\n result[tag] = style;\n }\n return result;\n}\nfunction encodeHex(character) {\n var string,\n handle,\n length;\n string = character.toString(16).toUpperCase();\n if (character <= 0xFF) {\n handle = 'x';\n length = 2;\n } else if (character <= 0xFFFF) {\n handle = 'u';\n length = 4;\n } else if (character <= 0xFFFFFFFF) {\n handle = 'U';\n length = 8;\n } else {\n throw new YAMLException('code point within a string may not be greater than 0xFFFFFFFF');\n }\n return '\\\\' + handle + common.repeat('0', length - string.length) + string;\n}\nfunction State(options) {\n this.schema = options['schema'] || DEFAULT_FULL_SCHEMA;\n this.indent = Math.max(1, (options['indent'] || 2));\n this.skipInvalid = options['skipInvalid'] || false;\n this.flowLevel = (common.isNothing(options['flowLevel']) ? -1 : options['flowLevel']);\n this.styleMap = compileStyleMap(this.schema, options['styles'] || null);\n this.sortKeys = options['sortKeys'] || false;\n this.lineWidth = options['lineWidth'] || 80;\n this.noRefs = options['noRefs'] || false;\n this.noCompatMode = options['noCompatMode'] || false;\n this.implicitTypes = this.schema.compiledImplicit;\n this.explicitTypes = this.schema.compiledExplicit;\n this.tag = null;\n this.result = '';\n this.duplicates = [];\n this.usedDuplicates = null;\n}\nfunction indentString(string, spaces) {\n var ind = common.repeat(' ', spaces),\n position = 0,\n next = -1,\n result = '',\n line,\n length = string.length;\n while (position < length) {\n next = string.indexOf('\\n', position);\n if (next === -1) {\n line = string.slice(position);\n position = length;\n } else {\n line = string.slice(position, next + 1);\n position = next + 1;\n }\n if (line.length && line !== '\\n')\n result += ind;\n result += line;\n }\n return result;\n}\nfunction generateNextLine(state, level) {\n return '\\n' + common.repeat(' ', state.indent * level);\n}\nfunction testImplicitResolving(state, str) {\n var index,\n length,\n type;\n for (index = 0, length = state.implicitTypes.length; index < length; index += 1) {\n type = state.implicitTypes[index];\n if (type.resolve(str)) {\n return true;\n }\n }\n return false;\n}\nfunction isWhitespace(c) {\n return c === CHAR_SPACE || c === CHAR_TAB;\n}\nfunction isPrintable(c) {\n return (0x00020 <= c && c <= 0x00007E) || ((0x000A1 <= c && c <= 0x00D7FF) && c !== 0x2028 && c !== 0x2029) || ((0x0E000 <= c && c <= 0x00FFFD) && c !== 0xFEFF) || (0x10000 <= c && c <= 0x10FFFF);\n}\nfunction isPlainSafe(c) {\n return isPrintable(c) && c !== 0xFEFF && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_COLON && c !== CHAR_SHARP;\n}\nfunction isPlainSafeFirst(c) {\n return isPrintable(c) && c !== 0xFEFF && !isWhitespace(c) && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE && c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;\n}\nvar STYLE_PLAIN = 1,\n STYLE_SINGLE = 2,\n STYLE_LITERAL = 3,\n STYLE_FOLDED = 4,\n STYLE_DOUBLE = 5;\nfunction chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {\n var i;\n var char;\n var hasLineBreak = false;\n var hasFoldableLine = false;\n var shouldTrackWidth = lineWidth !== -1;\n var previousLineBreak = -1;\n var plain = isPlainSafeFirst(string.charCodeAt(0)) && !isWhitespace(string.charCodeAt(string.length - 1));\n if (singleLineOnly) {\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char);\n }\n } else {\n for (i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n if (char === CHAR_LINE_FEED) {\n hasLineBreak = true;\n if (shouldTrackWidth) {\n hasFoldableLine = hasFoldableLine || (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== ' ');\n previousLineBreak = i;\n }\n } else if (!isPrintable(char)) {\n return STYLE_DOUBLE;\n }\n plain = plain && isPlainSafe(char);\n }\n hasFoldableLine = hasFoldableLine || (shouldTrackWidth && (i - previousLineBreak - 1 > lineWidth && string[previousLineBreak + 1] !== ' '));\n }\n if (!hasLineBreak && !hasFoldableLine) {\n return plain && !testAmbiguousType(string) ? STYLE_PLAIN : STYLE_SINGLE;\n }\n if (string[0] === ' ' && indentPerLevel > 9) {\n return STYLE_DOUBLE;\n }\n return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;\n}\nfunction writeScalar(state, string, level, iskey) {\n state.dump = (function() {\n if (string.length === 0) {\n return \"''\";\n }\n if (!state.noCompatMode && DEPRECATED_BOOLEANS_SYNTAX.indexOf(string) !== -1) {\n return \"'\" + string + \"'\";\n }\n var indent = state.indent * Math.max(1, level);\n var lineWidth = state.lineWidth === -1 ? -1 : Math.max(Math.min(state.lineWidth, 40), state.lineWidth - indent);\n var singleLineOnly = iskey || (state.flowLevel > -1 && level >= state.flowLevel);\n function testAmbiguity(string) {\n return testImplicitResolving(state, string);\n }\n switch (chooseScalarStyle(string, singleLineOnly, state.indent, lineWidth, testAmbiguity)) {\n case STYLE_PLAIN:\n return string;\n case STYLE_SINGLE:\n return \"'\" + string.replace(/'/g, \"''\") + \"'\";\n case STYLE_LITERAL:\n return '|' + blockHeader(string, state.indent) + dropEndingNewline(indentString(string, indent));\n case STYLE_FOLDED:\n return '>' + blockHeader(string, state.indent) + dropEndingNewline(indentString(foldString(string, lineWidth), indent));\n case STYLE_DOUBLE:\n return '\"' + escapeString(string, lineWidth) + '\"';\n default:\n throw new YAMLException('impossible error: invalid scalar style');\n }\n }());\n}\nfunction blockHeader(string, indentPerLevel) {\n var indentIndicator = (string[0] === ' ') ? String(indentPerLevel) : '';\n var clip = string[string.length - 1] === '\\n';\n var keep = clip && (string[string.length - 2] === '\\n' || string === '\\n');\n var chomp = keep ? '+' : (clip ? '' : '-');\n return indentIndicator + chomp + '\\n';\n}\nfunction dropEndingNewline(string) {\n return string[string.length - 1] === '\\n' ? string.slice(0, -1) : string;\n}\nfunction foldString(string, width) {\n var lineRe = /(\\n+)([^\\n]*)/g;\n var result = (function() {\n var nextLF = string.indexOf('\\n');\n nextLF = nextLF !== -1 ? nextLF : string.length;\n lineRe.lastIndex = nextLF;\n return foldLine(string.slice(0, nextLF), width);\n }());\n var prevMoreIndented = string[0] === '\\n' || string[0] === ' ';\n var moreIndented;\n var match;\n while ((match = lineRe.exec(string))) {\n var prefix = match[1],\n line = match[2];\n moreIndented = (line[0] === ' ');\n result += prefix + (!prevMoreIndented && !moreIndented && line !== '' ? '\\n' : '') + foldLine(line, width);\n prevMoreIndented = moreIndented;\n }\n return result;\n}\nfunction foldLine(line, width) {\n if (line === '' || line[0] === ' ')\n return line;\n var breakRe = / [^ ]/g;\n var match;\n var start = 0,\n end,\n curr = 0,\n next = 0;\n var result = '';\n while ((match = breakRe.exec(line))) {\n next = match.index;\n if (next - start > width) {\n end = (curr > start) ? curr : next;\n result += '\\n' + line.slice(start, end);\n start = end + 1;\n }\n curr = next;\n }\n result += '\\n';\n if (line.length - start > width && curr > start) {\n result += line.slice(start, curr) + '\\n' + line.slice(curr + 1);\n } else {\n result += line.slice(start);\n }\n return result.slice(1);\n}\nfunction escapeString(string) {\n var result = '';\n var char;\n var escapeSeq;\n for (var i = 0; i < string.length; i++) {\n char = string.charCodeAt(i);\n escapeSeq = ESCAPE_SEQUENCES[char];\n result += !escapeSeq && isPrintable(char) ? string[i] : escapeSeq || encodeHex(char);\n }\n return result;\n}\nfunction writeFlowSequence(state, level, object) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n for (index = 0, length = object.length; index < length; index += 1) {\n if (writeNode(state, level, object[index], false, false)) {\n if (index !== 0)\n _result += ', ';\n _result += state.dump;\n }\n }\n state.tag = _tag;\n state.dump = '[' + _result + ']';\n}\nfunction writeBlockSequence(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n index,\n length;\n for (index = 0, length = object.length; index < length; index += 1) {\n if (writeNode(state, level + 1, object[index], true, true)) {\n if (!compact || index !== 0) {\n _result += generateNextLine(state, level);\n }\n _result += '- ' + state.dump;\n }\n }\n state.tag = _tag;\n state.dump = _result || '[]';\n}\nfunction writeFlowMapping(state, level, object) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n pairBuffer;\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n if (index !== 0)\n pairBuffer += ', ';\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n if (!writeNode(state, level, objectKey, false, false)) {\n continue;\n }\n if (state.dump.length > 1024)\n pairBuffer += '? ';\n pairBuffer += state.dump + ': ';\n if (!writeNode(state, level, objectValue, false, false)) {\n continue;\n }\n pairBuffer += state.dump;\n _result += pairBuffer;\n }\n state.tag = _tag;\n state.dump = '{' + _result + '}';\n}\nfunction writeBlockMapping(state, level, object, compact) {\n var _result = '',\n _tag = state.tag,\n objectKeyList = Object.keys(object),\n index,\n length,\n objectKey,\n objectValue,\n explicitPair,\n pairBuffer;\n if (state.sortKeys === true) {\n objectKeyList.sort();\n } else if (typeof state.sortKeys === 'function') {\n objectKeyList.sort(state.sortKeys);\n } else if (state.sortKeys) {\n throw new YAMLException('sortKeys must be a boolean or a function');\n }\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n pairBuffer = '';\n if (!compact || index !== 0) {\n pairBuffer += generateNextLine(state, level);\n }\n objectKey = objectKeyList[index];\n objectValue = object[objectKey];\n if (!writeNode(state, level + 1, objectKey, true, true, true)) {\n continue;\n }\n explicitPair = (state.tag !== null && state.tag !== '?') || (state.dump && state.dump.length > 1024);\n if (explicitPair) {\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += '?';\n } else {\n pairBuffer += '? ';\n }\n }\n pairBuffer += state.dump;\n if (explicitPair) {\n pairBuffer += generateNextLine(state, level);\n }\n if (!writeNode(state, level + 1, objectValue, true, explicitPair)) {\n continue;\n }\n if (state.dump && CHAR_LINE_FEED === state.dump.charCodeAt(0)) {\n pairBuffer += ':';\n } else {\n pairBuffer += ': ';\n }\n pairBuffer += state.dump;\n _result += pairBuffer;\n }\n state.tag = _tag;\n state.dump = _result || '{}';\n}\nfunction detectType(state, object, explicit) {\n var _result,\n typeList,\n index,\n length,\n type,\n style;\n typeList = explicit ? state.explicitTypes : state.implicitTypes;\n for (index = 0, length = typeList.length; index < length; index += 1) {\n type = typeList[index];\n if ((type.instanceOf || type.predicate) && (!type.instanceOf || ((typeof object === 'object') && (object instanceof type.instanceOf))) && (!type.predicate || type.predicate(object))) {\n state.tag = explicit ? type.tag : '?';\n if (type.represent) {\n style = state.styleMap[type.tag] || type.defaultStyle;\n if (_toString.call(type.represent) === '[object Function]') {\n _result = type.represent(object, style);\n } else if (_hasOwnProperty.call(type.represent, style)) {\n _result = type.represent[style](object, style);\n } else {\n throw new YAMLException('!<' + type.tag + '> tag resolver accepts not \"' + style + '\" style');\n }\n state.dump = _result;\n }\n return true;\n }\n }\n return false;\n}\nfunction writeNode(state, level, object, block, compact, iskey) {\n state.tag = null;\n state.dump = object;\n if (!detectType(state, object, false)) {\n detectType(state, object, true);\n }\n var type = _toString.call(state.dump);\n if (block) {\n block = (state.flowLevel < 0 || state.flowLevel > level);\n }\n var objectOrArray = type === '[object Object]' || type === '[object Array]',\n duplicateIndex,\n duplicate;\n if (objectOrArray) {\n duplicateIndex = state.duplicates.indexOf(object);\n duplicate = duplicateIndex !== -1;\n }\n if ((state.tag !== null && state.tag !== '?') || duplicate || (state.indent !== 2 && level > 0)) {\n compact = false;\n }\n if (duplicate && state.usedDuplicates[duplicateIndex]) {\n state.dump = '*ref_' + duplicateIndex;\n } else {\n if (objectOrArray && duplicate && !state.usedDuplicates[duplicateIndex]) {\n state.usedDuplicates[duplicateIndex] = true;\n }\n if (type === '[object Object]') {\n if (block && (Object.keys(state.dump).length !== 0)) {\n writeBlockMapping(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowMapping(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object Array]') {\n if (block && (state.dump.length !== 0)) {\n writeBlockSequence(state, level, state.dump, compact);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + state.dump;\n }\n } else {\n writeFlowSequence(state, level, state.dump);\n if (duplicate) {\n state.dump = '&ref_' + duplicateIndex + ' ' + state.dump;\n }\n }\n } else if (type === '[object String]') {\n if (state.tag !== '?') {\n writeScalar(state, state.dump, level, iskey);\n }\n } else {\n if (state.skipInvalid)\n return false;\n throw new YAMLException('unacceptable kind of an object to dump ' + type);\n }\n if (state.tag !== null && state.tag !== '?') {\n state.dump = '!<' + state.tag + '> ' + state.dump;\n }\n }\n return true;\n}\nfunction getDuplicateReferences(object, state) {\n var objects = [],\n duplicatesIndexes = [],\n index,\n length;\n inspectNode(object, objects, duplicatesIndexes);\n for (index = 0, length = duplicatesIndexes.length; index < length; index += 1) {\n state.duplicates.push(objects[duplicatesIndexes[index]]);\n }\n state.usedDuplicates = new Array(length);\n}\nfunction inspectNode(object, objects, duplicatesIndexes) {\n var objectKeyList,\n index,\n length;\n if (object !== null && typeof object === 'object') {\n index = objects.indexOf(object);\n if (index !== -1) {\n if (duplicatesIndexes.indexOf(index) === -1) {\n duplicatesIndexes.push(index);\n }\n } else {\n objects.push(object);\n if (Array.isArray(object)) {\n for (index = 0, length = object.length; index < length; index += 1) {\n inspectNode(object[index], objects, duplicatesIndexes);\n }\n } else {\n objectKeyList = Object.keys(object);\n for (index = 0, length = objectKeyList.length; index < length; index += 1) {\n inspectNode(object[objectKeyList[index]], objects, duplicatesIndexes);\n }\n }\n }\n }\n}\nfunction dump(input, options) {\n options = options || {};\n var state = new State(options);\n if (!state.noRefs)\n getDuplicateReferences(input, state);\n if (writeNode(state, 0, input, true, true))\n return state.dump + '\\n';\n return '';\n}\nfunction safeDump(input, options) {\n return dump(input, common.extend({schema: DEFAULT_SAFE_SCHEMA}, options));\n}\nmodule.exports.dump = dump;\nmodule.exports.safeDump = safeDump;\n","/* */ \n'use strict';\nvar common = require('./common');\nvar YAMLException = require('./exception');\nvar Type = require('./type');\nfunction compileList(schema, name, result) {\n var exclude = [];\n schema.include.forEach(function(includedSchema) {\n result = compileList(includedSchema, name, result);\n });\n schema[name].forEach(function(currentType) {\n result.forEach(function(previousType, previousIndex) {\n if (previousType.tag === currentType.tag) {\n exclude.push(previousIndex);\n }\n });\n result.push(currentType);\n });\n return result.filter(function(type, index) {\n return exclude.indexOf(index) === -1;\n });\n}\nfunction compileMap() {\n var result = {},\n index,\n length;\n function collectType(type) {\n result[type.tag] = type;\n }\n for (index = 0, length = arguments.length; index < length; index += 1) {\n arguments[index].forEach(collectType);\n }\n return result;\n}\nfunction Schema(definition) {\n this.include = definition.include || [];\n this.implicit = definition.implicit || [];\n this.explicit = definition.explicit || [];\n this.implicit.forEach(function(type) {\n if (type.loadKind && type.loadKind !== 'scalar') {\n throw new YAMLException('There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.');\n }\n });\n this.compiledImplicit = compileList(this, 'implicit', []);\n this.compiledExplicit = compileList(this, 'explicit', []);\n this.compiledTypeMap = compileMap(this.compiledImplicit, this.compiledExplicit);\n}\nSchema.DEFAULT = null;\nSchema.create = function createSchema() {\n var schemas,\n types;\n switch (arguments.length) {\n case 1:\n schemas = Schema.DEFAULT;\n types = arguments[0];\n break;\n case 2:\n schemas = arguments[0];\n types = arguments[1];\n break;\n default:\n throw new YAMLException('Wrong number of arguments for Schema.create function');\n }\n schemas = common.toArray(schemas);\n types = common.toArray(types);\n if (!schemas.every(function(schema) {\n return schema instanceof Schema;\n })) {\n throw new YAMLException('Specified list of super schemas (or a single Schema object) contains a non-Schema object.');\n }\n if (!types.every(function(type) {\n return type instanceof Type;\n })) {\n throw new YAMLException('Specified list of YAML types (or a single Type object) contains a non-Type object.');\n }\n return new Schema({\n include: schemas,\n explicit: types\n });\n};\nmodule.exports = Schema;\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:str', {\n kind: 'scalar',\n construct: function(data) {\n return data !== null ? data : '';\n }\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:seq', {\n kind: 'sequence',\n construct: function(data) {\n return data !== null ? data : [];\n }\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nmodule.exports = new Type('tag:yaml.org,2002:map', {\n kind: 'mapping',\n construct: function(data) {\n return data !== null ? data : {};\n }\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({explicit: [require('../type/str'), require('../type/seq'), require('../type/map')]});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlNull(data) {\n if (data === null)\n return true;\n var max = data.length;\n return (max === 1 && data === '~') || (max === 4 && (data === 'null' || data === 'Null' || data === 'NULL'));\n}\nfunction constructYamlNull() {\n return null;\n}\nfunction isNull(object) {\n return object === null;\n}\nmodule.exports = new Type('tag:yaml.org,2002:null', {\n kind: 'scalar',\n resolve: resolveYamlNull,\n construct: constructYamlNull,\n predicate: isNull,\n represent: {\n canonical: function() {\n return '~';\n },\n lowercase: function() {\n return 'null';\n },\n uppercase: function() {\n return 'NULL';\n },\n camelcase: function() {\n return 'Null';\n }\n },\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlBoolean(data) {\n if (data === null)\n return false;\n var max = data.length;\n return (max === 4 && (data === 'true' || data === 'True' || data === 'TRUE')) || (max === 5 && (data === 'false' || data === 'False' || data === 'FALSE'));\n}\nfunction constructYamlBoolean(data) {\n return data === 'true' || data === 'True' || data === 'TRUE';\n}\nfunction isBoolean(object) {\n return Object.prototype.toString.call(object) === '[object Boolean]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:bool', {\n kind: 'scalar',\n resolve: resolveYamlBoolean,\n construct: constructYamlBoolean,\n predicate: isBoolean,\n represent: {\n lowercase: function(object) {\n return object ? 'true' : 'false';\n },\n uppercase: function(object) {\n return object ? 'TRUE' : 'FALSE';\n },\n camelcase: function(object) {\n return object ? 'True' : 'False';\n }\n },\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar common = require('../common');\nvar Type = require('../type');\nfunction isHexCode(c) {\n return ((0x30 <= c) && (c <= 0x39)) || ((0x41 <= c) && (c <= 0x46)) || ((0x61 <= c) && (c <= 0x66));\n}\nfunction isOctCode(c) {\n return ((0x30 <= c) && (c <= 0x37));\n}\nfunction isDecCode(c) {\n return ((0x30 <= c) && (c <= 0x39));\n}\nfunction resolveYamlInteger(data) {\n if (data === null)\n return false;\n var max = data.length,\n index = 0,\n hasDigits = false,\n ch;\n if (!max)\n return false;\n ch = data[index];\n if (ch === '-' || ch === '+') {\n ch = data[++index];\n }\n if (ch === '0') {\n if (index + 1 === max)\n return true;\n ch = data[++index];\n if (ch === 'b') {\n index++;\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (ch !== '0' && ch !== '1')\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n if (ch === 'x') {\n index++;\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (!isHexCode(data.charCodeAt(index)))\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (!isOctCode(data.charCodeAt(index)))\n return false;\n hasDigits = true;\n }\n return hasDigits;\n }\n for (; index < max; index++) {\n ch = data[index];\n if (ch === '_')\n continue;\n if (ch === ':')\n break;\n if (!isDecCode(data.charCodeAt(index))) {\n return false;\n }\n hasDigits = true;\n }\n if (!hasDigits)\n return false;\n if (ch !== ':')\n return true;\n return /^(:[0-5]?[0-9])+$/.test(data.slice(index));\n}\nfunction constructYamlInteger(data) {\n var value = data,\n sign = 1,\n ch,\n base,\n digits = [];\n if (value.indexOf('_') !== -1) {\n value = value.replace(/_/g, '');\n }\n ch = value[0];\n if (ch === '-' || ch === '+') {\n if (ch === '-')\n sign = -1;\n value = value.slice(1);\n ch = value[0];\n }\n if (value === '0')\n return 0;\n if (ch === '0') {\n if (value[1] === 'b')\n return sign * parseInt(value.slice(2), 2);\n if (value[1] === 'x')\n return sign * parseInt(value, 16);\n return sign * parseInt(value, 8);\n }\n if (value.indexOf(':') !== -1) {\n value.split(':').forEach(function(v) {\n digits.unshift(parseInt(v, 10));\n });\n value = 0;\n base = 1;\n digits.forEach(function(d) {\n value += (d * base);\n base *= 60;\n });\n return sign * value;\n }\n return sign * parseInt(value, 10);\n}\nfunction isInteger(object) {\n return (Object.prototype.toString.call(object)) === '[object Number]' && (object % 1 === 0 && !common.isNegativeZero(object));\n}\nmodule.exports = new Type('tag:yaml.org,2002:int', {\n kind: 'scalar',\n resolve: resolveYamlInteger,\n construct: constructYamlInteger,\n predicate: isInteger,\n represent: {\n binary: function(object) {\n return '0b' + object.toString(2);\n },\n octal: function(object) {\n return '0' + object.toString(8);\n },\n decimal: function(object) {\n return object.toString(10);\n },\n hexadecimal: function(object) {\n return '0x' + object.toString(16).toUpperCase();\n }\n },\n defaultStyle: 'decimal',\n styleAliases: {\n binary: [2, 'bin'],\n octal: [8, 'oct'],\n decimal: [10, 'dec'],\n hexadecimal: [16, 'hex']\n }\n});\n","/* */ \n'use strict';\n\n\nfunction isNothing(subject) {\n return (typeof subject === 'undefined') || (subject === null);\n}\n\n\nfunction isObject(subject) {\n return (typeof subject === 'object') && (subject !== null);\n}\n\n\nfunction toArray(sequence) {\n if (Array.isArray(sequence)) return sequence;\n else if (isNothing(sequence)) return [];\n\n return [ sequence ];\n}\n\n\nfunction extend(target, source) {\n var index, length, key, sourceKeys;\n\n if (source) {\n sourceKeys = Object.keys(source);\n\n for (index = 0, length = sourceKeys.length; index < length; index += 1) {\n key = sourceKeys[index];\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\n\nfunction repeat(string, count) {\n var result = '', cycle;\n\n for (cycle = 0; cycle < count; cycle += 1) {\n result += string;\n }\n\n return result;\n}\n\n\nfunction isNegativeZero(number) {\n return (number === 0) && (Number.NEGATIVE_INFINITY === 1 / number);\n}\n\n\nmodule.exports.isNothing = isNothing;\nmodule.exports.isObject = isObject;\nmodule.exports.toArray = toArray;\nmodule.exports.repeat = repeat;\nmodule.exports.isNegativeZero = isNegativeZero;\nmodule.exports.extend = extend;\n","/* */ \n'use strict';\nvar common = require('../common');\nvar Type = require('../type');\nvar YAML_FLOAT_PATTERN = new RegExp('^(?:[-+]?(?:[0-9][0-9_]*)\\\\.[0-9_]*(?:[eE][-+][0-9]+)?' + '|\\\\.[0-9_]+(?:[eE][-+][0-9]+)?' + '|[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\\\\.[0-9_]*' + '|[-+]?\\\\.(?:inf|Inf|INF)' + '|\\\\.(?:nan|NaN|NAN))$');\nfunction resolveYamlFloat(data) {\n if (data === null)\n return false;\n if (!YAML_FLOAT_PATTERN.test(data))\n return false;\n return true;\n}\nfunction constructYamlFloat(data) {\n var value,\n sign,\n base,\n digits;\n value = data.replace(/_/g, '').toLowerCase();\n sign = value[0] === '-' ? -1 : 1;\n digits = [];\n if ('+-'.indexOf(value[0]) >= 0) {\n value = value.slice(1);\n }\n if (value === '.inf') {\n return (sign === 1) ? Number.POSITIVE_INFINITY : Number.NEGATIVE_INFINITY;\n } else if (value === '.nan') {\n return NaN;\n } else if (value.indexOf(':') >= 0) {\n value.split(':').forEach(function(v) {\n digits.unshift(parseFloat(v, 10));\n });\n value = 0.0;\n base = 1;\n digits.forEach(function(d) {\n value += d * base;\n base *= 60;\n });\n return sign * value;\n }\n return sign * parseFloat(value, 10);\n}\nvar SCIENTIFIC_WITHOUT_DOT = /^[-+]?[0-9]+e/;\nfunction representYamlFloat(object, style) {\n var res;\n if (isNaN(object)) {\n switch (style) {\n case 'lowercase':\n return '.nan';\n case 'uppercase':\n return '.NAN';\n case 'camelcase':\n return '.NaN';\n }\n } else if (Number.POSITIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase':\n return '.inf';\n case 'uppercase':\n return '.INF';\n case 'camelcase':\n return '.Inf';\n }\n } else if (Number.NEGATIVE_INFINITY === object) {\n switch (style) {\n case 'lowercase':\n return '-.inf';\n case 'uppercase':\n return '-.INF';\n case 'camelcase':\n return '-.Inf';\n }\n } else if (common.isNegativeZero(object)) {\n return '-0.0';\n }\n res = object.toString(10);\n return SCIENTIFIC_WITHOUT_DOT.test(res) ? res.replace('e', '.e') : res;\n}\nfunction isFloat(object) {\n return (Object.prototype.toString.call(object) === '[object Number]') && (object % 1 !== 0 || common.isNegativeZero(object));\n}\nmodule.exports = new Type('tag:yaml.org,2002:float', {\n kind: 'scalar',\n resolve: resolveYamlFloat,\n construct: constructYamlFloat,\n predicate: isFloat,\n represent: representYamlFloat,\n defaultStyle: 'lowercase'\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({\n include: [require('./failsafe')],\n implicit: [require('../type/null'), require('../type/bool'), require('../type/int'), require('../type/float')]\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({include: [require('./json')]});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar YAML_DATE_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])' + '-([0-9][0-9])' + '-([0-9][0-9])$');\nvar YAML_TIMESTAMP_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])' + '-([0-9][0-9]?)' + '-([0-9][0-9]?)' + '(?:[Tt]|[ \\\\t]+)' + '([0-9][0-9]?)' + ':([0-9][0-9])' + ':([0-9][0-9])' + '(?:\\\\.([0-9]*))?' + '(?:[ \\\\t]*(Z|([-+])([0-9][0-9]?)' + '(?::([0-9][0-9]))?))?$');\nfunction resolveYamlTimestamp(data) {\n if (data === null)\n return false;\n if (YAML_DATE_REGEXP.exec(data) !== null)\n return true;\n if (YAML_TIMESTAMP_REGEXP.exec(data) !== null)\n return true;\n return false;\n}\nfunction constructYamlTimestamp(data) {\n var match,\n year,\n month,\n day,\n hour,\n minute,\n second,\n fraction = 0,\n delta = null,\n tz_hour,\n tz_minute,\n date;\n match = YAML_DATE_REGEXP.exec(data);\n if (match === null)\n match = YAML_TIMESTAMP_REGEXP.exec(data);\n if (match === null)\n throw new Error('Date resolve error');\n year = +(match[1]);\n month = +(match[2]) - 1;\n day = +(match[3]);\n if (!match[4]) {\n return new Date(Date.UTC(year, month, day));\n }\n hour = +(match[4]);\n minute = +(match[5]);\n second = +(match[6]);\n if (match[7]) {\n fraction = match[7].slice(0, 3);\n while (fraction.length < 3) {\n fraction += '0';\n }\n fraction = +fraction;\n }\n if (match[9]) {\n tz_hour = +(match[10]);\n tz_minute = +(match[11] || 0);\n delta = (tz_hour * 60 + tz_minute) * 60000;\n if (match[9] === '-')\n delta = -delta;\n }\n date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));\n if (delta)\n date.setTime(date.getTime() - delta);\n return date;\n}\nfunction representYamlTimestamp(object) {\n return object.toISOString();\n}\nmodule.exports = new Type('tag:yaml.org,2002:timestamp', {\n kind: 'scalar',\n resolve: resolveYamlTimestamp,\n construct: constructYamlTimestamp,\n instanceOf: Date,\n represent: representYamlTimestamp\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nfunction resolveYamlMerge(data) {\n return data === '<<' || data === null;\n}\nmodule.exports = new Type('tag:yaml.org,2002:merge', {\n kind: 'scalar',\n resolve: resolveYamlMerge\n});\n","/* */ \n(function(Buffer) {\n 'use strict';\n var NodeBuffer;\n try {\n var _require = require;\n NodeBuffer = _require('buffer').Buffer;\n } catch (__) {}\n var Type = require('../type');\n var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\\n\\r';\n function resolveYamlBinary(data) {\n if (data === null)\n return false;\n var code,\n idx,\n bitlen = 0,\n max = data.length,\n map = BASE64_MAP;\n for (idx = 0; idx < max; idx++) {\n code = map.indexOf(data.charAt(idx));\n if (code > 64)\n continue;\n if (code < 0)\n return false;\n bitlen += 6;\n }\n return (bitlen % 8) === 0;\n }\n function constructYamlBinary(data) {\n var idx,\n tailbits,\n input = data.replace(/[\\r\\n=]/g, ''),\n max = input.length,\n map = BASE64_MAP,\n bits = 0,\n result = [];\n for (idx = 0; idx < max; idx++) {\n if ((idx % 4 === 0) && idx) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n }\n bits = (bits << 6) | map.indexOf(input.charAt(idx));\n }\n tailbits = (max % 4) * 6;\n if (tailbits === 0) {\n result.push((bits >> 16) & 0xFF);\n result.push((bits >> 8) & 0xFF);\n result.push(bits & 0xFF);\n } else if (tailbits === 18) {\n result.push((bits >> 10) & 0xFF);\n result.push((bits >> 2) & 0xFF);\n } else if (tailbits === 12) {\n result.push((bits >> 4) & 0xFF);\n }\n if (NodeBuffer)\n return new NodeBuffer(result);\n return result;\n }\n function representYamlBinary(object) {\n var result = '',\n bits = 0,\n idx,\n tail,\n max = object.length,\n map = BASE64_MAP;\n for (idx = 0; idx < max; idx++) {\n if ((idx % 3 === 0) && idx) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n }\n bits = (bits << 8) + object[idx];\n }\n tail = max % 3;\n if (tail === 0) {\n result += map[(bits >> 18) & 0x3F];\n result += map[(bits >> 12) & 0x3F];\n result += map[(bits >> 6) & 0x3F];\n result += map[bits & 0x3F];\n } else if (tail === 2) {\n result += map[(bits >> 10) & 0x3F];\n result += map[(bits >> 4) & 0x3F];\n result += map[(bits << 2) & 0x3F];\n result += map[64];\n } else if (tail === 1) {\n result += map[(bits >> 2) & 0x3F];\n result += map[(bits << 4) & 0x3F];\n result += map[64];\n result += map[64];\n }\n return result;\n }\n function isBinary(object) {\n return NodeBuffer && NodeBuffer.isBuffer(object);\n }\n module.exports = new Type('tag:yaml.org,2002:binary', {\n kind: 'scalar',\n resolve: resolveYamlBinary,\n construct: constructYamlBinary,\n predicate: isBinary,\n represent: representYamlBinary\n });\n})(require('buffer').Buffer);\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nvar _toString = Object.prototype.toString;\nfunction resolveYamlOmap(data) {\n if (data === null)\n return true;\n var objectKeys = [],\n index,\n length,\n pair,\n pairKey,\n pairHasKey,\n object = data;\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n pairHasKey = false;\n if (_toString.call(pair) !== '[object Object]')\n return false;\n for (pairKey in pair) {\n if (_hasOwnProperty.call(pair, pairKey)) {\n if (!pairHasKey)\n pairHasKey = true;\n else\n return false;\n }\n }\n if (!pairHasKey)\n return false;\n if (objectKeys.indexOf(pairKey) === -1)\n objectKeys.push(pairKey);\n else\n return false;\n }\n return true;\n}\nfunction constructYamlOmap(data) {\n return data !== null ? data : [];\n}\nmodule.exports = new Type('tag:yaml.org,2002:omap', {\n kind: 'sequence',\n resolve: resolveYamlOmap,\n construct: constructYamlOmap\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _toString = Object.prototype.toString;\nfunction resolveYamlPairs(data) {\n if (data === null)\n return true;\n var index,\n length,\n pair,\n keys,\n result,\n object = data;\n result = new Array(object.length);\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n if (_toString.call(pair) !== '[object Object]')\n return false;\n keys = Object.keys(pair);\n if (keys.length !== 1)\n return false;\n result[index] = [keys[0], pair[keys[0]]];\n }\n return true;\n}\nfunction constructYamlPairs(data) {\n if (data === null)\n return [];\n var index,\n length,\n pair,\n keys,\n result,\n object = data;\n result = new Array(object.length);\n for (index = 0, length = object.length; index < length; index += 1) {\n pair = object[index];\n keys = Object.keys(pair);\n result[index] = [keys[0], pair[keys[0]]];\n }\n return result;\n}\nmodule.exports = new Type('tag:yaml.org,2002:pairs', {\n kind: 'sequence',\n resolve: resolveYamlPairs,\n construct: constructYamlPairs\n});\n","/* */ \n'use strict';\nvar Type = require('../type');\nvar _hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction resolveYamlSet(data) {\n if (data === null)\n return true;\n var key,\n object = data;\n for (key in object) {\n if (_hasOwnProperty.call(object, key)) {\n if (object[key] !== null)\n return false;\n }\n }\n return true;\n}\nfunction constructYamlSet(data) {\n return data !== null ? data : {};\n}\nmodule.exports = new Type('tag:yaml.org,2002:set', {\n kind: 'mapping',\n resolve: resolveYamlSet,\n construct: constructYamlSet\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = new Schema({\n include: [require('./core')],\n implicit: [require('../type/timestamp'), require('../type/merge')],\n explicit: [require('../type/binary'), require('../type/omap'), require('../type/pairs'), require('../type/set')]\n});\n","/* */ \n'use strict';\nvar Type = require('../../type');\nfunction resolveJavascriptUndefined() {\n return true;\n}\nfunction constructJavascriptUndefined() {\n return undefined;\n}\nfunction representJavascriptUndefined() {\n return '';\n}\nfunction isUndefined(object) {\n return typeof object === 'undefined';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/undefined', {\n kind: 'scalar',\n resolve: resolveJavascriptUndefined,\n construct: constructJavascriptUndefined,\n predicate: isUndefined,\n represent: representJavascriptUndefined\n});\n","/* */ \n'use strict';\nvar Type = require('../../type');\nfunction resolveJavascriptRegExp(data) {\n if (data === null)\n return false;\n if (data.length === 0)\n return false;\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n if (regexp[0] === '/') {\n if (tail)\n modifiers = tail[1];\n if (modifiers.length > 3)\n return false;\n if (regexp[regexp.length - modifiers.length - 1] !== '/')\n return false;\n }\n return true;\n}\nfunction constructJavascriptRegExp(data) {\n var regexp = data,\n tail = /\\/([gim]*)$/.exec(data),\n modifiers = '';\n if (regexp[0] === '/') {\n if (tail)\n modifiers = tail[1];\n regexp = regexp.slice(1, regexp.length - modifiers.length - 1);\n }\n return new RegExp(regexp, modifiers);\n}\nfunction representJavascriptRegExp(object) {\n var result = '/' + object.source + '/';\n if (object.global)\n result += 'g';\n if (object.multiline)\n result += 'm';\n if (object.ignoreCase)\n result += 'i';\n return result;\n}\nfunction isRegExp(object) {\n return Object.prototype.toString.call(object) === '[object RegExp]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/regexp', {\n kind: 'scalar',\n resolve: resolveJavascriptRegExp,\n construct: constructJavascriptRegExp,\n predicate: isRegExp,\n represent: representJavascriptRegExp\n});\n","/* */ \n'use strict';\nvar YAMLException = require('./exception');\nvar TYPE_CONSTRUCTOR_OPTIONS = ['kind', 'resolve', 'construct', 'instanceOf', 'predicate', 'represent', 'defaultStyle', 'styleAliases'];\nvar YAML_NODE_KINDS = ['scalar', 'sequence', 'mapping'];\nfunction compileStyleAliases(map) {\n var result = {};\n if (map !== null) {\n Object.keys(map).forEach(function(style) {\n map[style].forEach(function(alias) {\n result[String(alias)] = style;\n });\n });\n }\n return result;\n}\nfunction Type(tag, options) {\n options = options || {};\n Object.keys(options).forEach(function(name) {\n if (TYPE_CONSTRUCTOR_OPTIONS.indexOf(name) === -1) {\n throw new YAMLException('Unknown option \"' + name + '\" is met in definition of \"' + tag + '\" YAML type.');\n }\n });\n this.tag = tag;\n this.kind = options['kind'] || null;\n this.resolve = options['resolve'] || function() {\n return true;\n };\n this.construct = options['construct'] || function(data) {\n return data;\n };\n this.instanceOf = options['instanceOf'] || null;\n this.predicate = options['predicate'] || null;\n this.represent = options['represent'] || null;\n this.defaultStyle = options['defaultStyle'] || null;\n this.styleAliases = compileStyleAliases(options['styleAliases'] || null);\n if (YAML_NODE_KINDS.indexOf(this.kind) === -1) {\n throw new YAMLException('Unknown kind \"' + this.kind + '\" is specified for \"' + tag + '\" YAML type.');\n }\n}\nmodule.exports = Type;\n","/* */ \n'use strict';\nvar esprima;\ntry {\n var _require = require;\n esprima = _require('esprima');\n} catch (_) {\n if (typeof window !== 'undefined')\n esprima = window.esprima;\n}\nvar Type = require('../../type');\nfunction resolveJavascriptFunction(data) {\n if (data === null)\n return false;\n try {\n var source = '(' + data + ')',\n ast = esprima.parse(source, {range: true});\n if (ast.type !== 'Program' || ast.body.length !== 1 || ast.body[0].type !== 'ExpressionStatement' || ast.body[0].expression.type !== 'FunctionExpression') {\n return false;\n }\n return true;\n } catch (err) {\n return false;\n }\n}\nfunction constructJavascriptFunction(data) {\n var source = '(' + data + ')',\n ast = esprima.parse(source, {range: true}),\n params = [],\n body;\n if (ast.type !== 'Program' || ast.body.length !== 1 || ast.body[0].type !== 'ExpressionStatement' || ast.body[0].expression.type !== 'FunctionExpression') {\n throw new Error('Failed to resolve function');\n }\n ast.body[0].expression.params.forEach(function(param) {\n params.push(param.name);\n });\n body = ast.body[0].expression.body.range;\n return new Function(params, source.slice(body[0] + 1, body[1] - 1));\n}\nfunction representJavascriptFunction(object) {\n return object.toString();\n}\nfunction isFunction(object) {\n return Object.prototype.toString.call(object) === '[object Function]';\n}\nmodule.exports = new Type('tag:yaml.org,2002:js/function', {\n kind: 'scalar',\n resolve: resolveJavascriptFunction,\n construct: constructJavascriptFunction,\n predicate: isFunction,\n represent: representJavascriptFunction\n});\n","/* */ \n'use strict';\nvar Schema = require('../schema');\nmodule.exports = Schema.DEFAULT = new Schema({\n include: [require('./default_safe')],\n explicit: [require('../type/js/undefined'), require('../type/js/regexp'), require('../type/js/function')]\n});\n","// YAML error class. http://stackoverflow.com/questions/8458984\n//\n'use strict';\n\nfunction YAMLException(reason, mark) {\n // Super constructor\n Error.call(this);\n\n // Include stack trace in error object\n if (Error.captureStackTrace) {\n // Chrome and NodeJS\n Error.captureStackTrace(this, this.constructor);\n } else {\n // FF, IE 10+ and Safari 6+. Fallback for others\n this.stack = (new Error()).stack || '';\n }\n\n this.name = 'YAMLException';\n this.reason = reason;\n this.mark = mark;\n this.message = (this.reason || '(unknown reason)') + (this.mark ? ' ' + this.mark.toString() : '');\n}\n\n\n// Inherit from Error\nYAMLException.prototype = Object.create(Error.prototype);\nYAMLException.prototype.constructor = YAMLException;\n\n\nYAMLException.prototype.toString = function toString(compact) {\n var result = this.name + ': ';\n\n result += this.reason || '(unknown reason)';\n\n if (!compact && this.mark) {\n result += ' ' + this.mark.toString();\n }\n\n return result;\n};\n\n\nmodule.exports = YAMLException;\n","/* */ \n'use strict';\nvar loader = require('./js-yaml/loader');\nvar dumper = require('./js-yaml/dumper');\nfunction deprecated(name) {\n return function() {\n throw new Error('Function ' + name + ' is deprecated and cannot be used.');\n };\n}\nmodule.exports.Type = require('./js-yaml/type');\nmodule.exports.Schema = require('./js-yaml/schema');\nmodule.exports.FAILSAFE_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.JSON_SCHEMA = require('./js-yaml/schema/json');\nmodule.exports.CORE_SCHEMA = require('./js-yaml/schema/core');\nmodule.exports.DEFAULT_SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_FULL_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.load = loader.load;\nmodule.exports.loadAll = loader.loadAll;\nmodule.exports.safeLoad = loader.safeLoad;\nmodule.exports.safeLoadAll = loader.safeLoadAll;\nmodule.exports.dump = dumper.dump;\nmodule.exports.safeDump = dumper.safeDump;\nmodule.exports.YAMLException = require('./js-yaml/exception');\nmodule.exports.MINIMAL_SCHEMA = require('./js-yaml/schema/failsafe');\nmodule.exports.SAFE_SCHEMA = require('./js-yaml/schema/default_safe');\nmodule.exports.DEFAULT_SCHEMA = require('./js-yaml/schema/default_full');\nmodule.exports.scan = deprecated('scan');\nmodule.exports.parse = deprecated('parse');\nmodule.exports.compose = deprecated('compose');\nmodule.exports.addConstructor = deprecated('addConstructor');\n","/* */ \n'use strict';\nvar yaml = require('./lib/js-yaml');\nmodule.exports = yaml;\n","module.exports = require(\"npm:js-yaml@3.6.0/index\");","/* eslint lines-around-comment: [2, {beforeBlockComment: false}] */\n'use strict';\n\nvar yaml = require('js-yaml'),\n ono = require('ono');\n\n/**\n * Simple YAML parsing functions, similar to {@link JSON.parse} and {@link JSON.stringify}\n */\nmodule.exports = {\n /**\n * Parses a YAML string and returns the value.\n *\n * @param {string} text - The YAML string to be parsed\n * @param {function} [reviver] - Not currently supported. Provided for consistency with {@link JSON.parse}\n * @returns {*}\n */\n parse: function yamlParse(text, reviver) {\n try {\n return yaml.safeLoad(text);\n }\n catch (e) {\n if (e instanceof Error) {\n throw e;\n }\n else {\n // https://github.com/nodeca/js-yaml/issues/153\n throw ono(e, e.message);\n }\n }\n },\n\n /**\n * Converts a JavaScript value to a YAML string.\n *\n * @param {*} value - The value to convert to YAML\n * @param {function|array} replacer - Not currently supported. Provided for consistency with {@link JSON.stringify}\n * @param {string|number} space - The number of spaces to use for indentation, or a string containing the number of spaces.\n * @returns {string}\n */\n stringify: function yamlStringify(value, replacer, space) {\n try {\n var indent = (typeof space === 'string' ? space.length : space) || 2;\n return yaml.safeDump(value, {indent: indent});\n }\n catch (e) {\n if (e instanceof Error) {\n throw e;\n }\n else {\n // https://github.com/nodeca/js-yaml/issues/153\n throw ono(e, e.message);\n }\n }\n }\n};\n","/* */ \n(function(Buffer) {\n 'use strict';\n var Promise = require('./util/promise'),\n Options = require('./options'),\n $Refs = require('./refs'),\n parse = require('./parse'),\n resolveExternal = require('./resolve-external'),\n bundle = require('./bundle'),\n dereference = require('./dereference'),\n url = require('./util/url'),\n maybe = require('call-me-maybe'),\n ono = require('ono');\n module.exports = $RefParser;\n module.exports.YAML = require('./util/yaml');\n function $RefParser() {\n this.schema = null;\n this.$refs = new $Refs();\n }\n $RefParser.parse = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.parse.apply(instance, arguments);\n };\n $RefParser.prototype.parse = function(schema, options, callback) {\n var args = normalizeArgs(arguments);\n var promise;\n if (!args.path && !args.schema) {\n var err = ono('Expected a file path, URL, or object. Got %s', args.path || args.schema);\n return maybe(args.callback, Promise.reject(err));\n }\n this.schema = null;\n this.$refs = new $Refs();\n if (url.isFileSystemPath(args.path)) {\n args.path = url.fromFileSystemPath(args.path);\n }\n args.path = url.resolve(url.cwd(), args.path);\n if (args.schema && typeof args.schema === 'object') {\n this.$refs._add(args.path, args.schema);\n promise = Promise.resolve(args.schema);\n } else {\n promise = parse(args.path, this.$refs, args.options);\n }\n var me = this;\n return promise.then(function(result) {\n if (!result || typeof result !== 'object' || Buffer.isBuffer(result)) {\n throw ono.syntax('\"%s\" is not a valid JSON Schema', me.$refs._root$Ref.path || result);\n } else {\n me.schema = result;\n return maybe(args.callback, Promise.resolve(me.schema));\n }\n }).catch(function(e) {\n return maybe(args.callback, Promise.reject(e));\n });\n };\n $RefParser.resolve = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.resolve.apply(instance, arguments);\n };\n $RefParser.prototype.resolve = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.parse(args.path, args.schema, args.options).then(function() {\n return resolveExternal(me, args.options);\n }).then(function() {\n return maybe(args.callback, Promise.resolve(me.$refs));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n $RefParser.bundle = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.bundle.apply(instance, arguments);\n };\n $RefParser.prototype.bundle = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.resolve(args.path, args.schema, args.options).then(function() {\n bundle(me, args.options);\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n $RefParser.dereference = function(schema, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.dereference.apply(instance, arguments);\n };\n $RefParser.prototype.dereference = function(schema, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n return this.resolve(args.path, args.schema, args.options).then(function() {\n dereference(me, args.options);\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n };\n function normalizeArgs(args) {\n var path,\n schema,\n options,\n callback;\n args = Array.prototype.slice.call(args);\n if (typeof args[args.length - 1] === 'function') {\n callback = args.pop();\n }\n if (typeof args[0] === 'string') {\n path = args[0];\n if (typeof args[2] === 'object') {\n schema = args[1];\n options = args[2];\n } else {\n schema = undefined;\n options = args[1];\n }\n } else {\n path = '';\n schema = args[0];\n options = args[1];\n }\n if (!(options instanceof Options)) {\n options = new Options(options);\n }\n return {\n path: path,\n schema: schema,\n options: options,\n callback: callback\n };\n }\n})(require('buffer').Buffer);\n","module.exports = require(\"npm:json-schema-ref-parser@3.1.2/lib/index.js\");","/* */ \n(function(Buffer) {\n 'use strict';\n module.exports = $Ref;\n var Pointer = require('./pointer');\n function $Ref() {\n this.path = undefined;\n this.value = undefined;\n this.$refs = undefined;\n this.pathType = undefined;\n }\n $Ref.prototype.exists = function(path, options) {\n try {\n this.resolve(path, options);\n return true;\n } catch (e) {\n return false;\n }\n };\n $Ref.prototype.get = function(path, options) {\n return this.resolve(path, options).value;\n };\n $Ref.prototype.resolve = function(path, options) {\n var pointer = new Pointer(this, path);\n return pointer.resolve(this.value, options);\n };\n $Ref.prototype.set = function(path, value) {\n var pointer = new Pointer(this, path);\n this.value = pointer.set(this.value, value);\n };\n $Ref.is$Ref = function(value) {\n return value && typeof value === 'object' && typeof value.$ref === 'string' && value.$ref.length > 0;\n };\n $Ref.isExternal$Ref = function(value) {\n return $Ref.is$Ref(value) && value.$ref[0] !== '#';\n };\n $Ref.isAllowed$Ref = function(value, options) {\n if ($Ref.is$Ref(value)) {\n if (value.$ref[0] === '#' || !options || options.resolve.external) {\n return true;\n }\n }\n };\n $Ref.isExtended$Ref = function(value) {\n return $Ref.is$Ref(value) && Object.keys(value).length > 1;\n };\n $Ref.dereference = function($ref, resolvedValue) {\n if (resolvedValue && typeof resolvedValue === 'object' && $Ref.isExtended$Ref($ref)) {\n var merged = {};\n Object.keys($ref).forEach(function(key) {\n if (key !== '$ref') {\n merged[key] = $ref[key];\n }\n });\n Object.keys(resolvedValue).forEach(function(key) {\n if (!(key in merged)) {\n merged[key] = resolvedValue[key];\n }\n });\n return merged;\n } else {\n return resolvedValue;\n }\n };\n})(require('buffer').Buffer);\n","/* */ \nvar lookup = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\n;(function (exports) {\n\t'use strict';\n\n var Arr = (typeof Uint8Array !== 'undefined')\n ? Uint8Array\n : Array\n\n\tvar PLUS = '+'.charCodeAt(0)\n\tvar SLASH = '/'.charCodeAt(0)\n\tvar NUMBER = '0'.charCodeAt(0)\n\tvar LOWER = 'a'.charCodeAt(0)\n\tvar UPPER = 'A'.charCodeAt(0)\n\tvar PLUS_URL_SAFE = '-'.charCodeAt(0)\n\tvar SLASH_URL_SAFE = '_'.charCodeAt(0)\n\n\tfunction decode (elt) {\n\t\tvar code = elt.charCodeAt(0)\n\t\tif (code === PLUS ||\n\t\t code === PLUS_URL_SAFE)\n\t\t\treturn 62 // '+'\n\t\tif (code === SLASH ||\n\t\t code === SLASH_URL_SAFE)\n\t\t\treturn 63 // '/'\n\t\tif (code < NUMBER)\n\t\t\treturn -1 //no match\n\t\tif (code < NUMBER + 10)\n\t\t\treturn code - NUMBER + 26 + 26\n\t\tif (code < UPPER + 26)\n\t\t\treturn code - UPPER\n\t\tif (code < LOWER + 26)\n\t\t\treturn code - LOWER + 26\n\t}\n\n\tfunction b64ToByteArray (b64) {\n\t\tvar i, j, l, tmp, placeHolders, arr\n\n\t\tif (b64.length % 4 > 0) {\n\t\t\tthrow new Error('Invalid string. Length must be a multiple of 4')\n\t\t}\n\n\t\t// the number of equal signs (place holders)\n\t\t// if there are two placeholders, than the two characters before it\n\t\t// represent one byte\n\t\t// if there is only one, then the three characters before it represent 2 bytes\n\t\t// this is just a cheap hack to not do indexOf twice\n\t\tvar len = b64.length\n\t\tplaceHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 0\n\n\t\t// base64 is 4/3 + up to two characters of the original data\n\t\tarr = new Arr(b64.length * 3 / 4 - placeHolders)\n\n\t\t// if there are placeholders, only get up to the last complete 4 chars\n\t\tl = placeHolders > 0 ? b64.length - 4 : b64.length\n\n\t\tvar L = 0\n\n\t\tfunction push (v) {\n\t\t\tarr[L++] = v\n\t\t}\n\n\t\tfor (i = 0, j = 0; i < l; i += 4, j += 3) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2)) << 6) | decode(b64.charAt(i + 3))\n\t\t\tpush((tmp & 0xFF0000) >> 16)\n\t\t\tpush((tmp & 0xFF00) >> 8)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\tif (placeHolders === 2) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)\n\t\t\tpush(tmp & 0xFF)\n\t\t} else if (placeHolders === 1) {\n\t\t\ttmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)) >> 2)\n\t\t\tpush((tmp >> 8) & 0xFF)\n\t\t\tpush(tmp & 0xFF)\n\t\t}\n\n\t\treturn arr\n\t}\n\n\tfunction uint8ToBase64 (uint8) {\n\t\tvar i,\n\t\t\textraBytes = uint8.length % 3, // if we have 1 byte left, pad 2 bytes\n\t\t\toutput = \"\",\n\t\t\ttemp, length\n\n\t\tfunction encode (num) {\n\t\t\treturn lookup.charAt(num)\n\t\t}\n\n\t\tfunction tripletToBase64 (num) {\n\t\t\treturn encode(num >> 18 & 0x3F) + encode(num >> 12 & 0x3F) + encode(num >> 6 & 0x3F) + encode(num & 0x3F)\n\t\t}\n\n\t\t// go through the array every three bytes, we'll deal with trailing stuff later\n\t\tfor (i = 0, length = uint8.length - extraBytes; i < length; i += 3) {\n\t\t\ttemp = (uint8[i] << 16) + (uint8[i + 1] << 8) + (uint8[i + 2])\n\t\t\toutput += tripletToBase64(temp)\n\t\t}\n\n\t\t// pad the end with zeros, but make sure to not forget the extra bytes\n\t\tswitch (extraBytes) {\n\t\t\tcase 1:\n\t\t\t\ttemp = uint8[uint8.length - 1]\n\t\t\t\toutput += encode(temp >> 2)\n\t\t\t\toutput += encode((temp << 4) & 0x3F)\n\t\t\t\toutput += '=='\n\t\t\t\tbreak\n\t\t\tcase 2:\n\t\t\t\ttemp = (uint8[uint8.length - 2] << 8) + (uint8[uint8.length - 1])\n\t\t\t\toutput += encode(temp >> 10)\n\t\t\t\toutput += encode((temp >> 4) & 0x3F)\n\t\t\t\toutput += encode((temp << 2) & 0x3F)\n\t\t\t\toutput += '='\n\t\t\t\tbreak\n\t\t}\n\n\t\treturn output\n\t}\n\n\texports.toByteArray = b64ToByteArray\n\texports.fromByteArray = uint8ToBase64\n}(typeof exports === 'undefined' ? (this.base64js = {}) : exports))\n","module.exports = require(\"npm:base64-js@0.0.8/lib/b64.js\");","/* */ \nexports.read = function (buffer, offset, isLE, mLen, nBytes) {\n var e, m\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var nBits = -7\n var i = isLE ? (nBytes - 1) : 0\n var d = isLE ? -1 : 1\n var s = buffer[offset + i]\n\n i += d\n\n e = s & ((1 << (-nBits)) - 1)\n s >>= (-nBits)\n nBits += eLen\n for (; nBits > 0; e = e * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n m = e & ((1 << (-nBits)) - 1)\n e >>= (-nBits)\n nBits += mLen\n for (; nBits > 0; m = m * 256 + buffer[offset + i], i += d, nBits -= 8) {}\n\n if (e === 0) {\n e = 1 - eBias\n } else if (e === eMax) {\n return m ? NaN : ((s ? -1 : 1) * Infinity)\n } else {\n m = m + Math.pow(2, mLen)\n e = e - eBias\n }\n return (s ? -1 : 1) * m * Math.pow(2, e - mLen)\n}\n\nexports.write = function (buffer, value, offset, isLE, mLen, nBytes) {\n var e, m, c\n var eLen = nBytes * 8 - mLen - 1\n var eMax = (1 << eLen) - 1\n var eBias = eMax >> 1\n var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)\n var i = isLE ? 0 : (nBytes - 1)\n var d = isLE ? 1 : -1\n var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0\n\n value = Math.abs(value)\n\n if (isNaN(value) || value === Infinity) {\n m = isNaN(value) ? 1 : 0\n e = eMax\n } else {\n e = Math.floor(Math.log(value) / Math.LN2)\n if (value * (c = Math.pow(2, -e)) < 1) {\n e--\n c *= 2\n }\n if (e + eBias >= 1) {\n value += rt / c\n } else {\n value += rt * Math.pow(2, 1 - eBias)\n }\n if (value * c >= 2) {\n e++\n c /= 2\n }\n\n if (e + eBias >= eMax) {\n m = 0\n e = eMax\n } else if (e + eBias >= 1) {\n m = (value * c - 1) * Math.pow(2, mLen)\n e = e + eBias\n } else {\n m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)\n e = 0\n }\n }\n\n for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}\n\n e = (e << mLen) | m\n eLen += mLen\n for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}\n\n buffer[offset + i - d] |= s * 128\n}\n","module.exports = require(\"npm:ieee754@1.1.6/index.js\");","/* */ \nvar toString = {}.toString;\n\nmodule.exports = Array.isArray || function (arr) {\n return toString.call(arr) == '[object Array]';\n};\n","module.exports = require(\"npm:isarray@1.0.0/index.js\");","/*!\n * The buffer module from node.js, for the browser.\n *\n * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>\n * @license MIT\n */\n/* eslint-disable no-proto */\n\n'use strict'\n\nvar base64 = require('base64-js')\nvar ieee754 = require('ieee754')\nvar isArray = require('isarray')\n\nexports.Buffer = Buffer\nexports.SlowBuffer = SlowBuffer\nexports.INSPECT_MAX_BYTES = 50\nBuffer.poolSize = 8192 // not used by this implementation\n\nvar rootParent = {}\n\n/**\n * If `Buffer.TYPED_ARRAY_SUPPORT`:\n * === true Use Uint8Array implementation (fastest)\n * === false Use Object implementation (most compatible, even IE6)\n *\n * Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,\n * Opera 11.6+, iOS 4.2+.\n *\n * Due to various browser bugs, sometimes the Object implementation will be used even\n * when the browser supports typed arrays.\n *\n * Note:\n *\n * - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,\n * See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.\n *\n * - Safari 5-7 lacks support for changing the `Object.prototype.constructor` property\n * on objects.\n *\n * - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.\n *\n * - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of\n * incorrect length in some situations.\n\n * We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they\n * get the Object implementation, which is slower but behaves correctly.\n */\nBuffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined\n ? global.TYPED_ARRAY_SUPPORT\n : typedArraySupport()\n\nfunction typedArraySupport () {\n function Bar () {}\n try {\n var arr = new Uint8Array(1)\n arr.foo = function () { return 42 }\n arr.constructor = Bar\n return arr.foo() === 42 && // typed array instances can be augmented\n arr.constructor === Bar && // constructor can be set\n typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`\n arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`\n } catch (e) {\n return false\n }\n}\n\nfunction kMaxLength () {\n return Buffer.TYPED_ARRAY_SUPPORT\n ? 0x7fffffff\n : 0x3fffffff\n}\n\n/**\n * Class: Buffer\n * =============\n *\n * The Buffer constructor returns instances of `Uint8Array` that are augmented\n * with function properties for all the node `Buffer` API functions. We use\n * `Uint8Array` so that square bracket notation works as expected -- it returns\n * a single octet.\n *\n * By augmenting the instances, we can avoid modifying the `Uint8Array`\n * prototype.\n */\nfunction Buffer (arg) {\n if (!(this instanceof Buffer)) {\n // Avoid going through an ArgumentsAdaptorTrampoline in the common case.\n if (arguments.length > 1) return new Buffer(arg, arguments[1])\n return new Buffer(arg)\n }\n\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n this.length = 0\n this.parent = undefined\n }\n\n // Common case.\n if (typeof arg === 'number') {\n return fromNumber(this, arg)\n }\n\n // Slightly less common case.\n if (typeof arg === 'string') {\n return fromString(this, arg, arguments.length > 1 ? arguments[1] : 'utf8')\n }\n\n // Unusual.\n return fromObject(this, arg)\n}\n\nfunction fromNumber (that, length) {\n that = allocate(that, length < 0 ? 0 : checked(length) | 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) {\n for (var i = 0; i < length; i++) {\n that[i] = 0\n }\n }\n return that\n}\n\nfunction fromString (that, string, encoding) {\n if (typeof encoding !== 'string' || encoding === '') encoding = 'utf8'\n\n // Assumption: byteLength() return value is always < kMaxLength.\n var length = byteLength(string, encoding) | 0\n that = allocate(that, length)\n\n that.write(string, encoding)\n return that\n}\n\nfunction fromObject (that, object) {\n if (Buffer.isBuffer(object)) return fromBuffer(that, object)\n\n if (isArray(object)) return fromArray(that, object)\n\n if (object == null) {\n throw new TypeError('must start with number, buffer, array or string')\n }\n\n if (typeof ArrayBuffer !== 'undefined') {\n if (object.buffer instanceof ArrayBuffer) {\n return fromTypedArray(that, object)\n }\n if (object instanceof ArrayBuffer) {\n return fromArrayBuffer(that, object)\n }\n }\n\n if (object.length) return fromArrayLike(that, object)\n\n return fromJsonObject(that, object)\n}\n\nfunction fromBuffer (that, buffer) {\n var length = checked(buffer.length) | 0\n that = allocate(that, length)\n buffer.copy(that, 0, 0, length)\n return that\n}\n\nfunction fromArray (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\n// Duplicate of fromArray() to keep fromArray() monomorphic.\nfunction fromTypedArray (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n // Truncating the elements is probably not what people expect from typed\n // arrays with BYTES_PER_ELEMENT > 1 but it's compatible with the behavior\n // of the old Buffer constructor.\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nfunction fromArrayBuffer (that, array) {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n array.byteLength\n that = Buffer._augment(new Uint8Array(array))\n } else {\n // Fallback: Return an object instance of the Buffer class\n that = fromTypedArray(that, new Uint8Array(array))\n }\n return that\n}\n\nfunction fromArrayLike (that, array) {\n var length = checked(array.length) | 0\n that = allocate(that, length)\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\n// Deserialize { type: 'Buffer', data: [1,2,3,...] } into a Buffer object.\n// Returns a zero-length buffer for inputs that don't conform to the spec.\nfunction fromJsonObject (that, object) {\n var array\n var length = 0\n\n if (object.type === 'Buffer' && isArray(object.data)) {\n array = object.data\n length = checked(array.length) | 0\n }\n that = allocate(that, length)\n\n for (var i = 0; i < length; i += 1) {\n that[i] = array[i] & 255\n }\n return that\n}\n\nif (Buffer.TYPED_ARRAY_SUPPORT) {\n Buffer.prototype.__proto__ = Uint8Array.prototype\n Buffer.__proto__ = Uint8Array\n} else {\n // pre-set for values that may exist in the future\n Buffer.prototype.length = undefined\n Buffer.prototype.parent = undefined\n}\n\nfunction allocate (that, length) {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n // Return an augmented `Uint8Array` instance, for best performance\n that = Buffer._augment(new Uint8Array(length))\n that.__proto__ = Buffer.prototype\n } else {\n // Fallback: Return an object instance of the Buffer class\n that.length = length\n that._isBuffer = true\n }\n\n var fromPool = length !== 0 && length <= Buffer.poolSize >>> 1\n if (fromPool) that.parent = rootParent\n\n return that\n}\n\nfunction checked (length) {\n // Note: cannot use `length < kMaxLength` here because that fails when\n // length is NaN (which is otherwise coerced to zero.)\n if (length >= kMaxLength()) {\n throw new RangeError('Attempt to allocate Buffer larger than maximum ' +\n 'size: 0x' + kMaxLength().toString(16) + ' bytes')\n }\n return length | 0\n}\n\nfunction SlowBuffer (subject, encoding) {\n if (!(this instanceof SlowBuffer)) return new SlowBuffer(subject, encoding)\n\n var buf = new Buffer(subject, encoding)\n delete buf.parent\n return buf\n}\n\nBuffer.isBuffer = function isBuffer (b) {\n return !!(b != null && b._isBuffer)\n}\n\nBuffer.compare = function compare (a, b) {\n if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {\n throw new TypeError('Arguments must be Buffers')\n }\n\n if (a === b) return 0\n\n var x = a.length\n var y = b.length\n\n var i = 0\n var len = Math.min(x, y)\n while (i < len) {\n if (a[i] !== b[i]) break\n\n ++i\n }\n\n if (i !== len) {\n x = a[i]\n y = b[i]\n }\n\n if (x < y) return -1\n if (y < x) return 1\n return 0\n}\n\nBuffer.isEncoding = function isEncoding (encoding) {\n switch (String(encoding).toLowerCase()) {\n case 'hex':\n case 'utf8':\n case 'utf-8':\n case 'ascii':\n case 'binary':\n case 'base64':\n case 'raw':\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return true\n default:\n return false\n }\n}\n\nBuffer.concat = function concat (list, length) {\n if (!isArray(list)) throw new TypeError('list argument must be an Array of Buffers.')\n\n if (list.length === 0) {\n return new Buffer(0)\n }\n\n var i\n if (length === undefined) {\n length = 0\n for (i = 0; i < list.length; i++) {\n length += list[i].length\n }\n }\n\n var buf = new Buffer(length)\n var pos = 0\n for (i = 0; i < list.length; i++) {\n var item = list[i]\n item.copy(buf, pos)\n pos += item.length\n }\n return buf\n}\n\nfunction byteLength (string, encoding) {\n if (typeof string !== 'string') string = '' + string\n\n var len = string.length\n if (len === 0) return 0\n\n // Use a for loop to avoid recursion\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'ascii':\n case 'binary':\n // Deprecated\n case 'raw':\n case 'raws':\n return len\n case 'utf8':\n case 'utf-8':\n return utf8ToBytes(string).length\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return len * 2\n case 'hex':\n return len >>> 1\n case 'base64':\n return base64ToBytes(string).length\n default:\n if (loweredCase) return utf8ToBytes(string).length // assume utf8\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\nBuffer.byteLength = byteLength\n\nfunction slowToString (encoding, start, end) {\n var loweredCase = false\n\n start = start | 0\n end = end === undefined || end === Infinity ? this.length : end | 0\n\n if (!encoding) encoding = 'utf8'\n if (start < 0) start = 0\n if (end > this.length) end = this.length\n if (end <= start) return ''\n\n while (true) {\n switch (encoding) {\n case 'hex':\n return hexSlice(this, start, end)\n\n case 'utf8':\n case 'utf-8':\n return utf8Slice(this, start, end)\n\n case 'ascii':\n return asciiSlice(this, start, end)\n\n case 'binary':\n return binarySlice(this, start, end)\n\n case 'base64':\n return base64Slice(this, start, end)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return utf16leSlice(this, start, end)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = (encoding + '').toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toString = function toString () {\n var length = this.length | 0\n if (length === 0) return ''\n if (arguments.length === 0) return utf8Slice(this, 0, length)\n return slowToString.apply(this, arguments)\n}\n\nBuffer.prototype.equals = function equals (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return true\n return Buffer.compare(this, b) === 0\n}\n\nBuffer.prototype.inspect = function inspect () {\n var str = ''\n var max = exports.INSPECT_MAX_BYTES\n if (this.length > 0) {\n str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')\n if (this.length > max) str += ' ... '\n }\n return '<Buffer ' + str + '>'\n}\n\nBuffer.prototype.compare = function compare (b) {\n if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')\n if (this === b) return 0\n return Buffer.compare(this, b)\n}\n\nBuffer.prototype.indexOf = function indexOf (val, byteOffset) {\n if (byteOffset > 0x7fffffff) byteOffset = 0x7fffffff\n else if (byteOffset < -0x80000000) byteOffset = -0x80000000\n byteOffset >>= 0\n\n if (this.length === 0) return -1\n if (byteOffset >= this.length) return -1\n\n // Negative offsets start from the end of the buffer\n if (byteOffset < 0) byteOffset = Math.max(this.length + byteOffset, 0)\n\n if (typeof val === 'string') {\n if (val.length === 0) return -1 // special case: looking for empty string always fails\n return String.prototype.indexOf.call(this, val, byteOffset)\n }\n if (Buffer.isBuffer(val)) {\n return arrayIndexOf(this, val, byteOffset)\n }\n if (typeof val === 'number') {\n if (Buffer.TYPED_ARRAY_SUPPORT && Uint8Array.prototype.indexOf === 'function') {\n return Uint8Array.prototype.indexOf.call(this, val, byteOffset)\n }\n return arrayIndexOf(this, [ val ], byteOffset)\n }\n\n function arrayIndexOf (arr, val, byteOffset) {\n var foundIndex = -1\n for (var i = 0; byteOffset + i < arr.length; i++) {\n if (arr[byteOffset + i] === val[foundIndex === -1 ? 0 : i - foundIndex]) {\n if (foundIndex === -1) foundIndex = i\n if (i - foundIndex + 1 === val.length) return byteOffset + foundIndex\n } else {\n foundIndex = -1\n }\n }\n return -1\n }\n\n throw new TypeError('val must be string, number or Buffer')\n}\n\n// `get` is deprecated\nBuffer.prototype.get = function get (offset) {\n console.log('.get() is deprecated. Access using array indexes instead.')\n return this.readUInt8(offset)\n}\n\n// `set` is deprecated\nBuffer.prototype.set = function set (v, offset) {\n console.log('.set() is deprecated. Access using array indexes instead.')\n return this.writeUInt8(v, offset)\n}\n\nfunction hexWrite (buf, string, offset, length) {\n offset = Number(offset) || 0\n var remaining = buf.length - offset\n if (!length) {\n length = remaining\n } else {\n length = Number(length)\n if (length > remaining) {\n length = remaining\n }\n }\n\n // must be an even number of digits\n var strLen = string.length\n if (strLen % 2 !== 0) throw new Error('Invalid hex string')\n\n if (length > strLen / 2) {\n length = strLen / 2\n }\n for (var i = 0; i < length; i++) {\n var parsed = parseInt(string.substr(i * 2, 2), 16)\n if (isNaN(parsed)) throw new Error('Invalid hex string')\n buf[offset + i] = parsed\n }\n return i\n}\n\nfunction utf8Write (buf, string, offset, length) {\n return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nfunction asciiWrite (buf, string, offset, length) {\n return blitBuffer(asciiToBytes(string), buf, offset, length)\n}\n\nfunction binaryWrite (buf, string, offset, length) {\n return asciiWrite(buf, string, offset, length)\n}\n\nfunction base64Write (buf, string, offset, length) {\n return blitBuffer(base64ToBytes(string), buf, offset, length)\n}\n\nfunction ucs2Write (buf, string, offset, length) {\n return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)\n}\n\nBuffer.prototype.write = function write (string, offset, length, encoding) {\n // Buffer#write(string)\n if (offset === undefined) {\n encoding = 'utf8'\n length = this.length\n offset = 0\n // Buffer#write(string, encoding)\n } else if (length === undefined && typeof offset === 'string') {\n encoding = offset\n length = this.length\n offset = 0\n // Buffer#write(string, offset[, length][, encoding])\n } else if (isFinite(offset)) {\n offset = offset | 0\n if (isFinite(length)) {\n length = length | 0\n if (encoding === undefined) encoding = 'utf8'\n } else {\n encoding = length\n length = undefined\n }\n // legacy write(string, encoding, offset, length) - remove in v0.13\n } else {\n var swap = encoding\n encoding = offset\n offset = length | 0\n length = swap\n }\n\n var remaining = this.length - offset\n if (length === undefined || length > remaining) length = remaining\n\n if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {\n throw new RangeError('attempt to write outside buffer bounds')\n }\n\n if (!encoding) encoding = 'utf8'\n\n var loweredCase = false\n for (;;) {\n switch (encoding) {\n case 'hex':\n return hexWrite(this, string, offset, length)\n\n case 'utf8':\n case 'utf-8':\n return utf8Write(this, string, offset, length)\n\n case 'ascii':\n return asciiWrite(this, string, offset, length)\n\n case 'binary':\n return binaryWrite(this, string, offset, length)\n\n case 'base64':\n // Warning: maxLength not taken into account in base64Write\n return base64Write(this, string, offset, length)\n\n case 'ucs2':\n case 'ucs-2':\n case 'utf16le':\n case 'utf-16le':\n return ucs2Write(this, string, offset, length)\n\n default:\n if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)\n encoding = ('' + encoding).toLowerCase()\n loweredCase = true\n }\n }\n}\n\nBuffer.prototype.toJSON = function toJSON () {\n return {\n type: 'Buffer',\n data: Array.prototype.slice.call(this._arr || this, 0)\n }\n}\n\nfunction base64Slice (buf, start, end) {\n if (start === 0 && end === buf.length) {\n return base64.fromByteArray(buf)\n } else {\n return base64.fromByteArray(buf.slice(start, end))\n }\n}\n\nfunction utf8Slice (buf, start, end) {\n end = Math.min(buf.length, end)\n var res = []\n\n var i = start\n while (i < end) {\n var firstByte = buf[i]\n var codePoint = null\n var bytesPerSequence = (firstByte > 0xEF) ? 4\n : (firstByte > 0xDF) ? 3\n : (firstByte > 0xBF) ? 2\n : 1\n\n if (i + bytesPerSequence <= end) {\n var secondByte, thirdByte, fourthByte, tempCodePoint\n\n switch (bytesPerSequence) {\n case 1:\n if (firstByte < 0x80) {\n codePoint = firstByte\n }\n break\n case 2:\n secondByte = buf[i + 1]\n if ((secondByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)\n if (tempCodePoint > 0x7F) {\n codePoint = tempCodePoint\n }\n }\n break\n case 3:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)\n if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {\n codePoint = tempCodePoint\n }\n }\n break\n case 4:\n secondByte = buf[i + 1]\n thirdByte = buf[i + 2]\n fourthByte = buf[i + 3]\n if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {\n tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)\n if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {\n codePoint = tempCodePoint\n }\n }\n }\n }\n\n if (codePoint === null) {\n // we did not generate a valid codePoint so insert a\n // replacement char (U+FFFD) and advance only 1 byte\n codePoint = 0xFFFD\n bytesPerSequence = 1\n } else if (codePoint > 0xFFFF) {\n // encode to utf16 (surrogate pair dance)\n codePoint -= 0x10000\n res.push(codePoint >>> 10 & 0x3FF | 0xD800)\n codePoint = 0xDC00 | codePoint & 0x3FF\n }\n\n res.push(codePoint)\n i += bytesPerSequence\n }\n\n return decodeCodePointsArray(res)\n}\n\n// Based on http://stackoverflow.com/a/22747272/680742, the browser with\n// the lowest limit is Chrome, with 0x10000 args.\n// We go 1 magnitude less, for safety\nvar MAX_ARGUMENTS_LENGTH = 0x1000\n\nfunction decodeCodePointsArray (codePoints) {\n var len = codePoints.length\n if (len <= MAX_ARGUMENTS_LENGTH) {\n return String.fromCharCode.apply(String, codePoints) // avoid extra slice()\n }\n\n // Decode in chunks to avoid \"call stack size exceeded\".\n var res = ''\n var i = 0\n while (i < len) {\n res += String.fromCharCode.apply(\n String,\n codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)\n )\n }\n return res\n}\n\nfunction asciiSlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++) {\n ret += String.fromCharCode(buf[i] & 0x7F)\n }\n return ret\n}\n\nfunction binarySlice (buf, start, end) {\n var ret = ''\n end = Math.min(buf.length, end)\n\n for (var i = start; i < end; i++) {\n ret += String.fromCharCode(buf[i])\n }\n return ret\n}\n\nfunction hexSlice (buf, start, end) {\n var len = buf.length\n\n if (!start || start < 0) start = 0\n if (!end || end < 0 || end > len) end = len\n\n var out = ''\n for (var i = start; i < end; i++) {\n out += toHex(buf[i])\n }\n return out\n}\n\nfunction utf16leSlice (buf, start, end) {\n var bytes = buf.slice(start, end)\n var res = ''\n for (var i = 0; i < bytes.length; i += 2) {\n res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)\n }\n return res\n}\n\nBuffer.prototype.slice = function slice (start, end) {\n var len = this.length\n start = ~~start\n end = end === undefined ? len : ~~end\n\n if (start < 0) {\n start += len\n if (start < 0) start = 0\n } else if (start > len) {\n start = len\n }\n\n if (end < 0) {\n end += len\n if (end < 0) end = 0\n } else if (end > len) {\n end = len\n }\n\n if (end < start) end = start\n\n var newBuf\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n newBuf = Buffer._augment(this.subarray(start, end))\n } else {\n var sliceLen = end - start\n newBuf = new Buffer(sliceLen, undefined)\n for (var i = 0; i < sliceLen; i++) {\n newBuf[i] = this[i + start]\n }\n }\n\n if (newBuf.length) newBuf.parent = this.parent || this\n\n return newBuf\n}\n\n/*\n * Need to make sure that buffer isn't trying to write out of bounds.\n */\nfunction checkOffset (offset, ext, length) {\n if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')\n if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')\n}\n\nBuffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) {\n checkOffset(offset, byteLength, this.length)\n }\n\n var val = this[offset + --byteLength]\n var mul = 1\n while (byteLength > 0 && (mul *= 0x100)) {\n val += this[offset + --byteLength] * mul\n }\n\n return val\n}\n\nBuffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n return this[offset]\n}\n\nBuffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return this[offset] | (this[offset + 1] << 8)\n}\n\nBuffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n return (this[offset] << 8) | this[offset + 1]\n}\n\nBuffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return ((this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16)) +\n (this[offset + 3] * 0x1000000)\n}\n\nBuffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] * 0x1000000) +\n ((this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n this[offset + 3])\n}\n\nBuffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var val = this[offset]\n var mul = 1\n var i = 0\n while (++i < byteLength && (mul *= 0x100)) {\n val += this[offset + i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkOffset(offset, byteLength, this.length)\n\n var i = byteLength\n var mul = 1\n var val = this[offset + --i]\n while (i > 0 && (mul *= 0x100)) {\n val += this[offset + --i] * mul\n }\n mul *= 0x80\n\n if (val >= mul) val -= Math.pow(2, 8 * byteLength)\n\n return val\n}\n\nBuffer.prototype.readInt8 = function readInt8 (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 1, this.length)\n if (!(this[offset] & 0x80)) return (this[offset])\n return ((0xff - this[offset] + 1) * -1)\n}\n\nBuffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset] | (this[offset + 1] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 2, this.length)\n var val = this[offset + 1] | (this[offset] << 8)\n return (val & 0x8000) ? val | 0xFFFF0000 : val\n}\n\nBuffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset]) |\n (this[offset + 1] << 8) |\n (this[offset + 2] << 16) |\n (this[offset + 3] << 24)\n}\n\nBuffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n\n return (this[offset] << 24) |\n (this[offset + 1] << 16) |\n (this[offset + 2] << 8) |\n (this[offset + 3])\n}\n\nBuffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, true, 23, 4)\n}\n\nBuffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 4, this.length)\n return ieee754.read(this, offset, false, 23, 4)\n}\n\nBuffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, true, 52, 8)\n}\n\nBuffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {\n if (!noAssert) checkOffset(offset, 8, this.length)\n return ieee754.read(this, offset, false, 52, 8)\n}\n\nfunction checkInt (buf, value, offset, ext, max, min) {\n if (!Buffer.isBuffer(buf)) throw new TypeError('buffer must be a Buffer instance')\n if (value > max || value < min) throw new RangeError('value is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('index out of range')\n}\n\nBuffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)\n\n var mul = 1\n var i = 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n byteLength = byteLength | 0\n if (!noAssert) checkInt(this, value, offset, byteLength, Math.pow(2, 8 * byteLength), 0)\n\n var i = byteLength - 1\n var mul = 1\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = (value / mul) & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nfunction objectWriteUInt16 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; i++) {\n buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>\n (littleEndian ? i : 1 - i) * 8\n }\n}\n\nBuffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nfunction objectWriteUInt32 (buf, value, offset, littleEndian) {\n if (value < 0) value = 0xffffffff + value + 1\n for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; i++) {\n buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff\n }\n}\n\nBuffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset + 3] = (value >>> 24)\n this[offset + 2] = (value >>> 16)\n this[offset + 1] = (value >>> 8)\n this[offset] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = 0\n var mul = 1\n var sub = value < 0 ? 1 : 0\n this[offset] = value & 0xFF\n while (++i < byteLength && (mul *= 0x100)) {\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) {\n var limit = Math.pow(2, 8 * byteLength - 1)\n\n checkInt(this, value, offset, byteLength, limit - 1, -limit)\n }\n\n var i = byteLength - 1\n var mul = 1\n var sub = value < 0 ? 1 : 0\n this[offset + i] = value & 0xFF\n while (--i >= 0 && (mul *= 0x100)) {\n this[offset + i] = ((value / mul) >> 0) - sub & 0xFF\n }\n\n return offset + byteLength\n}\n\nBuffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)\n if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)\n if (value < 0) value = 0xff + value + 1\n this[offset] = (value & 0xff)\n return offset + 1\n}\n\nBuffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n } else {\n objectWriteUInt16(this, value, offset, true)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 8)\n this[offset + 1] = (value & 0xff)\n } else {\n objectWriteUInt16(this, value, offset, false)\n }\n return offset + 2\n}\n\nBuffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value & 0xff)\n this[offset + 1] = (value >>> 8)\n this[offset + 2] = (value >>> 16)\n this[offset + 3] = (value >>> 24)\n } else {\n objectWriteUInt32(this, value, offset, true)\n }\n return offset + 4\n}\n\nBuffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {\n value = +value\n offset = offset | 0\n if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)\n if (value < 0) value = 0xffffffff + value + 1\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n this[offset] = (value >>> 24)\n this[offset + 1] = (value >>> 16)\n this[offset + 2] = (value >>> 8)\n this[offset + 3] = (value & 0xff)\n } else {\n objectWriteUInt32(this, value, offset, false)\n }\n return offset + 4\n}\n\nfunction checkIEEE754 (buf, value, offset, ext, max, min) {\n if (value > max || value < min) throw new RangeError('value is out of bounds')\n if (offset + ext > buf.length) throw new RangeError('index out of range')\n if (offset < 0) throw new RangeError('index out of range')\n}\n\nfunction writeFloat (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)\n }\n ieee754.write(buf, value, offset, littleEndian, 23, 4)\n return offset + 4\n}\n\nBuffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {\n return writeFloat(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {\n return writeFloat(this, value, offset, false, noAssert)\n}\n\nfunction writeDouble (buf, value, offset, littleEndian, noAssert) {\n if (!noAssert) {\n checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)\n }\n ieee754.write(buf, value, offset, littleEndian, 52, 8)\n return offset + 8\n}\n\nBuffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {\n return writeDouble(this, value, offset, true, noAssert)\n}\n\nBuffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {\n return writeDouble(this, value, offset, false, noAssert)\n}\n\n// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)\nBuffer.prototype.copy = function copy (target, targetStart, start, end) {\n if (!start) start = 0\n if (!end && end !== 0) end = this.length\n if (targetStart >= target.length) targetStart = target.length\n if (!targetStart) targetStart = 0\n if (end > 0 && end < start) end = start\n\n // Copy 0 bytes; we're done\n if (end === start) return 0\n if (target.length === 0 || this.length === 0) return 0\n\n // Fatal error conditions\n if (targetStart < 0) {\n throw new RangeError('targetStart out of bounds')\n }\n if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')\n if (end < 0) throw new RangeError('sourceEnd out of bounds')\n\n // Are we oob?\n if (end > this.length) end = this.length\n if (target.length - targetStart < end - start) {\n end = target.length - targetStart + start\n }\n\n var len = end - start\n var i\n\n if (this === target && start < targetStart && targetStart < end) {\n // descending copy from end\n for (i = len - 1; i >= 0; i--) {\n target[i + targetStart] = this[i + start]\n }\n } else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {\n // ascending copy from start\n for (i = 0; i < len; i++) {\n target[i + targetStart] = this[i + start]\n }\n } else {\n target._set(this.subarray(start, start + len), targetStart)\n }\n\n return len\n}\n\n// fill(value, start=0, end=buffer.length)\nBuffer.prototype.fill = function fill (value, start, end) {\n if (!value) value = 0\n if (!start) start = 0\n if (!end) end = this.length\n\n if (end < start) throw new RangeError('end < start')\n\n // Fill 0 bytes; we're done\n if (end === start) return\n if (this.length === 0) return\n\n if (start < 0 || start >= this.length) throw new RangeError('start out of bounds')\n if (end < 0 || end > this.length) throw new RangeError('end out of bounds')\n\n var i\n if (typeof value === 'number') {\n for (i = start; i < end; i++) {\n this[i] = value\n }\n } else {\n var bytes = utf8ToBytes(value.toString())\n var len = bytes.length\n for (i = start; i < end; i++) {\n this[i] = bytes[i % len]\n }\n }\n\n return this\n}\n\n/**\n * Creates a new `ArrayBuffer` with the *copied* memory of the buffer instance.\n * Added in Node 0.12. Only available in browsers that support ArrayBuffer.\n */\nBuffer.prototype.toArrayBuffer = function toArrayBuffer () {\n if (typeof Uint8Array !== 'undefined') {\n if (Buffer.TYPED_ARRAY_SUPPORT) {\n return (new Buffer(this)).buffer\n } else {\n var buf = new Uint8Array(this.length)\n for (var i = 0, len = buf.length; i < len; i += 1) {\n buf[i] = this[i]\n }\n return buf.buffer\n }\n } else {\n throw new TypeError('Buffer.toArrayBuffer not supported in this browser')\n }\n}\n\n// HELPER FUNCTIONS\n// ================\n\nvar BP = Buffer.prototype\n\n/**\n * Augment a Uint8Array *instance* (not the Uint8Array class!) with Buffer methods\n */\nBuffer._augment = function _augment (arr) {\n arr.constructor = Buffer\n arr._isBuffer = true\n\n // save reference to original Uint8Array set method before overwriting\n arr._set = arr.set\n\n // deprecated\n arr.get = BP.get\n arr.set = BP.set\n\n arr.write = BP.write\n arr.toString = BP.toString\n arr.toLocaleString = BP.toString\n arr.toJSON = BP.toJSON\n arr.equals = BP.equals\n arr.compare = BP.compare\n arr.indexOf = BP.indexOf\n arr.copy = BP.copy\n arr.slice = BP.slice\n arr.readUIntLE = BP.readUIntLE\n arr.readUIntBE = BP.readUIntBE\n arr.readUInt8 = BP.readUInt8\n arr.readUInt16LE = BP.readUInt16LE\n arr.readUInt16BE = BP.readUInt16BE\n arr.readUInt32LE = BP.readUInt32LE\n arr.readUInt32BE = BP.readUInt32BE\n arr.readIntLE = BP.readIntLE\n arr.readIntBE = BP.readIntBE\n arr.readInt8 = BP.readInt8\n arr.readInt16LE = BP.readInt16LE\n arr.readInt16BE = BP.readInt16BE\n arr.readInt32LE = BP.readInt32LE\n arr.readInt32BE = BP.readInt32BE\n arr.readFloatLE = BP.readFloatLE\n arr.readFloatBE = BP.readFloatBE\n arr.readDoubleLE = BP.readDoubleLE\n arr.readDoubleBE = BP.readDoubleBE\n arr.writeUInt8 = BP.writeUInt8\n arr.writeUIntLE = BP.writeUIntLE\n arr.writeUIntBE = BP.writeUIntBE\n arr.writeUInt16LE = BP.writeUInt16LE\n arr.writeUInt16BE = BP.writeUInt16BE\n arr.writeUInt32LE = BP.writeUInt32LE\n arr.writeUInt32BE = BP.writeUInt32BE\n arr.writeIntLE = BP.writeIntLE\n arr.writeIntBE = BP.writeIntBE\n arr.writeInt8 = BP.writeInt8\n arr.writeInt16LE = BP.writeInt16LE\n arr.writeInt16BE = BP.writeInt16BE\n arr.writeInt32LE = BP.writeInt32LE\n arr.writeInt32BE = BP.writeInt32BE\n arr.writeFloatLE = BP.writeFloatLE\n arr.writeFloatBE = BP.writeFloatBE\n arr.writeDoubleLE = BP.writeDoubleLE\n arr.writeDoubleBE = BP.writeDoubleBE\n arr.fill = BP.fill\n arr.inspect = BP.inspect\n arr.toArrayBuffer = BP.toArrayBuffer\n\n return arr\n}\n\nvar INVALID_BASE64_RE = /[^+\\/0-9A-Za-z-_]/g\n\nfunction base64clean (str) {\n // Node strips out invalid characters like \\n and \\t from the string, base64-js does not\n str = stringtrim(str).replace(INVALID_BASE64_RE, '')\n // Node converts strings with length < 2 to ''\n if (str.length < 2) return ''\n // Node allows for non-padded base64 strings (missing trailing ===), base64-js does not\n while (str.length % 4 !== 0) {\n str = str + '='\n }\n return str\n}\n\nfunction stringtrim (str) {\n if (str.trim) return str.trim()\n return str.replace(/^\\s+|\\s+$/g, '')\n}\n\nfunction toHex (n) {\n if (n < 16) return '0' + n.toString(16)\n return n.toString(16)\n}\n\nfunction utf8ToBytes (string, units) {\n units = units || Infinity\n var codePoint\n var length = string.length\n var leadSurrogate = null\n var bytes = []\n\n for (var i = 0; i < length; i++) {\n codePoint = string.charCodeAt(i)\n\n // is surrogate component\n if (codePoint > 0xD7FF && codePoint < 0xE000) {\n // last char was a lead\n if (!leadSurrogate) {\n // no lead yet\n if (codePoint > 0xDBFF) {\n // unexpected trail\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n } else if (i + 1 === length) {\n // unpaired lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n continue\n }\n\n // valid lead\n leadSurrogate = codePoint\n\n continue\n }\n\n // 2 leads in a row\n if (codePoint < 0xDC00) {\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n leadSurrogate = codePoint\n continue\n }\n\n // valid surrogate pair\n codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000\n } else if (leadSurrogate) {\n // valid bmp char, but last char was a lead\n if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)\n }\n\n leadSurrogate = null\n\n // encode utf8\n if (codePoint < 0x80) {\n if ((units -= 1) < 0) break\n bytes.push(codePoint)\n } else if (codePoint < 0x800) {\n if ((units -= 2) < 0) break\n bytes.push(\n codePoint >> 0x6 | 0xC0,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x10000) {\n if ((units -= 3) < 0) break\n bytes.push(\n codePoint >> 0xC | 0xE0,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else if (codePoint < 0x110000) {\n if ((units -= 4) < 0) break\n bytes.push(\n codePoint >> 0x12 | 0xF0,\n codePoint >> 0xC & 0x3F | 0x80,\n codePoint >> 0x6 & 0x3F | 0x80,\n codePoint & 0x3F | 0x80\n )\n } else {\n throw new Error('Invalid code point')\n }\n }\n\n return bytes\n}\n\nfunction asciiToBytes (str) {\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n // Node's code seems to be doing this and not & 0x7F..\n byteArray.push(str.charCodeAt(i) & 0xFF)\n }\n return byteArray\n}\n\nfunction utf16leToBytes (str, units) {\n var c, hi, lo\n var byteArray = []\n for (var i = 0; i < str.length; i++) {\n if ((units -= 2) < 0) break\n\n c = str.charCodeAt(i)\n hi = c >> 8\n lo = c % 256\n byteArray.push(lo)\n byteArray.push(hi)\n }\n\n return byteArray\n}\n\nfunction base64ToBytes (str) {\n return base64.toByteArray(base64clean(str))\n}\n\nfunction blitBuffer (src, dst, offset, length) {\n for (var i = 0; i < length; i++) {\n if ((i + offset >= dst.length) || (i >= src.length)) break\n dst[i + offset] = src[i]\n }\n return i\n}\n","module.exports = require(\"npm:buffer@3.6.0/index.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('buffer') : require('buffer');","module.exports = require(\"github:jspm/nodelibs-buffer@0.1.0/index\");","/* */ \n(function(Buffer) {\n 'use strict';\n module.exports = Pointer;\n var $Ref = require('./ref'),\n url = require('./util/url'),\n ono = require('ono'),\n slashes = /\\//g,\n tildes = /~/g,\n escapedSlash = /~1/g,\n escapedTilde = /~0/g;\n function Pointer($ref, path) {\n this.$ref = $ref;\n this.path = path;\n this.value = undefined;\n this.circular = false;\n }\n Pointer.prototype.resolve = function(obj, options) {\n var tokens = Pointer.parse(this.path);\n this.value = obj;\n for (var i = 0; i < tokens.length; i++) {\n if (resolveIf$Ref(this, options)) {\n this.path = Pointer.join(this.path, tokens.slice(i));\n }\n var token = tokens[i];\n if (this.value[token] === undefined) {\n throw ono.syntax('Error resolving $ref pointer \"%s\". \\nToken \"%s\" does not exist.', this.path, token);\n } else {\n this.value = this.value[token];\n }\n }\n resolveIf$Ref(this, options);\n return this;\n };\n Pointer.prototype.set = function(obj, value, options) {\n var tokens = Pointer.parse(this.path);\n var token;\n if (tokens.length === 0) {\n this.value = value;\n return value;\n }\n this.value = obj;\n for (var i = 0; i < tokens.length - 1; i++) {\n resolveIf$Ref(this, options);\n token = tokens[i];\n if (this.value && this.value[token] !== undefined) {\n this.value = this.value[token];\n } else {\n this.value = setValue(this, token, {});\n }\n }\n resolveIf$Ref(this, options);\n token = tokens[tokens.length - 1];\n setValue(this, token, value);\n return obj;\n };\n Pointer.parse = function(path) {\n var pointer = url.getHash(path).substr(1);\n if (!pointer) {\n return [];\n }\n pointer = pointer.split('/');\n for (var i = 0; i < pointer.length; i++) {\n pointer[i] = decodeURI(pointer[i].replace(escapedSlash, '/').replace(escapedTilde, '~'));\n }\n if (pointer[0] !== '') {\n throw ono.syntax('Invalid $ref pointer \"%s\". Pointers must begin with \"#/\"', pointer);\n }\n return pointer.slice(1);\n };\n Pointer.join = function(base, tokens) {\n if (base.indexOf('#') === -1) {\n base += '#';\n }\n tokens = Array.isArray(tokens) ? tokens : [tokens];\n for (var i = 0; i < tokens.length; i++) {\n var token = tokens[i];\n base += '/' + encodeURI(token.replace(tildes, '~0').replace(slashes, '~1'));\n }\n return base;\n };\n function resolveIf$Ref(pointer, options) {\n if ($Ref.isAllowed$Ref(pointer.value, options)) {\n var $refPath = url.resolve(pointer.path, pointer.value.$ref);\n if ($refPath === pointer.path) {\n pointer.circular = true;\n } else {\n var resolved = pointer.$ref.$refs._resolve($refPath, options);\n if ($Ref.isExtended$Ref(pointer.value)) {\n pointer.value = $Ref.dereference(pointer.value, resolved.value);\n } else {\n pointer.$ref = resolved.$ref;\n pointer.path = resolved.path;\n pointer.value = resolved.value;\n }\n return true;\n }\n }\n }\n function setValue(pointer, token, value) {\n if (pointer.value && typeof pointer.value === 'object') {\n if (token === '-' && Array.isArray(pointer.value)) {\n pointer.value.push(value);\n } else {\n pointer.value[token] = value;\n }\n } else {\n throw ono.syntax('Error assigning $ref pointer \"%s\". \\nCannot set \"%s\" of a non-object.', pointer.path, token);\n }\n return value;\n }\n})(require('buffer').Buffer);\n","/* */ \nmodule.exports = function isBuffer(arg) {\n return arg && typeof arg === 'object'\n && typeof arg.copy === 'function'\n && typeof arg.fill === 'function'\n && typeof arg.readUInt8 === 'function';\n}","/* */ \nif (typeof Object.create === 'function') {\n // implementation from standard node.js 'util' module\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n ctor.prototype = Object.create(superCtor.prototype, {\n constructor: {\n value: ctor,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n };\n} else {\n // old school shim for old browsers\n module.exports = function inherits(ctor, superCtor) {\n ctor.super_ = superCtor\n var TempCtor = function () {}\n TempCtor.prototype = superCtor.prototype\n ctor.prototype = new TempCtor()\n ctor.prototype.constructor = ctor\n }\n}\n","module.exports = require(\"npm:inherits@2.0.1/inherits_browser.js\");","/* */ \n(function(process) {\n var formatRegExp = /%[sdj%]/g;\n exports.format = function(f) {\n if (!isString(f)) {\n var objects = [];\n for (var i = 0; i < arguments.length; i++) {\n objects.push(inspect(arguments[i]));\n }\n return objects.join(' ');\n }\n var i = 1;\n var args = arguments;\n var len = args.length;\n var str = String(f).replace(formatRegExp, function(x) {\n if (x === '%%')\n return '%';\n if (i >= len)\n return x;\n switch (x) {\n case '%s':\n return String(args[i++]);\n case '%d':\n return Number(args[i++]);\n case '%j':\n try {\n return JSON.stringify(args[i++]);\n } catch (_) {\n return '[Circular]';\n }\n default:\n return x;\n }\n });\n for (var x = args[i]; i < len; x = args[++i]) {\n if (isNull(x) || !isObject(x)) {\n str += ' ' + x;\n } else {\n str += ' ' + inspect(x);\n }\n }\n return str;\n };\n exports.deprecate = function(fn, msg) {\n if (isUndefined(global.process)) {\n return function() {\n return exports.deprecate(fn, msg).apply(this, arguments);\n };\n }\n if (process.noDeprecation === true) {\n return fn;\n }\n var warned = false;\n function deprecated() {\n if (!warned) {\n if (process.throwDeprecation) {\n throw new Error(msg);\n } else if (process.traceDeprecation) {\n console.trace(msg);\n } else {\n console.error(msg);\n }\n warned = true;\n }\n return fn.apply(this, arguments);\n }\n return deprecated;\n };\n var debugs = {};\n var debugEnviron;\n exports.debuglog = function(set) {\n if (isUndefined(debugEnviron))\n debugEnviron = process.env.NODE_DEBUG || '';\n set = set.toUpperCase();\n if (!debugs[set]) {\n if (new RegExp('\\\\b' + set + '\\\\b', 'i').test(debugEnviron)) {\n var pid = process.pid;\n debugs[set] = function() {\n var msg = exports.format.apply(exports, arguments);\n console.error('%s %d: %s', set, pid, msg);\n };\n } else {\n debugs[set] = function() {};\n }\n }\n return debugs[set];\n };\n function inspect(obj, opts) {\n var ctx = {\n seen: [],\n stylize: stylizeNoColor\n };\n if (arguments.length >= 3)\n ctx.depth = arguments[2];\n if (arguments.length >= 4)\n ctx.colors = arguments[3];\n if (isBoolean(opts)) {\n ctx.showHidden = opts;\n } else if (opts) {\n exports._extend(ctx, opts);\n }\n if (isUndefined(ctx.showHidden))\n ctx.showHidden = false;\n if (isUndefined(ctx.depth))\n ctx.depth = 2;\n if (isUndefined(ctx.colors))\n ctx.colors = false;\n if (isUndefined(ctx.customInspect))\n ctx.customInspect = true;\n if (ctx.colors)\n ctx.stylize = stylizeWithColor;\n return formatValue(ctx, obj, ctx.depth);\n }\n exports.inspect = inspect;\n inspect.colors = {\n 'bold': [1, 22],\n 'italic': [3, 23],\n 'underline': [4, 24],\n 'inverse': [7, 27],\n 'white': [37, 39],\n 'grey': [90, 39],\n 'black': [30, 39],\n 'blue': [34, 39],\n 'cyan': [36, 39],\n 'green': [32, 39],\n 'magenta': [35, 39],\n 'red': [31, 39],\n 'yellow': [33, 39]\n };\n inspect.styles = {\n 'special': 'cyan',\n 'number': 'yellow',\n 'boolean': 'yellow',\n 'undefined': 'grey',\n 'null': 'bold',\n 'string': 'green',\n 'date': 'magenta',\n 'regexp': 'red'\n };\n function stylizeWithColor(str, styleType) {\n var style = inspect.styles[styleType];\n if (style) {\n return '\\u001b[' + inspect.colors[style][0] + 'm' + str + '\\u001b[' + inspect.colors[style][1] + 'm';\n } else {\n return str;\n }\n }\n function stylizeNoColor(str, styleType) {\n return str;\n }\n function arrayToHash(array) {\n var hash = {};\n array.forEach(function(val, idx) {\n hash[val] = true;\n });\n return hash;\n }\n function formatValue(ctx, value, recurseTimes) {\n if (ctx.customInspect && value && isFunction(value.inspect) && value.inspect !== exports.inspect && !(value.constructor && value.constructor.prototype === value)) {\n var ret = value.inspect(recurseTimes, ctx);\n if (!isString(ret)) {\n ret = formatValue(ctx, ret, recurseTimes);\n }\n return ret;\n }\n var primitive = formatPrimitive(ctx, value);\n if (primitive) {\n return primitive;\n }\n var keys = Object.keys(value);\n var visibleKeys = arrayToHash(keys);\n if (ctx.showHidden) {\n keys = Object.getOwnPropertyNames(value);\n }\n if (isError(value) && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) {\n return formatError(value);\n }\n if (keys.length === 0) {\n if (isFunction(value)) {\n var name = value.name ? ': ' + value.name : '';\n return ctx.stylize('[Function' + name + ']', 'special');\n }\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n }\n if (isDate(value)) {\n return ctx.stylize(Date.prototype.toString.call(value), 'date');\n }\n if (isError(value)) {\n return formatError(value);\n }\n }\n var base = '',\n array = false,\n braces = ['{', '}'];\n if (isArray(value)) {\n array = true;\n braces = ['[', ']'];\n }\n if (isFunction(value)) {\n var n = value.name ? ': ' + value.name : '';\n base = ' [Function' + n + ']';\n }\n if (isRegExp(value)) {\n base = ' ' + RegExp.prototype.toString.call(value);\n }\n if (isDate(value)) {\n base = ' ' + Date.prototype.toUTCString.call(value);\n }\n if (isError(value)) {\n base = ' ' + formatError(value);\n }\n if (keys.length === 0 && (!array || value.length == 0)) {\n return braces[0] + base + braces[1];\n }\n if (recurseTimes < 0) {\n if (isRegExp(value)) {\n return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp');\n } else {\n return ctx.stylize('[Object]', 'special');\n }\n }\n ctx.seen.push(value);\n var output;\n if (array) {\n output = formatArray(ctx, value, recurseTimes, visibleKeys, keys);\n } else {\n output = keys.map(function(key) {\n return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array);\n });\n }\n ctx.seen.pop();\n return reduceToSingleString(output, base, braces);\n }\n function formatPrimitive(ctx, value) {\n if (isUndefined(value))\n return ctx.stylize('undefined', 'undefined');\n if (isString(value)) {\n var simple = '\\'' + JSON.stringify(value).replace(/^\"|\"$/g, '').replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"') + '\\'';\n return ctx.stylize(simple, 'string');\n }\n if (isNumber(value))\n return ctx.stylize('' + value, 'number');\n if (isBoolean(value))\n return ctx.stylize('' + value, 'boolean');\n if (isNull(value))\n return ctx.stylize('null', 'null');\n }\n function formatError(value) {\n return '[' + Error.prototype.toString.call(value) + ']';\n }\n function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {\n var output = [];\n for (var i = 0,\n l = value.length; i < l; ++i) {\n if (hasOwnProperty(value, String(i))) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true));\n } else {\n output.push('');\n }\n }\n keys.forEach(function(key) {\n if (!key.match(/^\\d+$/)) {\n output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true));\n }\n });\n return output;\n }\n function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {\n var name,\n str,\n desc;\n desc = Object.getOwnPropertyDescriptor(value, key) || {value: value[key]};\n if (desc.get) {\n if (desc.set) {\n str = ctx.stylize('[Getter/Setter]', 'special');\n } else {\n str = ctx.stylize('[Getter]', 'special');\n }\n } else {\n if (desc.set) {\n str = ctx.stylize('[Setter]', 'special');\n }\n }\n if (!hasOwnProperty(visibleKeys, key)) {\n name = '[' + key + ']';\n }\n if (!str) {\n if (ctx.seen.indexOf(desc.value) < 0) {\n if (isNull(recurseTimes)) {\n str = formatValue(ctx, desc.value, null);\n } else {\n str = formatValue(ctx, desc.value, recurseTimes - 1);\n }\n if (str.indexOf('\\n') > -1) {\n if (array) {\n str = str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n').substr(2);\n } else {\n str = '\\n' + str.split('\\n').map(function(line) {\n return ' ' + line;\n }).join('\\n');\n }\n }\n } else {\n str = ctx.stylize('[Circular]', 'special');\n }\n }\n if (isUndefined(name)) {\n if (array && key.match(/^\\d+$/)) {\n return str;\n }\n name = JSON.stringify('' + key);\n if (name.match(/^\"([a-zA-Z_][a-zA-Z_0-9]*)\"$/)) {\n name = name.substr(1, name.length - 2);\n name = ctx.stylize(name, 'name');\n } else {\n name = name.replace(/'/g, \"\\\\'\").replace(/\\\\\"/g, '\"').replace(/(^\"|\"$)/g, \"'\");\n name = ctx.stylize(name, 'string');\n }\n }\n return name + ': ' + str;\n }\n function reduceToSingleString(output, base, braces) {\n var numLinesEst = 0;\n var length = output.reduce(function(prev, cur) {\n numLinesEst++;\n if (cur.indexOf('\\n') >= 0)\n numLinesEst++;\n return prev + cur.replace(/\\u001b\\[\\d\\d?m/g, '').length + 1;\n }, 0);\n if (length > 60) {\n return braces[0] + (base === '' ? '' : base + '\\n ') + ' ' + output.join(',\\n ') + ' ' + braces[1];\n }\n return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1];\n }\n function isArray(ar) {\n return Array.isArray(ar);\n }\n exports.isArray = isArray;\n function isBoolean(arg) {\n return typeof arg === 'boolean';\n }\n exports.isBoolean = isBoolean;\n function isNull(arg) {\n return arg === null;\n }\n exports.isNull = isNull;\n function isNullOrUndefined(arg) {\n return arg == null;\n }\n exports.isNullOrUndefined = isNullOrUndefined;\n function isNumber(arg) {\n return typeof arg === 'number';\n }\n exports.isNumber = isNumber;\n function isString(arg) {\n return typeof arg === 'string';\n }\n exports.isString = isString;\n function isSymbol(arg) {\n return typeof arg === 'symbol';\n }\n exports.isSymbol = isSymbol;\n function isUndefined(arg) {\n return arg === void 0;\n }\n exports.isUndefined = isUndefined;\n function isRegExp(re) {\n return isObject(re) && objectToString(re) === '[object RegExp]';\n }\n exports.isRegExp = isRegExp;\n function isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n }\n exports.isObject = isObject;\n function isDate(d) {\n return isObject(d) && objectToString(d) === '[object Date]';\n }\n exports.isDate = isDate;\n function isError(e) {\n return isObject(e) && (objectToString(e) === '[object Error]' || e instanceof Error);\n }\n exports.isError = isError;\n function isFunction(arg) {\n return typeof arg === 'function';\n }\n exports.isFunction = isFunction;\n function isPrimitive(arg) {\n return arg === null || typeof arg === 'boolean' || typeof arg === 'number' || typeof arg === 'string' || typeof arg === 'symbol' || typeof arg === 'undefined';\n }\n exports.isPrimitive = isPrimitive;\n exports.isBuffer = require('./support/isBufferBrowser');\n function objectToString(o) {\n return Object.prototype.toString.call(o);\n }\n function pad(n) {\n return n < 10 ? '0' + n.toString(10) : n.toString(10);\n }\n var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'];\n function timestamp() {\n var d = new Date();\n var time = [pad(d.getHours()), pad(d.getMinutes()), pad(d.getSeconds())].join(':');\n return [d.getDate(), months[d.getMonth()], time].join(' ');\n }\n exports.log = function() {\n console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments));\n };\n exports.inherits = require('inherits');\n exports._extend = function(origin, add) {\n if (!add || !isObject(add))\n return origin;\n var keys = Object.keys(add);\n var i = keys.length;\n while (i--) {\n origin[keys[i]] = add[keys[i]];\n }\n return origin;\n };\n function hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n }\n})(require('process'));\n","module.exports = require(\"npm:util@0.10.3/util.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('util') : require('util');","module.exports = require(\"github:jspm/nodelibs-util@0.1.0/index\");","/**!\n * Ono v2.2.1\n *\n * @link https://github.com/BigstickCarpet/ono\n * @license MIT\n */\n'use strict';\n\nvar util = require('util'),\n slice = Array.prototype.slice,\n vendorSpecificErrorProperties = [\n 'name', 'message', 'description', 'number', 'fileName', 'lineNumber', 'columnNumber',\n 'sourceURL', 'line', 'column', 'stack'\n ];\n\nmodule.exports = create(Error);\nmodule.exports.error = create(Error);\nmodule.exports.eval = create(EvalError);\nmodule.exports.range = create(RangeError);\nmodule.exports.reference = create(ReferenceError);\nmodule.exports.syntax = create(SyntaxError);\nmodule.exports.type = create(TypeError);\nmodule.exports.uri = create(URIError);\nmodule.exports.formatter = util.format;\n\n/**\n * Creates a new {@link ono} function that creates the given Error class.\n *\n * @param {Class} Klass - The Error subclass to create\n * @returns {ono}\n */\nfunction create(Klass) {\n /**\n * @param {Error} [err] - The original error, if any\n * @param {object} [props] - An object whose properties will be added to the error object\n * @param {string} [message] - The error message. May contain {@link util#format} placeholders\n * @param {...*} [params] - Parameters that map to the `message` placeholders\n * @returns {Error}\n */\n return function ono(err, props, message, params) {\n var formattedMessage;\n var formatter = module.exports.formatter;\n\n if (typeof(err) === 'string') {\n formattedMessage = formatter.apply(null, arguments);\n err = props = undefined;\n }\n else if (typeof(props) === 'string') {\n formattedMessage = formatter.apply(null, slice.call(arguments, 1));\n }\n else {\n formattedMessage = formatter.apply(null, slice.call(arguments, 2));\n }\n\n if (!(err instanceof Error)) {\n props = err;\n err = undefined;\n }\n\n if (err) {\n // The inner-error's message will be added to the new message\n formattedMessage += (formattedMessage ? ' \\n' : '') + err.message;\n }\n\n // Create the new error\n // NOTE: DON'T move this to a separate function! We don't want to pollute the stack trace\n var newError = new Klass(formattedMessage);\n\n // Extend the new error with the additional properties\n extendError(newError, err); // Copy properties of the original error\n extendToJSON(newError); // Replace the original toJSON method\n extend(newError, props); // Copy custom properties, possibly including a custom toJSON method\n\n return newError;\n };\n}\n\n/**\n * Extends the targetError with the properties of the source error.\n *\n * @param {Error} targetError - The error object to extend\n * @param {?Error} sourceError - The source error object, if any\n */\nfunction extendError(targetError, sourceError) {\n if (sourceError) {\n extendStack(targetError, sourceError);\n extend(targetError, sourceError, true);\n }\n}\n\n/**\n * JavaScript engines differ in how errors are serialized to JSON - especially when it comes\n * to custom error properties and stack traces. So we add our own toJSON method that ALWAYS\n * outputs every property of the error.\n */\nfunction extendToJSON(error) {\n error.toJSON = errorToJSON;\n\n // Also add an inspect() method, for compatibility with Node.js' `util.inspect()` method\n error.inspect = errorToString;\n}\n\n/**\n * Extends the target object with the properties of the source object.\n *\n * @param {object} target - The object to extend\n * @param {?source} source - The object whose properties are copied\n * @param {boolean} omitVendorSpecificProperties - Skip vendor-specific Error properties\n */\nfunction extend(target, source, omitVendorSpecificProperties) {\n if (source && typeof(source) === 'object') {\n var keys = Object.keys(source);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n // Don't bother trying to copy read-only vendor-specific Error properties\n if (omitVendorSpecificProperties && vendorSpecificErrorProperties.indexOf(key) >= 0) {\n continue;\n }\n\n try {\n target[key] = source[key];\n }\n catch (e) {\n // This property is read-only, so it can't be copied\n }\n }\n }\n}\n\n/**\n * Custom JSON serializer for Error objects.\n * Returns all built-in error properties, as well as extended properties.\n *\n * @returns {object}\n */\nfunction errorToJSON() {\n // jshint -W040\n var json = {};\n\n // Get all the properties of this error\n var keys = Object.keys(this);\n\n // Also include vendor-specific properties from the prototype\n keys = keys.concat(vendorSpecificErrorProperties);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = this[key];\n var type = typeof value;\n if (type !== 'undefined' && type !== 'function') {\n json[key] = value;\n }\n }\n\n return json;\n}\n\n/**\n * Serializes Error objects as human-readable JSON strings for debugging/logging purposes.\n *\n * @returns {string}\n */\nfunction errorToString() {\n // jshint -W040\n return JSON.stringify(this, null, 2).replace(/\\\\n/g, '\\n');\n}\n\n/**\n * Extend the error stack to include its cause\n */\nfunction extendStack(targetError, sourceError) {\n if (hasLazyStack(sourceError)) {\n extendStackProperty(targetError, sourceError);\n }\n else {\n var stack = sourceError.stack;\n if (stack) {\n targetError.stack += ' \\n\\n' + sourceError.stack;\n }\n }\n}\n\n/**\n * Does a one-time determination of whether this JavaScript engine\n * supports lazy `Error.stack` properties.\n */\nvar supportsLazyStack = (function() {\n return !!(\n // ES5 property descriptors must be supported\n Object.getOwnPropertyDescriptor && Object.defineProperty &&\n\n // Chrome on Android doesn't support lazy stacks :(\n (typeof navigator === 'undefined' || !/Android/.test(navigator.userAgent))\n );\n})();\n\n/**\n * Does this error have a lazy stack property?\n *\n * @returns {boolean}\n */\nfunction hasLazyStack(err) {\n if (!supportsLazyStack) {\n return false;\n }\n var descriptor = Object.getOwnPropertyDescriptor(err, 'stack');\n if (!descriptor) {\n return false;\n }\n return typeof descriptor.get === 'function';\n}\n\n/**\n * Extend the error stack to include its cause, lazily\n */\nfunction extendStackProperty(targetError, sourceError) {\n var sourceStack = Object.getOwnPropertyDescriptor(sourceError, 'stack');\n if (sourceStack) {\n var targetStack = Object.getOwnPropertyDescriptor(targetError, 'stack');\n Object.defineProperty(targetError, 'stack', {\n get: function() {\n return targetStack.get.apply(targetError) + ' \\n\\n' + sourceError.stack;\n },\n enumerable: false,\n configurable: true\n });\n }\n}\n","module.exports = require(\"npm:ono@2.2.1/lib/index.js\");","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} options\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options){\n options = options || {};\n if ('string' == typeof val) return parse(val);\n return options.long\n ? long(val)\n : short(val);\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = '' + str;\n if (str.length > 10000) return;\n var match = /^((?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(str);\n if (!match) return;\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction short(ms) {\n if (ms >= d) return Math.round(ms / d) + 'd';\n if (ms >= h) return Math.round(ms / h) + 'h';\n if (ms >= m) return Math.round(ms / m) + 'm';\n if (ms >= s) return Math.round(ms / s) + 's';\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction long(ms) {\n return plural(ms, d, 'day')\n || plural(ms, h, 'hour')\n || plural(ms, m, 'minute')\n || plural(ms, s, 'second')\n || ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, n, name) {\n if (ms < n) return;\n if (ms < n * 1.5) return Math.floor(ms / n) + ' ' + name;\n return Math.ceil(ms / n) + ' ' + name + 's';\n}\n","module.exports = require(\"npm:ms@0.7.1/index\");","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n *\n * Expose `debug()` as the module.\n */\n\nexports = module.exports = debug;\nexports.coerce = coerce;\nexports.disable = disable;\nexports.enable = enable;\nexports.enabled = enabled;\nexports.humanize = require('ms');\n\n/**\n * The currently active debug mode names, and names to skip.\n */\n\nexports.names = [];\nexports.skips = [];\n\n/**\n * Map of special \"%n\" handling functions, for the debug \"format\" argument.\n *\n * Valid key names are a single, lowercased letter, i.e. \"n\".\n */\n\nexports.formatters = {};\n\n/**\n * Previously assigned color.\n */\n\nvar prevColor = 0;\n\n/**\n * Previous log timestamp.\n */\n\nvar prevTime;\n\n/**\n * Select a color.\n *\n * @return {Number}\n * @api private\n */\n\nfunction selectColor() {\n return exports.colors[prevColor++ % exports.colors.length];\n}\n\n/**\n * Create a debugger with the given `namespace`.\n *\n * @param {String} namespace\n * @return {Function}\n * @api public\n */\n\nfunction debug(namespace) {\n\n // define the `disabled` version\n function disabled() {\n }\n disabled.enabled = false;\n\n // define the `enabled` version\n function enabled() {\n\n var self = enabled;\n\n // set `diff` timestamp\n var curr = +new Date();\n var ms = curr - (prevTime || curr);\n self.diff = ms;\n self.prev = prevTime;\n self.curr = curr;\n prevTime = curr;\n\n // add the `color` if not set\n if (null == self.useColors) self.useColors = exports.useColors();\n if (null == self.color && self.useColors) self.color = selectColor();\n\n var args = Array.prototype.slice.call(arguments);\n\n args[0] = exports.coerce(args[0]);\n\n if ('string' !== typeof args[0]) {\n // anything else let's inspect with %o\n args = ['%o'].concat(args);\n }\n\n // apply any `formatters` transformations\n var index = 0;\n args[0] = args[0].replace(/%([a-z%])/g, function(match, format) {\n // if we encounter an escaped % then don't increase the array index\n if (match === '%%') return match;\n index++;\n var formatter = exports.formatters[format];\n if ('function' === typeof formatter) {\n var val = args[index];\n match = formatter.call(self, val);\n\n // now we need to remove `args[index]` since it's inlined in the `format`\n args.splice(index, 1);\n index--;\n }\n return match;\n });\n\n if ('function' === typeof exports.formatArgs) {\n args = exports.formatArgs.apply(self, args);\n }\n var logFn = enabled.log || exports.log || console.log.bind(console);\n logFn.apply(self, args);\n }\n enabled.enabled = true;\n\n var fn = exports.enabled(namespace) ? enabled : disabled;\n\n fn.namespace = namespace;\n\n return fn;\n}\n\n/**\n * Enables a debug mode by namespaces. This can include modes\n * separated by a colon and wildcards.\n *\n * @param {String} namespaces\n * @api public\n */\n\nfunction enable(namespaces) {\n exports.save(namespaces);\n\n var split = (namespaces || '').split(/[\\s,]+/);\n var len = split.length;\n\n for (var i = 0; i < len; i++) {\n if (!split[i]) continue; // ignore empty strings\n namespaces = split[i].replace(/\\*/g, '.*?');\n if (namespaces[0] === '-') {\n exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n } else {\n exports.names.push(new RegExp('^' + namespaces + '$'));\n }\n }\n}\n\n/**\n * Disable debug output.\n *\n * @api public\n */\n\nfunction disable() {\n exports.enable('');\n}\n\n/**\n * Returns true if the given mode name is enabled, false otherwise.\n *\n * @param {String} name\n * @return {Boolean}\n * @api public\n */\n\nfunction enabled(name) {\n var i, len;\n for (i = 0, len = exports.skips.length; i < len; i++) {\n if (exports.skips[i].test(name)) {\n return false;\n }\n }\n for (i = 0, len = exports.names.length; i < len; i++) {\n if (exports.names[i].test(name)) {\n return true;\n }\n }\n return false;\n}\n\n/**\n * Coerce `val`.\n *\n * @param {Mixed} val\n * @return {Mixed}\n * @api private\n */\n\nfunction coerce(val) {\n if (val instanceof Error) return val.stack || val.message;\n return val;\n}\n","/* */ \nexports = module.exports = require('./debug');\nexports.log = log;\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = 'undefined' != typeof chrome && 'undefined' != typeof chrome.storage ? chrome.storage.local : localstorage();\nexports.colors = ['lightseagreen', 'forestgreen', 'goldenrod', 'dodgerblue', 'darkorchid', 'crimson'];\nfunction useColors() {\n return ('WebkitAppearance' in document.documentElement.style) || (window.console && (console.firebug || (console.exception && console.table))) || (navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31);\n}\nexports.formatters.j = function(v) {\n return JSON.stringify(v);\n};\nfunction formatArgs() {\n var args = arguments;\n var useColors = this.useColors;\n args[0] = (useColors ? '%c' : '') + this.namespace + (useColors ? ' %c' : ' ') + args[0] + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff);\n if (!useColors)\n return args;\n var c = 'color: ' + this.color;\n args = [args[0], c, 'color: inherit'].concat(Array.prototype.slice.call(args, 1));\n var index = 0;\n var lastC = 0;\n args[0].replace(/%[a-z%]/g, function(match) {\n if ('%%' === match)\n return;\n index++;\n if ('%c' === match) {\n lastC = index;\n }\n });\n args.splice(lastC, 0, c);\n return args;\n}\nfunction log() {\n return 'object' === typeof console && console.log && Function.prototype.apply.call(console.log, console, arguments);\n}\nfunction save(namespaces) {\n try {\n if (null == namespaces) {\n exports.storage.removeItem('debug');\n } else {\n exports.storage.debug = namespaces;\n }\n } catch (e) {}\n}\nfunction load() {\n var r;\n try {\n r = exports.storage.debug;\n } catch (e) {}\n return r;\n}\nexports.enable(load());\nfunction localstorage() {\n try {\n return window.localStorage;\n } catch (e) {}\n}\n","module.exports = require(\"npm:debug@2.2.0/browser.js\");","/* */ \n'use strict';\n\nvar debug = require('debug');\n\n/**\n * Writes messages to stdout.\n * Log messages are suppressed by default, but can be enabled by setting the DEBUG variable.\n * @type {function}\n */\nmodule.exports = debug('json-schema-ref-parser');\n","/* */ \n\"format cjs\";\n(function(process) {\n ;\n (function(root) {\n var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n var freeModule = typeof module == 'object' && module && !module.nodeType && module;\n var freeGlobal = typeof global == 'object' && global;\n if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal || freeGlobal.self === freeGlobal) {\n root = freeGlobal;\n }\n var punycode,\n maxInt = 2147483647,\n base = 36,\n tMin = 1,\n tMax = 26,\n skew = 38,\n damp = 700,\n initialBias = 72,\n initialN = 128,\n delimiter = '-',\n regexPunycode = /^xn--/,\n regexNonASCII = /[^\\x20-\\x7E]/,\n regexSeparators = /[\\x2E\\u3002\\uFF0E\\uFF61]/g,\n errors = {\n 'overflow': 'Overflow: input needs wider integers to process',\n 'not-basic': 'Illegal input >= 0x80 (not a basic code point)',\n 'invalid-input': 'Invalid input'\n },\n baseMinusTMin = base - tMin,\n floor = Math.floor,\n stringFromCharCode = String.fromCharCode,\n key;\n function error(type) {\n throw RangeError(errors[type]);\n }\n function map(array, fn) {\n var length = array.length;\n var result = [];\n while (length--) {\n result[length] = fn(array[length]);\n }\n return result;\n }\n function mapDomain(string, fn) {\n var parts = string.split('@');\n var result = '';\n if (parts.length > 1) {\n result = parts[0] + '@';\n string = parts[1];\n }\n string = string.replace(regexSeparators, '\\x2E');\n var labels = string.split('.');\n var encoded = map(labels, fn).join('.');\n return result + encoded;\n }\n function ucs2decode(string) {\n var output = [],\n counter = 0,\n length = string.length,\n value,\n extra;\n while (counter < length) {\n value = string.charCodeAt(counter++);\n if (value >= 0xD800 && value <= 0xDBFF && counter < length) {\n extra = string.charCodeAt(counter++);\n if ((extra & 0xFC00) == 0xDC00) {\n output.push(((value & 0x3FF) << 10) + (extra & 0x3FF) + 0x10000);\n } else {\n output.push(value);\n counter--;\n }\n } else {\n output.push(value);\n }\n }\n return output;\n }\n function ucs2encode(array) {\n return map(array, function(value) {\n var output = '';\n if (value > 0xFFFF) {\n value -= 0x10000;\n output += stringFromCharCode(value >>> 10 & 0x3FF | 0xD800);\n value = 0xDC00 | value & 0x3FF;\n }\n output += stringFromCharCode(value);\n return output;\n }).join('');\n }\n function basicToDigit(codePoint) {\n if (codePoint - 48 < 10) {\n return codePoint - 22;\n }\n if (codePoint - 65 < 26) {\n return codePoint - 65;\n }\n if (codePoint - 97 < 26) {\n return codePoint - 97;\n }\n return base;\n }\n function digitToBasic(digit, flag) {\n return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);\n }\n function adapt(delta, numPoints, firstTime) {\n var k = 0;\n delta = firstTime ? floor(delta / damp) : delta >> 1;\n delta += floor(delta / numPoints);\n for (; delta > baseMinusTMin * tMax >> 1; k += base) {\n delta = floor(delta / baseMinusTMin);\n }\n return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));\n }\n function decode(input) {\n var output = [],\n inputLength = input.length,\n out,\n i = 0,\n n = initialN,\n bias = initialBias,\n basic,\n j,\n index,\n oldi,\n w,\n k,\n digit,\n t,\n baseMinusT;\n basic = input.lastIndexOf(delimiter);\n if (basic < 0) {\n basic = 0;\n }\n for (j = 0; j < basic; ++j) {\n if (input.charCodeAt(j) >= 0x80) {\n error('not-basic');\n }\n output.push(input.charCodeAt(j));\n }\n for (index = basic > 0 ? basic + 1 : 0; index < inputLength; ) {\n for (oldi = i, w = 1, k = base; ; k += base) {\n if (index >= inputLength) {\n error('invalid-input');\n }\n digit = basicToDigit(input.charCodeAt(index++));\n if (digit >= base || digit > floor((maxInt - i) / w)) {\n error('overflow');\n }\n i += digit * w;\n t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (digit < t) {\n break;\n }\n baseMinusT = base - t;\n if (w > floor(maxInt / baseMinusT)) {\n error('overflow');\n }\n w *= baseMinusT;\n }\n out = output.length + 1;\n bias = adapt(i - oldi, out, oldi == 0);\n if (floor(i / out) > maxInt - n) {\n error('overflow');\n }\n n += floor(i / out);\n i %= out;\n output.splice(i++, 0, n);\n }\n return ucs2encode(output);\n }\n function encode(input) {\n var n,\n delta,\n handledCPCount,\n basicLength,\n bias,\n j,\n m,\n q,\n k,\n t,\n currentValue,\n output = [],\n inputLength,\n handledCPCountPlusOne,\n baseMinusT,\n qMinusT;\n input = ucs2decode(input);\n inputLength = input.length;\n n = initialN;\n delta = 0;\n bias = initialBias;\n for (j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue < 0x80) {\n output.push(stringFromCharCode(currentValue));\n }\n }\n handledCPCount = basicLength = output.length;\n if (basicLength) {\n output.push(delimiter);\n }\n while (handledCPCount < inputLength) {\n for (m = maxInt, j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue >= n && currentValue < m) {\n m = currentValue;\n }\n }\n handledCPCountPlusOne = handledCPCount + 1;\n if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) {\n error('overflow');\n }\n delta += (m - n) * handledCPCountPlusOne;\n n = m;\n for (j = 0; j < inputLength; ++j) {\n currentValue = input[j];\n if (currentValue < n && ++delta > maxInt) {\n error('overflow');\n }\n if (currentValue == n) {\n for (q = delta, k = base; ; k += base) {\n t = k <= bias ? tMin : (k >= bias + tMax ? tMax : k - bias);\n if (q < t) {\n break;\n }\n qMinusT = q - t;\n baseMinusT = base - t;\n output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));\n q = floor(qMinusT / baseMinusT);\n }\n output.push(stringFromCharCode(digitToBasic(q, 0)));\n bias = adapt(delta, handledCPCountPlusOne, handledCPCount == basicLength);\n delta = 0;\n ++handledCPCount;\n }\n }\n ++delta;\n ++n;\n }\n return output.join('');\n }\n function toUnicode(input) {\n return mapDomain(input, function(string) {\n return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;\n });\n }\n function toASCII(input) {\n return mapDomain(input, function(string) {\n return regexNonASCII.test(string) ? 'xn--' + encode(string) : string;\n });\n }\n punycode = {\n 'version': '1.3.2',\n 'ucs2': {\n 'decode': ucs2decode,\n 'encode': ucs2encode\n },\n 'decode': decode,\n 'encode': encode,\n 'toASCII': toASCII,\n 'toUnicode': toUnicode\n };\n if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {\n define('punycode', function() {\n return punycode;\n });\n } else if (freeExports && freeModule) {\n if (module.exports == freeExports) {\n freeModule.exports = punycode;\n } else {\n for (key in punycode) {\n punycode.hasOwnProperty(key) && (freeExports[key] = punycode[key]);\n }\n }\n } else {\n root.punycode = punycode;\n }\n }(this));\n})(require('process'));\n","module.exports = require(\"npm:punycode@1.3.2/punycode.js\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n// If obj.hasOwnProperty has been overridden, then calling\n// obj.hasOwnProperty(prop) will break.\n// See: https://github.com/joyent/node/issues/1707\nfunction hasOwnProperty(obj, prop) {\n return Object.prototype.hasOwnProperty.call(obj, prop);\n}\n\nmodule.exports = function(qs, sep, eq, options) {\n sep = sep || '&';\n eq = eq || '=';\n var obj = {};\n\n if (typeof qs !== 'string' || qs.length === 0) {\n return obj;\n }\n\n var regexp = /\\+/g;\n qs = qs.split(sep);\n\n var maxKeys = 1000;\n if (options && typeof options.maxKeys === 'number') {\n maxKeys = options.maxKeys;\n }\n\n var len = qs.length;\n // maxKeys <= 0 means that we should not limit keys count\n if (maxKeys > 0 && len > maxKeys) {\n len = maxKeys;\n }\n\n for (var i = 0; i < len; ++i) {\n var x = qs[i].replace(regexp, '%20'),\n idx = x.indexOf(eq),\n kstr, vstr, k, v;\n\n if (idx >= 0) {\n kstr = x.substr(0, idx);\n vstr = x.substr(idx + 1);\n } else {\n kstr = x;\n vstr = '';\n }\n\n k = decodeURIComponent(kstr);\n v = decodeURIComponent(vstr);\n\n if (!hasOwnProperty(obj, k)) {\n obj[k] = v;\n } else if (Array.isArray(obj[k])) {\n obj[k].push(v);\n } else {\n obj[k] = [obj[k], v];\n }\n }\n\n return obj;\n};\n","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\nvar stringifyPrimitive = function(v) {\n switch (typeof v) {\n case 'string':\n return v;\n\n case 'boolean':\n return v ? 'true' : 'false';\n\n case 'number':\n return isFinite(v) ? v : '';\n\n default:\n return '';\n }\n};\n\nmodule.exports = function(obj, sep, eq, name) {\n sep = sep || '&';\n eq = eq || '=';\n if (obj === null) {\n obj = undefined;\n }\n\n if (typeof obj === 'object') {\n return Object.keys(obj).map(function(k) {\n var ks = encodeURIComponent(stringifyPrimitive(k)) + eq;\n if (Array.isArray(obj[k])) {\n return obj[k].map(function(v) {\n return ks + encodeURIComponent(stringifyPrimitive(v));\n }).join(sep);\n } else {\n return ks + encodeURIComponent(stringifyPrimitive(obj[k]));\n }\n }).join(sep);\n\n }\n\n if (!name) return '';\n return encodeURIComponent(stringifyPrimitive(name)) + eq +\n encodeURIComponent(stringifyPrimitive(obj));\n};\n","/* */ \n'use strict';\nexports.decode = exports.parse = require('./decode');\nexports.encode = exports.stringify = require('./encode');\n","module.exports = require(\"npm:querystring@0.2.0/index\");","// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\nvar punycode = require('punycode');\n\nexports.parse = urlParse;\nexports.resolve = urlResolve;\nexports.resolveObject = urlResolveObject;\nexports.format = urlFormat;\n\nexports.Url = Url;\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.host = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.query = null;\n this.pathname = null;\n this.path = null;\n this.href = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = ['<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t'],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = ['{', '}', '|', '\\\\', '^', '`'].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = ['\\''].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = ['%', '/', '?', ';', '#'].concat(autoEscape),\n hostEndingChars = ['/', '?', '#'],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n unsafeProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n },\n querystring = require('querystring');\n\nfunction urlParse(url, parseQueryString, slashesDenoteHost) {\n if (url && isObject(url) && url instanceof Url) return url;\n\n var u = new Url;\n u.parse(url, parseQueryString, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {\n if (!isString(url)) {\n throw new TypeError(\"Parameter 'url' must be a string, not \" + typeof url);\n }\n\n var rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n var lowerProto = proto.toLowerCase();\n this.protocol = lowerProto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n var slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (var i = 0; i < hostEndingChars.length; i++) {\n var hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = decodeURIComponent(auth);\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (var i = 0; i < nonHostChars.length; i++) {\n var hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd))\n hostEnd = hec;\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1)\n hostEnd = rest.length;\n\n this.host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost();\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (var i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) continue;\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = '/' + notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n } else {\n // hostnames are always lower case.\n this.hostname = this.hostname.toLowerCase();\n }\n\n if (!ipv6Hostname) {\n // IDNA Support: Returns a puny coded representation of \"domain\".\n // It only converts the part of the domain name that\n // has non ASCII characters. I.e. it dosent matter if\n // you call it with a domain that already is in ASCII.\n var domainArray = this.hostname.split('.');\n var newOut = [];\n for (var i = 0; i < domainArray.length; ++i) {\n var s = domainArray[i];\n newOut.push(s.match(/[^A-Za-z0-9_-]/) ?\n 'xn--' + punycode.encode(s) : s);\n }\n this.hostname = newOut.join('.');\n }\n\n var p = this.port ? ':' + this.port : '';\n var h = this.hostname || '';\n this.host = h + p;\n this.href += this.host;\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n if (rest[0] !== '/') {\n rest = '/' + rest;\n }\n }\n }\n\n // now rest is set to the post-host stuff.\n // chop off any delim chars.\n if (!unsafeProtocol[lowerProto]) {\n\n // First, make 100% sure that any \"autoEscape\" chars get\n // escaped, even if encodeURIComponent doesn't think they\n // need to be.\n for (var i = 0, l = autoEscape.length; i < l; i++) {\n var ae = autoEscape[i];\n var esc = encodeURIComponent(ae);\n if (esc === ae) {\n esc = escape(ae);\n }\n rest = rest.split(ae).join(esc);\n }\n }\n\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n this.query = rest.substr(qm + 1);\n if (parseQueryString) {\n this.query = querystring.parse(this.query);\n }\n rest = rest.slice(0, qm);\n } else if (parseQueryString) {\n // no query string, but parseQueryString still requested\n this.search = '';\n this.query = {};\n }\n if (rest) this.pathname = rest;\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '/';\n }\n\n //to support http.request\n if (this.pathname || this.search) {\n var p = this.pathname || '';\n var s = this.search || '';\n this.path = p + s;\n }\n\n // finally, reconstruct the href based on what has been validated.\n this.href = this.format();\n return this;\n};\n\n// format a parsed object into a url string\nfunction urlFormat(obj) {\n // ensure it's an object, and not a string url.\n // If it's an obj, this is a no-op.\n // this way, you can call url_format() on strings\n // to clean up potentially wonky urls.\n if (isString(obj)) obj = urlParse(obj);\n if (!(obj instanceof Url)) return Url.prototype.format.call(obj);\n return obj.format();\n}\n\nUrl.prototype.format = function() {\n var auth = this.auth || '';\n if (auth) {\n auth = encodeURIComponent(auth);\n auth = auth.replace(/%3A/i, ':');\n auth += '@';\n }\n\n var protocol = this.protocol || '',\n pathname = this.pathname || '',\n hash = this.hash || '',\n host = false,\n query = '';\n\n if (this.host) {\n host = auth + this.host;\n } else if (this.hostname) {\n host = auth + (this.hostname.indexOf(':') === -1 ?\n this.hostname :\n '[' + this.hostname + ']');\n if (this.port) {\n host += ':' + this.port;\n }\n }\n\n if (this.query &&\n isObject(this.query) &&\n Object.keys(this.query).length) {\n query = querystring.stringify(this.query);\n }\n\n var search = this.search || (query && ('?' + query)) || '';\n\n if (protocol && protocol.substr(-1) !== ':') protocol += ':';\n\n // only the slashedProtocols get the //. Not mailto:, xmpp:, etc.\n // unless they had them to begin with.\n if (this.slashes ||\n (!protocol || slashedProtocol[protocol]) && host !== false) {\n host = '//' + (host || '');\n if (pathname && pathname.charAt(0) !== '/') pathname = '/' + pathname;\n } else if (!host) {\n host = '';\n }\n\n if (hash && hash.charAt(0) !== '#') hash = '#' + hash;\n if (search && search.charAt(0) !== '?') search = '?' + search;\n\n pathname = pathname.replace(/[?#]/g, function(match) {\n return encodeURIComponent(match);\n });\n search = search.replace('#', '%23');\n\n return protocol + host + pathname + search + hash;\n};\n\nfunction urlResolve(source, relative) {\n return urlParse(source, false, true).resolve(relative);\n}\n\nUrl.prototype.resolve = function(relative) {\n return this.resolveObject(urlParse(relative, false, true)).format();\n};\n\nfunction urlResolveObject(source, relative) {\n if (!source) return relative;\n return urlParse(source, false, true).resolveObject(relative);\n}\n\nUrl.prototype.resolveObject = function(relative) {\n if (isString(relative)) {\n var rel = new Url();\n rel.parse(relative, false, true);\n relative = rel;\n }\n\n var result = new Url();\n Object.keys(this).forEach(function(k) {\n result[k] = this[k];\n }, this);\n\n // hash is always overridden, no matter what.\n // even href=\"\" will remove it.\n result.hash = relative.hash;\n\n // if the relative url is empty, then there's nothing left to do here.\n if (relative.href === '') {\n result.href = result.format();\n return result;\n }\n\n // hrefs like //foo/bar always cut to the protocol.\n if (relative.slashes && !relative.protocol) {\n // take everything except the protocol from relative\n Object.keys(relative).forEach(function(k) {\n if (k !== 'protocol')\n result[k] = relative[k];\n });\n\n //urlParse appends trailing / to urls like http://www.example.com\n if (slashedProtocol[result.protocol] &&\n result.hostname && !result.pathname) {\n result.path = result.pathname = '/';\n }\n\n result.href = result.format();\n return result;\n }\n\n if (relative.protocol && relative.protocol !== result.protocol) {\n // if it's a known url protocol, then changing\n // the protocol does weird things\n // first, if it's not file:, then we MUST have a host,\n // and if there was a path\n // to begin with, then we MUST have a path.\n // if it is file:, then the host is dropped,\n // because that's known to be hostless.\n // anything else is assumed to be absolute.\n if (!slashedProtocol[relative.protocol]) {\n Object.keys(relative).forEach(function(k) {\n result[k] = relative[k];\n });\n result.href = result.format();\n return result;\n }\n\n result.protocol = relative.protocol;\n if (!relative.host && !hostlessProtocol[relative.protocol]) {\n var relPath = (relative.pathname || '').split('/');\n while (relPath.length && !(relative.host = relPath.shift()));\n if (!relative.host) relative.host = '';\n if (!relative.hostname) relative.hostname = '';\n if (relPath[0] !== '') relPath.unshift('');\n if (relPath.length < 2) relPath.unshift('');\n result.pathname = relPath.join('/');\n } else {\n result.pathname = relative.pathname;\n }\n result.search = relative.search;\n result.query = relative.query;\n result.host = relative.host || '';\n result.auth = relative.auth;\n result.hostname = relative.hostname || relative.host;\n result.port = relative.port;\n // to support http.request\n if (result.pathname || result.search) {\n var p = result.pathname || '';\n var s = result.search || '';\n result.path = p + s;\n }\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n }\n\n var isSourceAbs = (result.pathname && result.pathname.charAt(0) === '/'),\n isRelAbs = (\n relative.host ||\n relative.pathname && relative.pathname.charAt(0) === '/'\n ),\n mustEndAbs = (isRelAbs || isSourceAbs ||\n (result.host && relative.pathname)),\n removeAllDots = mustEndAbs,\n srcPath = result.pathname && result.pathname.split('/') || [],\n relPath = relative.pathname && relative.pathname.split('/') || [],\n psychotic = result.protocol && !slashedProtocol[result.protocol];\n\n // if the url is a non-slashed url, then relative\n // links like ../.. should be able\n // to crawl up to the hostname, as well. This is strange.\n // result.protocol has already been set by now.\n // Later on, put the first path part into the host field.\n if (psychotic) {\n result.hostname = '';\n result.port = null;\n if (result.host) {\n if (srcPath[0] === '') srcPath[0] = result.host;\n else srcPath.unshift(result.host);\n }\n result.host = '';\n if (relative.protocol) {\n relative.hostname = null;\n relative.port = null;\n if (relative.host) {\n if (relPath[0] === '') relPath[0] = relative.host;\n else relPath.unshift(relative.host);\n }\n relative.host = null;\n }\n mustEndAbs = mustEndAbs && (relPath[0] === '' || srcPath[0] === '');\n }\n\n if (isRelAbs) {\n // it's absolute.\n result.host = (relative.host || relative.host === '') ?\n relative.host : result.host;\n result.hostname = (relative.hostname || relative.hostname === '') ?\n relative.hostname : result.hostname;\n result.search = relative.search;\n result.query = relative.query;\n srcPath = relPath;\n // fall through to the dot-handling below.\n } else if (relPath.length) {\n // it's relative\n // throw away the existing file, and take the new path instead.\n if (!srcPath) srcPath = [];\n srcPath.pop();\n srcPath = srcPath.concat(relPath);\n result.search = relative.search;\n result.query = relative.query;\n } else if (!isNullOrUndefined(relative.search)) {\n // just pull out the search.\n // like href='?foo'.\n // Put this after the other two cases because it simplifies the booleans\n if (psychotic) {\n result.hostname = result.host = srcPath.shift();\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n result.search = relative.search;\n result.query = relative.query;\n //to support http.request\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.href = result.format();\n return result;\n }\n\n if (!srcPath.length) {\n // no path at all. easy.\n // we've already handled the other stuff above.\n result.pathname = null;\n //to support http.request\n if (result.search) {\n result.path = '/' + result.search;\n } else {\n result.path = null;\n }\n result.href = result.format();\n return result;\n }\n\n // if a url ENDs in . or .., then it must get a trailing slash.\n // however, if it ends in anything else non-slashy,\n // then it must NOT get a trailing slash.\n var last = srcPath.slice(-1)[0];\n var hasTrailingSlash = (\n (result.host || relative.host) && (last === '.' || last === '..') ||\n last === '');\n\n // strip single dots, resolve double dots to parent dir\n // if the path tries to go above the root, `up` ends up > 0\n var up = 0;\n for (var i = srcPath.length; i >= 0; i--) {\n last = srcPath[i];\n if (last == '.') {\n srcPath.splice(i, 1);\n } else if (last === '..') {\n srcPath.splice(i, 1);\n up++;\n } else if (up) {\n srcPath.splice(i, 1);\n up--;\n }\n }\n\n // if the path is allowed to go above the root, restore leading ..s\n if (!mustEndAbs && !removeAllDots) {\n for (; up--; up) {\n srcPath.unshift('..');\n }\n }\n\n if (mustEndAbs && srcPath[0] !== '' &&\n (!srcPath[0] || srcPath[0].charAt(0) !== '/')) {\n srcPath.unshift('');\n }\n\n if (hasTrailingSlash && (srcPath.join('/').substr(-1) !== '/')) {\n srcPath.push('');\n }\n\n var isAbsolute = srcPath[0] === '' ||\n (srcPath[0] && srcPath[0].charAt(0) === '/');\n\n // put the host back\n if (psychotic) {\n result.hostname = result.host = isAbsolute ? '' :\n srcPath.length ? srcPath.shift() : '';\n //occationaly the auth can get stuck only in host\n //this especialy happens in cases like\n //url.resolveObject('mailto:local1@domain1', 'local2@domain2')\n var authInHost = result.host && result.host.indexOf('@') > 0 ?\n result.host.split('@') : false;\n if (authInHost) {\n result.auth = authInHost.shift();\n result.host = result.hostname = authInHost.shift();\n }\n }\n\n mustEndAbs = mustEndAbs || (result.host && srcPath.length);\n\n if (mustEndAbs && !isAbsolute) {\n srcPath.unshift('');\n }\n\n if (!srcPath.length) {\n result.pathname = null;\n result.path = null;\n } else {\n result.pathname = srcPath.join('/');\n }\n\n //to support request.http\n if (!isNull(result.pathname) || !isNull(result.search)) {\n result.path = (result.pathname ? result.pathname : '') +\n (result.search ? result.search : '');\n }\n result.auth = relative.auth || result.auth;\n result.slashes = result.slashes || relative.slashes;\n result.href = result.format();\n return result;\n};\n\nUrl.prototype.parseHost = function() {\n var host = this.host;\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) this.hostname = host;\n};\n\nfunction isString(arg) {\n return typeof arg === \"string\";\n}\n\nfunction isObject(arg) {\n return typeof arg === 'object' && arg !== null;\n}\n\nfunction isNull(arg) {\n return arg === null;\n}\nfunction isNullOrUndefined(arg) {\n return arg == null;\n}\n","module.exports = require(\"npm:url@0.10.3/url.js\");","/* */ \nmodule.exports = System._nodeRequire ? System._nodeRequire('url') : require('url');","module.exports = require(\"github:jspm/nodelibs-url@0.1.0/index\");","/* */ \n(function(process) {\n 'use strict';\n var isWindows = /^win/.test(process.platform),\n forwardSlashPattern = /\\//g,\n protocolPattern = /^([a-z0-9.+-]+):\\/\\//i,\n url = module.exports;\n var urlEncodePatterns = [/\\?/g, '%3F', /\\#/g, '%23', isWindows ? /\\\\/g : /\\//, '/'];\n var urlDecodePatterns = [/\\%23/g, '#', /\\%24/g, '$', /\\%26/g, '&', /\\%2C/g, ',', /\\%40/g, '@'];\n exports.parse = require('url').parse;\n exports.resolve = require('url').resolve;\n exports.cwd = function cwd() {\n return process.browser ? location.href : process.cwd() + '/';\n };\n exports.getProtocol = function getProtocol(path) {\n var match = protocolPattern.exec(path);\n if (match) {\n return match[1].toLowerCase();\n }\n };\n exports.getExtension = function getExtension(path) {\n var lastDot = path.lastIndexOf('.');\n if (lastDot >= 0) {\n return path.substr(lastDot).toLowerCase();\n }\n return '';\n };\n exports.getHash = function getHash(path) {\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n return path.substr(hashIndex);\n }\n return '#';\n };\n exports.stripHash = function stripHash(path) {\n var hashIndex = path.indexOf('#');\n if (hashIndex >= 0) {\n path = path.substr(0, hashIndex);\n }\n return path;\n };\n exports.isHttp = function isHttp(path) {\n var protocol = url.getProtocol(path);\n if (protocol === 'http' || protocol === 'https') {\n return true;\n } else if (protocol === undefined) {\n return process.browser;\n } else {\n return false;\n }\n };\n exports.isFileSystemPath = function isFileSystemPath(path) {\n if (process.browser) {\n return false;\n }\n var protocol = url.getProtocol(path);\n return protocol === undefined || protocol === 'file';\n };\n exports.fromFileSystemPath = function fromFileSystemPath(path) {\n for (var i = 0; i < urlEncodePatterns.length; i += 2) {\n path = path.replace(urlEncodePatterns[i], urlEncodePatterns[i + 1]);\n }\n return encodeURI(path);\n };\n exports.toFileSystemPath = function toFileSystemPath(path, keepFileProtocol) {\n path = decodeURI(path);\n for (var i = 0; i < urlDecodePatterns.length; i += 2) {\n path = path.replace(urlDecodePatterns[i], urlDecodePatterns[i + 1]);\n }\n var isFileUrl = path.substr(0, 7).toLowerCase() === 'file://';\n if (isFileUrl) {\n path = path[7] === '/' ? path.substr(8) : path.substr(7);\n if (isWindows && path[1] === '/') {\n path = path[0] + ':' + path.substr(1);\n }\n if (keepFileProtocol) {\n path = 'file:///' + path;\n } else {\n isFileUrl = false;\n path = isWindows ? path : '/' + path;\n }\n }\n if (isWindows && !isFileUrl) {\n path = path.replace(forwardSlashPattern, '\\\\');\n }\n return path;\n };\n})(require('process'));\n","/* */ \n'use strict';\nvar $Ref = require('./ref'),\n Pointer = require('./pointer'),\n ono = require('ono'),\n debug = require('./util/debug'),\n url = require('./util/url');\nmodule.exports = dereference;\nfunction dereference(parser, options) {\n debug('Dereferencing $ref pointers in %s', parser.$refs._root$Ref.path);\n var dereferenced = crawl(parser.schema, parser.$refs._root$Ref.path, '#', [], parser.$refs, options);\n parser.$refs.circular = dereferenced.circular;\n parser.schema = dereferenced.value;\n}\nfunction crawl(obj, path, pathFromRoot, parents, $refs, options) {\n var dereferenced;\n var result = {\n value: obj,\n circular: false\n };\n if (obj && typeof obj === 'object') {\n parents.push(obj);\n if ($Ref.isAllowed$Ref(obj, options)) {\n dereferenced = dereference$Ref(obj, path, pathFromRoot, parents, $refs, options);\n result.circular = dereferenced.circular;\n result.value = dereferenced.value;\n } else {\n Object.keys(obj).forEach(function(key) {\n var keyPath = Pointer.join(path, key);\n var keyPathFromRoot = Pointer.join(pathFromRoot, key);\n var value = obj[key];\n var circular = false;\n if ($Ref.isAllowed$Ref(value, options)) {\n dereferenced = dereference$Ref(value, keyPath, keyPathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n obj[key] = dereferenced.value;\n } else {\n if (parents.indexOf(value) === -1) {\n dereferenced = crawl(value, keyPath, keyPathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n obj[key] = dereferenced.value;\n } else {\n circular = foundCircularReference(keyPath, $refs, options);\n }\n }\n result.circular = result.circular || circular;\n });\n }\n parents.pop();\n }\n return result;\n}\nfunction dereference$Ref($ref, path, pathFromRoot, parents, $refs, options) {\n debug('Dereferencing $ref pointer \"%s\" at %s', $ref.$ref, path);\n var $refPath = url.resolve(path, $ref.$ref);\n var pointer = $refs._resolve($refPath, options);\n var directCircular = pointer.circular;\n var circular = directCircular || parents.indexOf(pointer.value) !== -1;\n circular && foundCircularReference(path, $refs, options);\n var dereferencedValue = $Ref.dereference($ref, pointer.value);\n if (!circular) {\n var dereferenced = crawl(dereferencedValue, pointer.path, pathFromRoot, parents, $refs, options);\n circular = dereferenced.circular;\n dereferencedValue = dereferenced.value;\n }\n if (circular && !directCircular && options.dereference.circular === 'ignore') {\n dereferencedValue = $ref;\n }\n if (directCircular) {\n dereferencedValue.$ref = pathFromRoot;\n }\n return {\n circular: circular,\n value: dereferencedValue\n };\n}\nfunction foundCircularReference(keyPath, $refs, options) {\n $refs.circular = true;\n if (!options.dereference.circular) {\n throw ono.reference('Circular $ref pointer found at %s', keyPath);\n }\n return true;\n}\n","/* */ \n'use strict';\nvar validateSchema = require('./validate-schema'),\n validateSpec = require('./validate-spec'),\n util = require('./util'),\n Options = require('./options'),\n Promise = require('./promise'),\n maybe = require('call-me-maybe'),\n ono = require('ono'),\n $RefParser = require('json-schema-ref-parser'),\n dereference = require('json-schema-ref-parser/lib/dereference');\nmodule.exports = SwaggerParser;\nfunction SwaggerParser() {\n $RefParser.apply(this, arguments);\n}\nutil.inherits(SwaggerParser, $RefParser);\nSwaggerParser.YAML = $RefParser.YAML;\nSwaggerParser.parse = $RefParser.parse;\nSwaggerParser.resolve = $RefParser.resolve;\nSwaggerParser.bundle = $RefParser.bundle;\nSwaggerParser.dereference = $RefParser.dereference;\nObject.defineProperty(SwaggerParser.prototype, 'api', {\n configurable: true,\n enumerable: true,\n get: function() {\n return this.schema;\n }\n});\nSwaggerParser.prototype.parse = function(api, options, callback) {\n var args = normalizeArgs(arguments);\n return $RefParser.prototype.parse.call(this, args.path, args.api, args.options).then(function(schema) {\n var supportedSwaggerVersions = ['2.0'];\n if (schema.swagger === undefined || schema.info === undefined || schema.paths === undefined) {\n throw ono.syntax('%s is not a valid Swagger API definition', args.path || args.api);\n } else if (typeof schema.swagger === 'number') {\n throw ono.syntax('Swagger version number must be a string (e.g. \"2.0\") not a number.');\n } else if (typeof schema.info.version === 'number') {\n throw ono.syntax('API version number must be a string (e.g. \"1.0.0\") not a number.');\n } else if (supportedSwaggerVersions.indexOf(schema.swagger) === -1) {\n throw ono.syntax('Unsupported Swagger version: %d. Swagger Parser only supports version %s', schema.swagger, supportedSwaggerVersions.join(', '));\n }\n return maybe(args.callback, Promise.resolve(schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n};\nSwaggerParser.validate = function(api, options, callback) {\n var Class = this;\n var instance = new Class();\n return instance.validate.apply(instance, arguments);\n};\nSwaggerParser.prototype.validate = function(api, options, callback) {\n var me = this;\n var args = normalizeArgs(arguments);\n var circular$RefOption = args.options.dereference.circular;\n args.options.validate.schema && (args.options.dereference.circular = 'ignore');\n return this.dereference(args.path, args.api, args.options).then(function() {\n args.options.dereference.circular = circular$RefOption;\n if (args.options.validate.schema) {\n validateSchema(me.api);\n if (me.$refs.circular) {\n if (circular$RefOption === true) {\n dereference(me, args.options);\n } else if (circular$RefOption === false) {\n throw ono.reference('The API contains circular references');\n }\n }\n }\n if (args.options.validate.spec) {\n validateSpec(me.api);\n }\n return maybe(args.callback, Promise.resolve(me.schema));\n }).catch(function(err) {\n return maybe(args.callback, Promise.reject(err));\n });\n};\nfunction normalizeArgs(args) {\n var path,\n api,\n options,\n callback;\n args = Array.prototype.slice.call(args);\n if (typeof args[args.length - 1] === 'function') {\n callback = args.pop();\n }\n if (typeof args[0] === 'string') {\n path = args[0];\n if (typeof args[2] === 'object') {\n api = args[1];\n options = args[2];\n } else {\n api = undefined;\n options = args[1];\n }\n } else {\n path = '';\n api = args[0];\n options = args[1];\n }\n if (!(options instanceof Options)) {\n options = new Options(options);\n }\n return {\n path: path,\n api: api,\n options: options,\n callback: callback\n };\n}\n","module.exports = require(\"npm:swagger-parser@4.0.0-beta.2/lib/index.js\");","/* */ \nvar $export = require('./$.export'),\n core = require('./$.core'),\n fails = require('./$.fails');\nmodule.exports = function(KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY],\n exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function() {\n fn(1);\n }), 'Object', exp);\n};\n","/* */ \nvar toIObject = require('./$.to-iobject');\nrequire('./$.object-sap')('getOwnPropertyDescriptor', function($getOwnPropertyDescriptor) {\n return function getOwnPropertyDescriptor(it, key) {\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n","/* */ \nvar $ = require('../../modules/$');\nrequire('../../modules/es6.object.get-own-property-descriptor');\nmodule.exports = function getOwnPropertyDescriptor(it, key) {\n return $.getDesc(it, key);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/get-own-property-descriptor\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$getOwnPropertyDescriptor = require('../core-js/object/get-own-property-descriptor')[\"default\"];\nexports[\"default\"] = function get(_x, _x2, _x3) {\n var _again = true;\n _function: while (_again) {\n var object = _x,\n property = _x2,\n receiver = _x3;\n _again = false;\n if (object === null)\n object = Function.prototype;\n var desc = _Object$getOwnPropertyDescriptor(object, property);\n if (desc === undefined) {\n var parent = Object.getPrototypeOf(object);\n if (parent === null) {\n return undefined;\n } else {\n _x = parent;\n _x2 = property;\n _x3 = receiver;\n _again = true;\n desc = parent = undefined;\n continue _function;\n }\n } else if (\"value\" in desc) {\n return desc.value;\n } else {\n var getter = desc.get;\n if (getter === undefined) {\n return undefined;\n }\n return getter.call(receiver);\n }\n }\n};\nexports.__esModule = true;\n","/* */ \nvar $ = require('../../modules/$');\nmodule.exports = function create(P, D) {\n return $.create(P, D);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/create\"), __esModule: true };","/* */ \nvar getDesc = require('./$').getDesc,\n isObject = require('./$.is-object'),\n anObject = require('./$.an-object');\nvar check = function(O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null)\n throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? function(test, buggy, set) {\n try {\n set = require('./$.ctx')(Function.call, getDesc(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) {\n buggy = true;\n }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy)\n O.__proto__ = proto;\n else\n set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","/* */ \nvar $export = require('./$.export');\n$export($export.S, 'Object', {setPrototypeOf: require('./$.set-proto').set});\n","/* */ \nrequire('../../modules/es6.object.set-prototype-of');\nmodule.exports = require('../../modules/$.core').Object.setPrototypeOf;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/set-prototype-of\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$create = require('../core-js/object/create')[\"default\"];\nvar _Object$setPrototypeOf = require('../core-js/object/set-prototype-of')[\"default\"];\nexports[\"default\"] = function(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n subClass.prototype = _Object$create(superClass && superClass.prototype, {constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }});\n if (superClass)\n _Object$setPrototypeOf ? _Object$setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\nexports.__esModule = true;\n","/* */ \n\nvar hasOwn = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nmodule.exports = function forEach (obj, fn, ctx) {\n if (toString.call(fn) !== '[object Function]') {\n throw new TypeError('iterator must be a function');\n }\n var l = obj.length;\n if (l === +l) {\n for (var i = 0; i < l; i++) {\n fn.call(ctx, obj[i], i, obj);\n }\n } else {\n for (var k in obj) {\n if (hasOwn.call(obj, k)) {\n fn.call(ctx, obj[k], k, obj);\n }\n }\n }\n};\n\n","module.exports = require(\"npm:foreach@2.0.5/index.js\");","/* */ \n'use strict';\n\nvar each = require('foreach');\nmodule.exports = api;\n\n\n/**\n * Convenience wrapper around the api.\n * Calls `.get` when called with an `object` and a `pointer`.\n * Calls `.set` when also called with `value`.\n * If only supplied `object`, returns a partially applied function, mapped to the object.\n *\n * @param obj\n * @param pointer\n * @param value\n * @returns {*}\n */\n\nfunction api (obj, pointer, value) {\n // .set()\n if (arguments.length === 3) {\n return api.set(obj, pointer, value);\n }\n // .get()\n if (arguments.length === 2) {\n return api.get(obj, pointer);\n }\n // Return a partially applied function on `obj`.\n var wrapped = api.bind(api, obj);\n\n // Support for oo style\n for (var name in api) {\n if (api.hasOwnProperty(name)) {\n wrapped[name] = api[name].bind(wrapped, obj);\n }\n }\n return wrapped;\n}\n\n\n/**\n * Lookup a json pointer in an object\n *\n * @param obj\n * @param pointer\n * @returns {*}\n */\napi.get = function get (obj, pointer) {\n var tok,\n refTokens = api.parse(pointer);\n while (refTokens.length) {\n tok = refTokens.shift();\n if (!(tok in obj)) {\n throw new Error('Invalid reference token: ' + tok);\n }\n obj = obj[tok];\n }\n return obj;\n};\n\n/**\n * Sets a value on an object\n *\n * @param obj\n * @param pointer\n * @param value\n */\napi.set = function set (obj, pointer, value) {\n var refTokens = api.parse(pointer),\n tok,\n nextTok = refTokens[0];\n while (refTokens.length > 1) {\n tok = refTokens.shift();\n if (tok === '-' && Array.isArray(obj)) {\n tok = obj.length;\n }\n nextTok = refTokens[0];\n\n if (!(tok in obj)) {\n if (nextTok.match(/^(\\d+|-)$/)) {\n obj[tok] = [];\n } else {\n obj[tok] = {};\n }\n }\n obj = obj[tok];\n }\n if (nextTok === '-' && Array.isArray(obj)) {\n nextTok = obj.length;\n }\n obj[nextTok] = value;\n return this;\n};\n\n/**\n * Removes an attribute\n *\n * @param obj\n * @param pointer\n */\napi.remove = function (obj, pointer) {\n var refTokens = api.parse(pointer);\n var finalToken = refTokens.pop();\n if (finalToken === undefined) {\n throw new Error('Invalid JSON pointer for remove: \"' + pointer + '\"');\n }\n delete api.get(obj, api.compile(refTokens))[finalToken];\n};\n\n/**\n * Returns a (pointer -> value) dictionary for an object\n *\n * @param obj\n * @param {function} descend\n * @returns {}\n */\napi.dict = function dict (obj, descend) {\n var results = {};\n api.walk(obj, function (value, pointer) {\n results[pointer] = value;\n }, descend);\n return results;\n};\n\n/**\n * Iterates over an object\n * Iterator: function (value, pointer) {}\n *\n * @param obj\n * @param {function} iterator\n * @param {function} descend\n */\napi.walk = function walk (obj, iterator, descend) {\n var refTokens = [];\n\n descend = descend || function (value) {\n var type = Object.prototype.toString.call(value);\n return type === '[object Object]' || type === '[object Array]';\n };\n\n (function next (cur) {\n each(cur, function (value, key) {\n refTokens.push(String(key));\n if (descend(value)) {\n next(value);\n } else {\n iterator(value, api.compile(refTokens));\n }\n refTokens.pop();\n });\n }(obj));\n};\n\n/**\n * Tests if an object has a value for a json pointer\n *\n * @param obj\n * @param pointer\n * @returns {boolean}\n */\napi.has = function has (obj, pointer) {\n try {\n api.get(obj, pointer);\n } catch (e) {\n return false;\n }\n return true;\n};\n\n/**\n * Escapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.escape = function escape (str) {\n return str.toString().replace(/~/g, '~0').replace(/\\//g, '~1');\n};\n\n/**\n * Unescapes a reference token\n *\n * @param str\n * @returns {string}\n */\napi.unescape = function unescape (str) {\n return str.replace(/~1/g, '/').replace(/~0/g, '~');\n};\n\n/**\n * Converts a json pointer into a array of reference tokens\n *\n * @param pointer\n * @returns {Array}\n */\napi.parse = function parse (pointer) {\n if (pointer === '') { return []; }\n if (pointer.charAt(0) !== '/') { throw new Error('Invalid JSON pointer: ' + pointer); }\n return pointer.substring(1).split(/\\//).map(api.unescape);\n};\n\n/**\n * Builds a json pointer from a array of reference tokens\n *\n * @param refTokens\n * @returns {string}\n */\napi.compile = function compile (refTokens) {\n if (refTokens.length === 0) { return ''; }\n return '/' + refTokens.map(api.escape).join('/');\n};\n","module.exports = require(\"npm:json-pointer@0.3.0/index\");","'use strict';\nimport JsonPointerLib from 'json-pointer';\n\n/**\n * Wrapper for JsonPointer. Provides common operations\n */\nexport class JsonPointer extends JsonPointerLib {\n /**\n * returns last JsonPointer token\n * if level > 1 returns levels last (second last/third last)\n * @example\n * // returns subpath\n * JsonPointerHelper.baseName('/path/0/subpath')\n * // returns foo\n * JsonPointerHelper.baseName('/path/foo/subpath', 2)\n */\n static baseName(pointer, level=1) {\n let tokens = JsonPointer.parse(pointer);\n return tokens[tokens.length - (level)];\n }\n\n /**\n * returns dirname of pointer\n * if level > 1 returns corresponding dirname in the hierarchy\n * @example\n * // returns /path/0\n * JsonPointerHelper.dirName('/path/0/subpath')\n * // returns /path\n * JsonPointerHelper.dirName('/path/foo/subpath', 2)\n */\n static dirName(pointer, level=1) {\n let tokens = JsonPointer.parse(pointer);\n return JsonPointer.compile(tokens.slice(0, tokens.length - level));\n }\n\n /**\n * overridden JsonPointer original parse to take care of prefixing '#' symbol\n * that is not valid JsonPointer\n */\n static parse(pointer) {\n let ptr = pointer;\n if (ptr.charAt(0) === '#') {\n ptr = ptr.substring(1);\n }\n return JsonPointerLib._origParse(ptr);\n }\n\n /**\n * Creates a JSON pointer path, by joining one or more tokens to a base path.\n *\n * @param {string} base - The base path\n * @param {string|string[]} tokens - The token(s) to append (e.g. [\"name\", \"first\"])\n * @returns {string}\n */\n static join(base, tokens) {\n // TODO: optimize\n let baseTokens = JsonPointer.parse(base);\n let resTokens = baseTokens.concat(tokens);\n return JsonPointer.compile(resTokens);\n }\n}\n\nJsonPointerLib._origParse = JsonPointerLib.parse;\nJsonPointerLib.parse = JsonPointer.parse;\n\n\nObject.assign(JsonPointer, JsonPointerLib);\nexport default JsonPointer;\n","'use strict';\n\nexport var methods = new Set(['get', 'put', 'post', 'delete', 'options', 'head', 'patch']);\n","'use strict';\nimport SwaggerParser from 'swagger-parser';\nimport JsonPointer from './JsonPointer';\nimport {methods as swaggerMethods} from './swagger-defs';\n\nexport default class SchemaManager {\n constructor() {\n if (SchemaManager.prototype._instance) {\n return SchemaManager.prototype._instance;\n }\n\n SchemaManager.prototype._instance = this;\n\n this._schema = {};\n }\n\n static instance() {\n return new SchemaManager();\n }\n\n load(url) {\n let promise = new Promise((resolve, reject) => {\n this._schema = {};\n\n SwaggerParser.bundle(url, {http: {withCredentials: false}})\n .then(\n (schema) => {\n this._schema = schema;\n resolve(this._schema);\n this.init();\n },\n (err) => reject(err)\n );\n });\n\n return promise;\n }\n\n /* calculate common used values */\n init() {\n if (!this._schema || !this._schema.schemes) return;\n this.apiUrl = this._schema.schemes[0] + '://' + this._schema.host + this._schema.basePath;\n if (this.apiUrl.endsWith('/')) {\n this.apiUrl = this.apiUrl.substr(0, this.apiUrl.length - 1);\n }\n }\n\n get schema() {\n // TODO: consider returning promise\n return this._schema;\n }\n\n byPointer(pointer) {\n let res = null;\n try {\n // TODO: remove decodeURIComponent after this issue is fixed: https://github.com/BigstickCarpet/swagger-parser/issues/31\n res = JsonPointer.get(this._schema, decodeURIComponent(pointer));\n } catch(e) {/*skip*/ }\n return res;\n }\n\n resolveRefs(obj) {\n Object.keys(obj).forEach(key => {\n if (obj[key].$ref) {\n let resolved = this.byPointer(obj[key].$ref);\n resolved._pointer = obj[key].$ref;\n obj[key] = resolved;\n }\n });\n return obj;\n }\n\n getMethodParams(methodPtr, resolveRefs) {\n /* inject JsonPointer into array elements */\n function injectPointers(array, root) {\n if (!Array.isArray(array)) {\n throw new Error(`parameters must be an array. Got ${typeof array} at ${root}`);\n }\n return array.map((element, idx) => {\n element._pointer = JsonPointer.join(root, idx);\n return element;\n });\n }\n\n // accept pointer directly to parameters as well\n if (JsonPointer.baseName(methodPtr) === 'parameters') {\n methodPtr = JsonPointer.dirName(methodPtr);\n }\n\n //get path params\n let pathParamsPtr = JsonPointer.join(JsonPointer.dirName(methodPtr), ['parameters']);\n let pathParams = this.byPointer(pathParamsPtr) || [];\n\n let methodParamsPtr = JsonPointer.join(methodPtr, ['parameters']);\n let methodParams = this.byPointer(methodParamsPtr) || [];\n pathParams = injectPointers(pathParams, pathParamsPtr);\n methodParams = injectPointers(methodParams, methodParamsPtr);\n\n if (resolveRefs) {\n methodParams = this.resolveRefs(methodParams);\n pathParams = this.resolveRefs(pathParams);\n }\n return methodParams.concat(pathParams);\n }\n\n getTagsMap() {\n let tags = this._schema.tags || [];\n var tagsMap = {};\n for (let tag of tags) {\n tagsMap[tag.name] = {\n description: tag.description,\n 'x-traitTag': tag['x-traitTag'] || false\n };\n }\n\n return tagsMap;\n }\n\n /* returns ES6 Map */\n buildMenuTree() {\n let tag2MethodMapping = new Map();\n\n let definedTags = this._schema.tags || [];\n // add tags into map to preserve order\n for (let tag of definedTags) {\n tag2MethodMapping.set(tag.name, {\n 'description': tag.description,\n 'x-traitTag': tag['x-traitTag'],\n 'methods': []\n });\n }\n\n let paths = this._schema.paths;\n for (let path of Object.keys(paths)) {\n let methods = Object.keys(paths[path]).filter((k) => swaggerMethods.has(k));\n for (let method of methods) {\n let methodInfo = paths[path][method];\n let tags = methodInfo.tags;\n\n //TODO: mb need to do something cleverer\n if (!tags || !tags.length) {\n tags = ['[Other]'];\n }\n let methodPointer = JsonPointer.compile(['paths', path, method]);\n let methodSummary = methodInfo.summary;\n for (let tag of tags) {\n let tagDetails = tag2MethodMapping.get(tag);\n if (!tagDetails) {\n tagDetails = {};\n tag2MethodMapping.set(tag, tagDetails);\n }\n if (tagDetails['x-traitTag']) continue;\n if (!tagDetails.methods) tagDetails.methods = [];\n tagDetails.methods.push({\n pointer: methodPointer,\n summary: methodSummary,\n operationId: methodInfo.operationId\n });\n }\n }\n }\n return tag2MethodMapping;\n }\n\n findDerivedDefinitions(defPointer) {\n let definition = this.byPointer(defPointer);\n if (!definition) throw new Error(`Can't load schema at ${defPointer}`);\n if (!definition.discriminator) return [];\n\n let globalDefs = this._schema.definitions || {};\n let res = [];\n for (let defName of Object.keys(globalDefs)) {\n if (!globalDefs[defName].allOf) continue;\n\n let subTypes = globalDefs[defName].allOf;\n let idx = subTypes.findIndex((subType) => {\n if (subType.$ref === defPointer) return true;\n return false;\n });\n if (idx < 0) continue;\n\n let empty = false;\n if (subTypes.length === 1) {\n empty = true;\n }\n res.push({name: defName, $ref: `#/definitions/${defName}`, empty});\n }\n return res;\n }\n\n}\n","'use strict';\nimport { Injectable, EventEmitter } from '@angular/core';\nimport { ScrollService, INVIEW_POSITION } from './scroll.service.js';\nimport { Hash } from './hash.service.js';\nimport SchemaManager from '../utils/SchemaManager';\n\nconst CHANGE = {\n NEXT : 1,\n BACK : -1,\n INITIAL : 0\n};\n\n@Reflect.metadata('parameters', [[Hash], [ScrollService], [SchemaManager]])\n@Injectable()\nexport class MenuService {\n constructor(hash, scrollService, schemaMgr) {\n this.hash = hash;\n this.scrollService = scrollService;\n\n this.activeCatIdx = 0;\n this.activeMethodIdx = -1;\n this.changed = new EventEmitter();\n\n this.categories = Array.from(schemaMgr.buildMenuTree().entries()).map(\n el => ({name: el[0], description: el[1].description, methods: el[1].methods})\n );\n\n scrollService.scroll.subscribe((evt) => {\n this.scrollUpdate(evt.isScrolledDown);\n });\n\n this.changeActive(CHANGE.INITIAL);\n\n this.hash.changed.subscribe((hash) => {\n this.hashScroll(hash);\n });\n }\n\n scrollUpdate(isScrolledDown) {\n let stable = false;\n while(!stable) {\n let $activeMethodHost = this.getCurrentMethodEl();\n if (!$activeMethodHost) return;\n var elementInViewPos = this.scrollService.getElementPos($activeMethodHost);\n if(isScrolledDown && elementInViewPos === INVIEW_POSITION.BELLOW) {\n stable = this.changeActive(CHANGE.NEXT);\n continue;\n }\n if(!isScrolledDown && elementInViewPos === INVIEW_POSITION.ABOVE ) {\n stable = this.changeActive(CHANGE.BACK);\n continue;\n }\n stable = true;\n }\n }\n\n getCurrentMethodEl() {\n return this.getMethodElByPtr(this.activeMethodPtr,\n this.categories[this.activeCatIdx].name);\n }\n\n getMethodElByPtr(ptr, tag) {\n let selector = ptr ? `[pointer=\"${ptr}\"][tag=\"${tag}\"]` : `[tag=\"${tag}\"]`;\n return document.querySelector(selector);\n }\n\n getMethodElByOperId(operationId) {\n let selector =`[operation-id=\"${operationId}\"]`;\n return document.querySelector(selector);\n }\n\n activate(catIdx, methodIdx) {\n let menu = this.categories;\n\n menu[this.activeCatIdx].active = false;\n if (menu[this.activeCatIdx].methods.length) {\n if (this.activeMethodIdx >= 0) {\n menu[this.activeCatIdx].methods[this.activeMethodIdx].active = false;\n }\n }\n\n this.activeCatIdx = catIdx;\n this.activeMethodIdx = methodIdx;\n menu[catIdx].active = true;\n this.activeMethodPtr = null;\n let currentItem;\n if (menu[catIdx].methods.length && (methodIdx > -1)) {\n currentItem = menu[catIdx].methods[methodIdx];\n currentItem.active = true;\n this.activeMethodPtr = currentItem.pointer;\n }\n\n this.changed.next(menu[catIdx], currentItem);\n }\n\n _calcActiveIndexes(offset) {\n let menu = this.categories;\n let catCount = menu.length;\n let catLength = menu[this.activeCatIdx].methods.length;\n\n let resMethodIdx = this.activeMethodIdx + offset;\n let resCatIdx = this.activeCatIdx;\n\n if (resMethodIdx > catLength - 1) {\n resCatIdx++;\n resMethodIdx = -1;\n }\n if (resMethodIdx < -1) {\n let prevCatIdx = --resCatIdx;\n catLength = menu[Math.max(prevCatIdx, 0)].methods.length;\n resMethodIdx = catLength - 1;\n }\n if (resCatIdx > catCount - 1) {\n resCatIdx = catCount - 1;\n resMethodIdx = catLength - 1;\n }\n if (resCatIdx < 0) {\n resCatIdx = 0;\n resMethodIdx = 0;\n }\n\n return [resCatIdx, resMethodIdx];\n }\n\n changeActive(offset = 1) {\n let [catIdx, methodIdx] = this._calcActiveIndexes(offset);\n this.activate(catIdx, methodIdx);\n return (methodIdx === 0 && catIdx === 0);\n }\n\n scrollToActive() {\n this.scrollService.scrollTo(this.getCurrentMethodEl());\n }\n\n hashScroll(hash) {\n if (!hash) return;\n\n let $el;\n hash = hash.substr(1);\n let namespace = hash.split('/')[0];\n let ptr = decodeURIComponent(hash.substr(namespace.length + 1));\n if (namespace === 'operation') {\n $el = this.getMethodElByOperId(ptr);\n } else if (namespace === 'tag') {\n let tag = ptr.split('/')[0];\n ptr = ptr.substr(tag.length);\n $el = this.getMethodElByPtr(ptr, tag);\n }\n\n if ($el) this.scrollService.scrollTo($el);\n }\n}\n","/* */ \n\"format cjs\";\n","/* */ \nmodule.exports = function(){ /* empty */ };","/* */ \nvar IObject = require('./$.iobject'),\n defined = require('./$.defined');\nmodule.exports = function(it) {\n return IObject(defined(it));\n};\n","/* */ \n'use strict';\nvar addToUnscopables = require('./$.add-to-unscopables'),\n step = require('./$.iter-step'),\n Iterators = require('./$.iterators'),\n toIObject = require('./$.to-iobject');\nmodule.exports = require('./$.iter-define')(Array, 'Array', function(iterated, kind) {\n this._t = toIObject(iterated);\n this._i = 0;\n this._k = kind;\n}, function() {\n var O = this._t,\n kind = this._k,\n index = this._i++;\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n if (kind == 'keys')\n return step(0, index);\n if (kind == 'values')\n return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\nIterators.Arguments = Iterators.Array;\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n","/* */ \nrequire('./es6.array.iterator');\nvar Iterators = require('./$.iterators');\nIterators.NodeList = Iterators.HTMLCollection = Iterators.Array;\n","/* */ \nmodule.exports = function(done, value){\n return {value: value, done: !!done};\n};","/* */ \n'use strict';\nvar core = require('./$.core'),\n $ = require('./$'),\n DESCRIPTORS = require('./$.descriptors'),\n SPECIES = require('./$.wks')('species');\nmodule.exports = function(KEY) {\n var C = core[KEY];\n if (DESCRIPTORS && C && !C[SPECIES])\n $.setDesc(C, SPECIES, {\n configurable: true,\n get: function() {\n return this;\n }\n });\n};\n","/* */ \n'use strict';\nvar $ = require('./$'),\n hide = require('./$.hide'),\n redefineAll = require('./$.redefine-all'),\n ctx = require('./$.ctx'),\n strictNew = require('./$.strict-new'),\n defined = require('./$.defined'),\n forOf = require('./$.for-of'),\n $iterDefine = require('./$.iter-define'),\n step = require('./$.iter-step'),\n ID = require('./$.uid')('id'),\n $has = require('./$.has'),\n isObject = require('./$.is-object'),\n setSpecies = require('./$.set-species'),\n DESCRIPTORS = require('./$.descriptors'),\n isExtensible = Object.isExtensible || isObject,\n SIZE = DESCRIPTORS ? '_s' : 'size',\n id = 0;\nvar fastKey = function(it, create) {\n if (!isObject(it))\n return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!$has(it, ID)) {\n if (!isExtensible(it))\n return 'F';\n if (!create)\n return 'E';\n hide(it, ID, ++id);\n }\n return 'O' + it[ID];\n};\nvar getEntry = function(that, key) {\n var index = fastKey(key),\n entry;\n if (index !== 'F')\n return that._i[index];\n for (entry = that._f; entry; entry = entry.n) {\n if (entry.k == key)\n return entry;\n }\n};\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER) {\n var C = wrapper(function(that, iterable) {\n strictNew(that, C, NAME);\n that._i = $.create(null);\n that._f = undefined;\n that._l = undefined;\n that[SIZE] = 0;\n if (iterable != undefined)\n forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n clear: function clear() {\n for (var that = this,\n data = that._i,\n entry = that._f; entry; entry = entry.n) {\n entry.r = true;\n if (entry.p)\n entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n 'delete': function(key) {\n var that = this,\n entry = getEntry(that, key);\n if (entry) {\n var next = entry.n,\n prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if (prev)\n prev.n = next;\n if (next)\n next.p = prev;\n if (that._f == entry)\n that._f = next;\n if (that._l == entry)\n that._l = prev;\n that[SIZE]--;\n }\n return !!entry;\n },\n forEach: function forEach(callbackfn) {\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3),\n entry;\n while (entry = entry ? entry.n : this._f) {\n f(entry.v, entry.k, this);\n while (entry && entry.r)\n entry = entry.p;\n }\n },\n has: function has(key) {\n return !!getEntry(this, key);\n }\n });\n if (DESCRIPTORS)\n $.setDesc(C.prototype, 'size', {get: function() {\n return defined(this[SIZE]);\n }});\n return C;\n },\n def: function(that, key, value) {\n var entry = getEntry(that, key),\n prev,\n index;\n if (entry) {\n entry.v = value;\n } else {\n that._l = entry = {\n i: index = fastKey(key, true),\n k: key,\n v: value,\n p: prev = that._l,\n n: undefined,\n r: false\n };\n if (!that._f)\n that._f = entry;\n if (prev)\n prev.n = entry;\n that[SIZE]++;\n if (index !== 'F')\n that._i[index] = entry;\n }\n return that;\n },\n getEntry: getEntry,\n setStrong: function(C, NAME, IS_MAP) {\n $iterDefine(C, NAME, function(iterated, kind) {\n this._t = iterated;\n this._k = kind;\n this._l = undefined;\n }, function() {\n var that = this,\n kind = that._k,\n entry = that._l;\n while (entry && entry.r)\n entry = entry.p;\n if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n that._t = undefined;\n return step(1);\n }\n if (kind == 'keys')\n return step(0, entry.k);\n if (kind == 'values')\n return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n setSpecies(NAME);\n }\n};\n","/* */ \nvar redefine = require('./$.redefine');\nmodule.exports = function(target, src) {\n for (var key in src)\n redefine(target, key, src[key]);\n return target;\n};\n","/* */ \nmodule.exports = function(it, Constructor, name){\n if(!(it instanceof Constructor))throw TypeError(name + \": use the 'new' operator!\");\n return it;\n};","/* */ \n'use strict';\nvar $ = require('./$'),\n global = require('./$.global'),\n $export = require('./$.export'),\n fails = require('./$.fails'),\n hide = require('./$.hide'),\n redefineAll = require('./$.redefine-all'),\n forOf = require('./$.for-of'),\n strictNew = require('./$.strict-new'),\n isObject = require('./$.is-object'),\n setToStringTag = require('./$.set-to-string-tag'),\n DESCRIPTORS = require('./$.descriptors');\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n var Base = global[NAME],\n C = Base,\n ADDER = IS_MAP ? 'set' : 'add',\n proto = C && C.prototype,\n O = {};\n if (!DESCRIPTORS || typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function() {\n new C().entries().next();\n }))) {\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n } else {\n C = wrapper(function(target, iterable) {\n strictNew(target, C, NAME);\n target._c = new Base;\n if (iterable != undefined)\n forOf(iterable, IS_MAP, target[ADDER], target);\n });\n $.each.call('add,clear,delete,forEach,get,has,set,keys,values,entries'.split(','), function(KEY) {\n var IS_ADDER = KEY == 'add' || KEY == 'set';\n if (KEY in proto && !(IS_WEAK && KEY == 'clear'))\n hide(C.prototype, KEY, function(a, b) {\n if (!IS_ADDER && IS_WEAK && !isObject(a))\n return KEY == 'get' ? undefined : false;\n var result = this._c[KEY](a === 0 ? 0 : a, b);\n return IS_ADDER ? this : result;\n });\n });\n if ('size' in proto)\n $.setDesc(C.prototype, 'size', {get: function() {\n return this._c.size;\n }});\n }\n setToStringTag(C, NAME);\n O[NAME] = C;\n $export($export.G + $export.W + $export.F, O);\n if (!IS_WEAK)\n common.setStrong(C, NAME, IS_MAP);\n return C;\n};\n","/* */ \n'use strict';\nvar strong = require('./$.collection-strong');\nrequire('./$.collection')('Set', function(get) {\n return function Set() {\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n}, {add: function add(value) {\n return strong.def(this, value = value === 0 ? 0 : value, value);\n }}, strong);\n","/* */ \nvar ctx = require('./$.ctx'),\n call = require('./$.iter-call'),\n isArrayIter = require('./$.is-array-iter'),\n anObject = require('./$.an-object'),\n toLength = require('./$.to-length'),\n getIterFn = require('./core.get-iterator-method');\nmodule.exports = function(iterable, entries, fn, that) {\n var iterFn = getIterFn(iterable),\n f = ctx(fn, that, entries ? 2 : 1),\n index = 0,\n length,\n step,\n iterator;\n if (typeof iterFn != 'function')\n throw TypeError(iterable + ' is not iterable!');\n if (isArrayIter(iterFn))\n for (length = toLength(iterable.length); length > index; index++) {\n entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n }\n else\n for (iterator = iterFn.call(iterable); !(step = iterator.next()).done; ) {\n call(iterator, f, step.value, entries);\n }\n};\n","/* */ \nvar forOf = require('./$.for-of'),\n classof = require('./$.classof');\nmodule.exports = function(NAME) {\n return function toJSON() {\n if (classof(this) != NAME)\n throw TypeError(NAME + \"#toJSON isn't generic\");\n var arr = [];\n forOf(this, false, arr.push, arr);\n return arr;\n };\n};\n","/* */ \nvar $export = require('./$.export');\n$export($export.P, 'Set', {toJSON: require('./$.collection-to-json')('Set')});\n","/* */ \nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/web.dom.iterable');\nrequire('../modules/es6.set');\nrequire('../modules/es7.set.to-json');\nmodule.exports = require('../modules/$.core').Set;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/set\"), __esModule: true };","/* */ \nvar toInteger = require('./$.to-integer'),\n defined = require('./$.defined');\nmodule.exports = function(TO_STRING) {\n return function(that, pos) {\n var s = String(defined(that)),\n i = toInteger(pos),\n l = s.length,\n a,\n b;\n if (i < 0 || i >= l)\n return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n","/* */ \nmodule.exports = true;","/* */ \nmodule.exports = require('./$.hide');\n","/* */ \nmodule.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};","/* */ \nmodule.exports = !require('./$.fails')(function() {\n return Object.defineProperty({}, 'a', {get: function() {\n return 7;\n }}).a != 7;\n});\n","/* */ \nvar $ = require('./$'),\n createDesc = require('./$.property-desc');\nmodule.exports = require('./$.descriptors') ? function(object, key, value) {\n return $.setDesc(object, key, createDesc(1, value));\n} : function(object, key, value) {\n object[key] = value;\n return object;\n};\n","/* */ \n'use strict';\nvar $ = require('./$'),\n descriptor = require('./$.property-desc'),\n setToStringTag = require('./$.set-to-string-tag'),\n IteratorPrototype = {};\nrequire('./$.hide')(IteratorPrototype, require('./$.wks')('iterator'), function() {\n return this;\n});\nmodule.exports = function(Constructor, NAME, next) {\n Constructor.prototype = $.create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n","/* */ \nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};","/* */ \nvar def = require('./$').setDesc,\n has = require('./$.has'),\n TAG = require('./$.wks')('toStringTag');\nmodule.exports = function(it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG))\n def(it, TAG, {\n configurable: true,\n value: tag\n });\n};\n","/* */ \n'use strict';\nvar LIBRARY = require('./$.library'),\n $export = require('./$.export'),\n redefine = require('./$.redefine'),\n hide = require('./$.hide'),\n has = require('./$.has'),\n Iterators = require('./$.iterators'),\n $iterCreate = require('./$.iter-create'),\n setToStringTag = require('./$.set-to-string-tag'),\n getProto = require('./$').getProto,\n ITERATOR = require('./$.wks')('iterator'),\n BUGGY = !([].keys && 'next' in [].keys()),\n FF_ITERATOR = '@@iterator',\n KEYS = 'keys',\n VALUES = 'values';\nvar returnThis = function() {\n return this;\n};\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind) {\n if (!BUGGY && kind in proto)\n return proto[kind];\n switch (kind) {\n case KEYS:\n return function keys() {\n return new Constructor(this, kind);\n };\n case VALUES:\n return function values() {\n return new Constructor(this, kind);\n };\n }\n return function entries() {\n return new Constructor(this, kind);\n };\n };\n var TAG = NAME + ' Iterator',\n DEF_VALUES = DEFAULT == VALUES,\n VALUES_BUG = false,\n proto = Base.prototype,\n $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT],\n $default = $native || getMethod(DEFAULT),\n methods,\n key;\n if ($native) {\n var IteratorPrototype = getProto($default.call(new Base));\n setToStringTag(IteratorPrototype, TAG, true);\n if (!LIBRARY && has(proto, FF_ITERATOR))\n hide(IteratorPrototype, ITERATOR, returnThis);\n if (DEF_VALUES && $native.name !== VALUES) {\n VALUES_BUG = true;\n $default = function values() {\n return $native.call(this);\n };\n }\n }\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n }\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: !DEF_VALUES ? $default : getMethod('entries')\n };\n if (FORCED)\n for (key in methods) {\n if (!(key in proto))\n redefine(proto, key, methods[key]);\n }\n else\n $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n","/* */ \n'use strict';\nvar $at = require('./$.string-at')(true);\nrequire('./$.iter-define')(String, 'String', function(iterated) {\n this._t = String(iterated);\n this._i = 0;\n}, function() {\n var O = this._t,\n index = this._i,\n point;\n if (index >= O.length)\n return {\n value: undefined,\n done: true\n };\n point = $at(O, index);\n this._i += point.length;\n return {\n value: point,\n done: false\n };\n});\n","/* */ \nmodule.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};","/* */ \nvar isObject = require('./$.is-object');\nmodule.exports = function(it) {\n if (!isObject(it))\n throw TypeError(it + ' is not an object!');\n return it;\n};\n","/* */ \nvar anObject = require('./$.an-object');\nmodule.exports = function(iterator, fn, value, entries) {\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n } catch (e) {\n var ret = iterator['return'];\n if (ret !== undefined)\n anObject(ret.call(iterator));\n throw e;\n }\n};\n","/* */ \nvar Iterators = require('./$.iterators'),\n ITERATOR = require('./$.wks')('iterator'),\n ArrayProto = Array.prototype;\nmodule.exports = function(it) {\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n","// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};","/* */ \nvar toInteger = require('./$.to-integer'),\n min = Math.min;\nmodule.exports = function(it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0;\n};\n","/* */ \nvar cof = require('./$.cof'),\n TAG = require('./$.wks')('toStringTag'),\n ARG = cof(function() {\n return arguments;\n }()) == 'Arguments';\nmodule.exports = function(it) {\n var O,\n T,\n B;\n return it === undefined ? 'Undefined' : it === null ? 'Null' : typeof(T = (O = Object(it))[TAG]) == 'string' ? T : ARG ? cof(O) : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n","/* */ \nmodule.exports = {};","/* */ \nvar classof = require('./$.classof'),\n ITERATOR = require('./$.wks')('iterator'),\n Iterators = require('./$.iterators');\nmodule.exports = require('./$.core').getIteratorMethod = function(it) {\n if (it != undefined)\n return it[ITERATOR] || it['@@iterator'] || Iterators[classof(it)];\n};\n","/* */ \nvar global = require('./$.global'),\n SHARED = '__core-js_shared__',\n store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key) {\n return store[key] || (store[key] = {});\n};\n","/* */ \nvar id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};","/* */ \nvar store = require('./$.shared')('wks'),\n uid = require('./$.uid'),\n Symbol = require('./$.global').Symbol;\nmodule.exports = function(name) {\n return store[name] || (store[name] = Symbol && Symbol[name] || (Symbol || uid)('Symbol.' + name));\n};\n","/* */ \nvar ITERATOR = require('./$.wks')('iterator'),\n SAFE_CLOSING = false;\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function() {\n SAFE_CLOSING = true;\n };\n Array.from(riter, function() {\n throw 2;\n });\n} catch (e) {}\nmodule.exports = function(exec, skipClosing) {\n if (!skipClosing && !SAFE_CLOSING)\n return false;\n var safe = false;\n try {\n var arr = [7],\n iter = arr[ITERATOR]();\n iter.next = function() {\n safe = true;\n };\n arr[ITERATOR] = function() {\n return iter;\n };\n exec(arr);\n } catch (e) {}\n return safe;\n};\n","/* */ \n'use strict';\nvar ctx = require('./$.ctx'),\n $export = require('./$.export'),\n toObject = require('./$.to-object'),\n call = require('./$.iter-call'),\n isArrayIter = require('./$.is-array-iter'),\n toLength = require('./$.to-length'),\n getIterFn = require('./core.get-iterator-method');\n$export($export.S + $export.F * !require('./$.iter-detect')(function(iter) {\n Array.from(iter);\n}), 'Array', {from: function from(arrayLike) {\n var O = toObject(arrayLike),\n C = typeof this == 'function' ? this : Array,\n $$ = arguments,\n $$len = $$.length,\n mapfn = $$len > 1 ? $$[1] : undefined,\n mapping = mapfn !== undefined,\n index = 0,\n iterFn = getIterFn(O),\n length,\n result,\n step,\n iterator;\n if (mapping)\n mapfn = ctx(mapfn, $$len > 2 ? $$[2] : undefined, 2);\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++) {\n result[index] = mapping ? call(iterator, mapfn, [step.value, index], true) : step.value;\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n result[index] = mapping ? mapfn(O[index], index) : O[index];\n }\n }\n result.length = index;\n return result;\n }});\n","/* */ \nrequire('../../modules/es6.string.iterator');\nrequire('../../modules/es6.array.from');\nmodule.exports = require('../../modules/$.core').Array.from;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/array/from\"), __esModule: true };","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef","/* */ \nmodule.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};","/* */ \nvar aFunction = require('./$.a-function');\nmodule.exports = function(fn, that, length) {\n aFunction(fn);\n if (that === undefined)\n return fn;\n switch (length) {\n case 1:\n return function(a) {\n return fn.call(that, a);\n };\n case 2:\n return function(a, b) {\n return fn.call(that, a, b);\n };\n case 3:\n return function(a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n return function() {\n return fn.apply(that, arguments);\n };\n};\n","/* */ \nvar global = require('./$.global'),\n core = require('./$.core'),\n ctx = require('./$.ctx'),\n PROTOTYPE = 'prototype';\nvar $export = function(type, name, source) {\n var IS_FORCED = type & $export.F,\n IS_GLOBAL = type & $export.G,\n IS_STATIC = type & $export.S,\n IS_PROTO = type & $export.P,\n IS_BIND = type & $export.B,\n IS_WRAP = type & $export.W,\n exports = IS_GLOBAL ? core : core[name] || (core[name] = {}),\n target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE],\n key,\n own,\n out;\n if (IS_GLOBAL)\n source = name;\n for (key in source) {\n own = !IS_FORCED && target && key in target;\n if (own && key in exports)\n continue;\n out = own ? target[key] : source[key];\n exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key] : IS_BIND && own ? ctx(out, global) : IS_WRAP && target[key] == out ? (function(C) {\n var F = function(param) {\n return this instanceof C ? new C(param) : C(param);\n };\n F[PROTOTYPE] = C[PROTOTYPE];\n return F;\n })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n if (IS_PROTO)\n (exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;\n }\n};\n$export.F = 1;\n$export.G = 2;\n$export.S = 4;\n$export.P = 8;\n$export.B = 16;\n$export.W = 32;\nmodule.exports = $export;\n","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};","/* */ \nvar defined = require('./$.defined');\nmodule.exports = function(it) {\n return Object(defined(it));\n};\n","/* */ \nvar toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};","/* */ \nvar cof = require('./$.cof');\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n","/* */ \nmodule.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};","/* */ \nvar $ = require('./$'),\n toObject = require('./$.to-object'),\n IObject = require('./$.iobject');\nmodule.exports = require('./$.fails')(function() {\n var a = Object.assign,\n A = {},\n B = {},\n S = Symbol(),\n K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k) {\n B[k] = k;\n });\n return a({}, A)[S] != 7 || Object.keys(a({}, B)).join('') != K;\n}) ? function assign(target, source) {\n var T = toObject(target),\n $$ = arguments,\n $$len = $$.length,\n index = 1,\n getKeys = $.getKeys,\n getSymbols = $.getSymbols,\n isEnum = $.isEnum;\n while ($$len > index) {\n var S = IObject($$[index++]),\n keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S),\n length = keys.length,\n j = 0,\n key;\n while (length > j)\n if (isEnum.call(S, key = keys[j++]))\n T[key] = S[key];\n }\n return T;\n} : Object.assign;\n","/* */ \nvar $export = require('./$.export');\n$export($export.S + $export.F, 'Object', {assign: require('./$.object-assign')});\n","/* */ \nvar core = module.exports = {version: '1.2.6'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef","/* */ \nrequire('../../modules/es6.object.assign');\nmodule.exports = require('../../modules/$.core').Object.assign;\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/assign\"), __esModule: true };","'use strict';\nimport { Injectable } from '@angular/core';\nimport { isFunction, isString } from '@angular/core/src/facade/lang';\nimport { BrowserDomAdapter } from '@angular/platform-browser/src/browser/browser_adapter';\nimport { global } from '@angular/core/src/facade/lang';\n\nconst defaults = {\n scrollYOffset: 0,\n disableLazySchemas: false,\n debugMode: global && global.redocDebugMode\n};\n\nconst OPTION_NAMES = new Set(['scrollYOffset', 'disableLazySchemas', 'specUrl']);\n\n@Injectable()\n@Reflect.metadata('parameters', [[BrowserDomAdapter]])\nexport class OptionsService {\n constructor(dom) {\n this._options = defaults;\n this.dom = dom;\n }\n\n get options() {\n return this._options;\n }\n\n set options(opts) {\n this._options = Object.assign(this._options, opts);\n }\n\n parseOptions(el) {\n let parsedOpts;\n let attributesMap = this.dom.attributeMap(el);\n parsedOpts = {};\n Array.from(attributesMap.keys())\n //camelCasify\n .map(k => ({\n attrName: k,\n name: k.replace(/-(.)/g, (m, $1) => $1.toUpperCase())\n })\n )\n .filter(option => OPTION_NAMES.has(option.name))\n .forEach(option => {\n parsedOpts[option.name] = attributesMap.get(option.attrName);\n });\n\n this.options = parsedOpts;\n this._normalizeOptions();\n }\n\n _normalizeOptions() {\n // modify scrollYOffset to always be a function\n if (!isFunction(this._options.scrollYOffset)) {\n if (isFinite(this._options.scrollYOffset)) {\n // if number specified create function that returns this value\n let numberOffset = parseFloat(this._options.scrollYOffset);\n this.options.scrollYOffset = () => numberOffset;\n } else {\n // if selector or node function that returns bottom offset of this node\n let el = this._options.scrollYOffset;\n if (!(el instanceof Node)) {\n el = this.dom.query(el);\n }\n if (!el) {\n this._options.scrollYOffset = () => 0;\n } else {\n this._options.scrollYOffset = () => el.offsetTop + el.offsetHeight;\n }\n }\n }\n\n if (isString(this._options.disableLazySchemas)) this._options.disableLazySchemas = true;\n }\n}\n","'use strict';\nimport { Injectable, EventEmitter } from '@angular/core';\nimport { BrowserDomAdapter } from '@angular/platform-browser/src/browser/browser_adapter';\nimport { OptionsService } from './options.service.js';\n\nexport const INVIEW_POSITION = {\n ABOVE : 1,\n BELLOW: -1,\n INVIEW: 0\n};\n\n@Reflect.metadata('parameters', [\n [BrowserDomAdapter], [OptionsService]])\n@Injectable()\nexport class ScrollService {\n constructor(dom, optionsService) {\n //events.bootstrapped.subscribe(() => this.hashScroll());\n this.scrollYOffset = () => optionsService.options.scrollYOffset();\n this.$scrollParent = optionsService.options.$scrollParent;\n this.scroll = new EventEmitter();\n this.dom = dom;\n this.bind();\n }\n\n scrollY() {\n return (this.$scrollParent.pageYOffset != null) ? this.$scrollParent.pageYOffset : this.$scrollParent.scrollTop;\n }\n\n /* returns 1 if element if above the view, 0 if in view and -1 below the view */\n getElementPos($el) {\n if (Math.floor($el.getBoundingClientRect().top) > this.scrollYOffset()) {\n return INVIEW_POSITION.ABOVE;\n }\n\n if ($el.getBoundingClientRect().bottom <= this.scrollYOffset()) {\n return INVIEW_POSITION.BELLOW;\n }\n return INVIEW_POSITION.INVIEW;\n }\n\n scrollTo($el) {\n // TODO: rewrite this to use offsetTop as more reliable solution\n let subjRect = $el.getBoundingClientRect();\n let offset = this.scrollY() + subjRect.top - this.scrollYOffset() + 1;\n if (this.$scrollParent.scrollTo) {\n this.$scrollParent.scrollTo(0, offset);\n } else {\n this.$scrollParent.scrollTop = offset;\n }\n }\n\n scrollHandler(evt) {\n let isScrolledDown = (this.scrollY() - this.prevOffsetY > 0);\n this.prevOffsetY = this.scrollY();\n this.scroll.next({isScrolledDown, evt});\n }\n\n bind() {\n this.prevOffsetY = this.scrollY();\n this._cancel = this.dom.onAndCancel(this.$scrollParent, 'scroll', (evt) => { this.scrollHandler(evt); });\n }\n\n unbind() {\n this._cancel();\n }\n}\n","/* */ \nvar $Object = Object;\nmodule.exports = {\n create: $Object.create,\n getProto: $Object.getPrototypeOf,\n isEnum: {}.propertyIsEnumerable,\n getDesc: $Object.getOwnPropertyDescriptor,\n setDesc: $Object.defineProperty,\n setDescs: $Object.defineProperties,\n getKeys: $Object.keys,\n getNames: $Object.getOwnPropertyNames,\n getSymbols: $Object.getOwnPropertySymbols,\n each: [].forEach\n};","/* */ \nvar $ = require('../../modules/$');\nmodule.exports = function defineProperty(it, key, desc) {\n return $.setDesc(it, key, desc);\n};\n","/* */ \nmodule.exports = { \"default\": require(\"core-js/library/fn/object/define-property\"), __esModule: true };","/* */ \n\"use strict\";\nvar _Object$defineProperty = require('../core-js/object/define-property')[\"default\"];\nexports[\"default\"] = (function() {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor)\n descriptor.writable = true;\n _Object$defineProperty(target, descriptor.key, descriptor);\n }\n }\n return function(Constructor, protoProps, staticProps) {\n if (protoProps)\n defineProperties(Constructor.prototype, protoProps);\n if (staticProps)\n defineProperties(Constructor, staticProps);\n return Constructor;\n };\n})();\nexports.__esModule = true;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Map = lang_1.global.Map;\nexports.Set = lang_1.global.Set;\nvar createMapFromPairs = (function() {\n try {\n if (new exports.Map([[1, 2]]).size === 1) {\n return function createMapFromPairs(pairs) {\n return new exports.Map(pairs);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromPairs(pairs) {\n var map = new exports.Map();\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n map.set(pair[0], pair[1]);\n }\n return map;\n };\n})();\nvar createMapFromMap = (function() {\n try {\n if (new exports.Map(new exports.Map())) {\n return function createMapFromMap(m) {\n return new exports.Map(m);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromMap(m) {\n var map = new exports.Map();\n m.forEach(function(v, k) {\n map.set(k, v);\n });\n return map;\n };\n})();\nvar _clearValues = (function() {\n if ((new exports.Map()).keys().next) {\n return function _clearValues(m) {\n var keyIterator = m.keys();\n var k;\n while (!((k = keyIterator.next()).done)) {\n m.set(k.value, null);\n }\n };\n } else {\n return function _clearValuesWithForeEach(m) {\n m.forEach(function(v, k) {\n m.set(k, null);\n });\n };\n }\n})();\nvar _arrayFromMap = (function() {\n try {\n if ((new exports.Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n } catch (e) {}\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = ListWrapper.createFixedSize(m.size),\n i = 0;\n m.forEach(function(v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function() {\n function MapWrapper() {}\n MapWrapper.clone = function(m) {\n return createMapFromMap(m);\n };\n MapWrapper.createFromStringMap = function(stringMap) {\n var result = new exports.Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.toStringMap = function(m) {\n var r = {};\n m.forEach(function(v, k) {\n return r[k] = v;\n });\n return r;\n };\n MapWrapper.createFromPairs = function(pairs) {\n return createMapFromPairs(pairs);\n };\n MapWrapper.clearValues = function(m) {\n _clearValues(m);\n };\n MapWrapper.iterable = function(m) {\n return m;\n };\n MapWrapper.keys = function(m) {\n return _arrayFromMap(m, false);\n };\n MapWrapper.values = function(m) {\n return _arrayFromMap(m, true);\n };\n return MapWrapper;\n}());\nexports.MapWrapper = MapWrapper;\nvar StringMapWrapper = (function() {\n function StringMapWrapper() {}\n StringMapWrapper.create = function() {\n return {};\n };\n StringMapWrapper.contains = function(map, key) {\n return map.hasOwnProperty(key);\n };\n StringMapWrapper.get = function(map, key) {\n return map.hasOwnProperty(key) ? map[key] : undefined;\n };\n StringMapWrapper.set = function(map, key, value) {\n map[key] = value;\n };\n StringMapWrapper.keys = function(map) {\n return Object.keys(map);\n };\n StringMapWrapper.values = function(map) {\n return Object.keys(map).reduce(function(r, a) {\n r.push(map[a]);\n return r;\n }, []);\n };\n StringMapWrapper.isEmpty = function(map) {\n for (var prop in map) {\n return false;\n }\n return true;\n };\n StringMapWrapper.delete = function(map, key) {\n delete map[key];\n };\n StringMapWrapper.forEach = function(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n };\n StringMapWrapper.merge = function(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n };\n StringMapWrapper.equals = function(m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nexports.StringMapWrapper = StringMapWrapper;\nvar ListWrapper = (function() {\n function ListWrapper() {}\n ListWrapper.createFixedSize = function(size) {\n return new Array(size);\n };\n ListWrapper.createGrowableSize = function(size) {\n return new Array(size);\n };\n ListWrapper.clone = function(array) {\n return array.slice(0);\n };\n ListWrapper.forEachWithIndex = function(array, fn) {\n for (var i = 0; i < array.length; i++) {\n fn(array[i], i);\n }\n };\n ListWrapper.first = function(array) {\n if (!array)\n return null;\n return array[0];\n };\n ListWrapper.last = function(array) {\n if (!array || array.length == 0)\n return null;\n return array[array.length - 1];\n };\n ListWrapper.indexOf = function(array, value, startIndex) {\n if (startIndex === void 0) {\n startIndex = 0;\n }\n return array.indexOf(value, startIndex);\n };\n ListWrapper.contains = function(list, el) {\n return list.indexOf(el) !== -1;\n };\n ListWrapper.reversed = function(array) {\n var a = ListWrapper.clone(array);\n return a.reverse();\n };\n ListWrapper.concat = function(a, b) {\n return a.concat(b);\n };\n ListWrapper.insert = function(list, index, value) {\n list.splice(index, 0, value);\n };\n ListWrapper.removeAt = function(list, index) {\n var res = list[index];\n list.splice(index, 1);\n return res;\n };\n ListWrapper.removeAll = function(list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.clear = function(list) {\n list.length = 0;\n };\n ListWrapper.isEmpty = function(list) {\n return list.length == 0;\n };\n ListWrapper.fill = function(list, value, start, end) {\n if (start === void 0) {\n start = 0;\n }\n if (end === void 0) {\n end = null;\n }\n list.fill(value, start, end === null ? list.length : end);\n };\n ListWrapper.equals = function(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.slice = function(l, from, to) {\n if (from === void 0) {\n from = 0;\n }\n if (to === void 0) {\n to = null;\n }\n return l.slice(from, to === null ? undefined : to);\n };\n ListWrapper.splice = function(l, from, length) {\n return l.splice(from, length);\n };\n ListWrapper.sort = function(l, compareFn) {\n if (lang_1.isPresent(compareFn)) {\n l.sort(compareFn);\n } else {\n l.sort();\n }\n };\n ListWrapper.toString = function(l) {\n return l.toString();\n };\n ListWrapper.toJSON = function(l) {\n return JSON.stringify(l);\n };\n ListWrapper.maximum = function(list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (lang_1.isBlank(candidate)) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function(list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n ListWrapper.addAll = function(list, source) {\n for (var i = 0; i < source.length; i++) {\n list.push(source[i]);\n }\n };\n return ListWrapper;\n}());\nexports.ListWrapper = ListWrapper;\nfunction _flattenArray(source, target) {\n if (lang_1.isPresent(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (lang_1.isArray(item)) {\n _flattenArray(item, target);\n } else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!lang_1.isJsObject(obj))\n return false;\n return lang_1.isArray(obj) || (!(obj instanceof exports.Map) && lang_1.getSymbolIterator() in obj);\n}\nexports.isListLikeIterable = isListLikeIterable;\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[lang_1.getSymbolIterator()]();\n var iterator2 = b[lang_1.getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nexports.areIterablesEqual = areIterablesEqual;\nfunction iterateListLike(obj, fn) {\n if (lang_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n } else {\n var iterator = obj[lang_1.getSymbolIterator()]();\n var item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nexports.iterateListLike = iterateListLike;\nvar createSetFromList = (function() {\n var test = new exports.Set([1, 2, 3]);\n if (test.size === 3) {\n return function createSetFromList(lst) {\n return new exports.Set(lst);\n };\n } else {\n return function createSetAndPopulateFromList(lst) {\n var res = new exports.Set(lst);\n if (res.size !== lst.length) {\n for (var i = 0; i < lst.length; i++) {\n res.add(lst[i]);\n }\n }\n return res;\n };\n }\n})();\nvar SetWrapper = (function() {\n function SetWrapper() {}\n SetWrapper.createFromList = function(lst) {\n return createSetFromList(lst);\n };\n SetWrapper.has = function(s, key) {\n return s.has(key);\n };\n SetWrapper.delete = function(m, k) {\n m.delete(k);\n };\n return SetWrapper;\n}());\nexports.SetWrapper = SetWrapper;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar GenericBrowserDomAdapter = (function(_super) {\n __extends(GenericBrowserDomAdapter, _super);\n function GenericBrowserDomAdapter() {\n var _this = this;\n _super.call(this);\n this._animationPrefix = null;\n this._transitionEnd = null;\n try {\n var element = this.createElement('div', this.defaultDoc());\n if (lang_1.isPresent(this.getStyle(element, 'animationName'))) {\n this._animationPrefix = '';\n } else {\n var domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\n for (var i = 0; i < domPrefixes.length; i++) {\n if (lang_1.isPresent(this.getStyle(element, domPrefixes[i] + 'AnimationName'))) {\n this._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\n break;\n }\n }\n }\n var transEndEventNames = {\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'transitionend',\n OTransition: 'oTransitionEnd otransitionend',\n transition: 'transitionend'\n };\n collection_1.StringMapWrapper.forEach(transEndEventNames, function(value, key) {\n if (lang_1.isPresent(_this.getStyle(element, key))) {\n _this._transitionEnd = value;\n }\n });\n } catch (e) {\n this._animationPrefix = null;\n this._transitionEnd = null;\n }\n }\n GenericBrowserDomAdapter.prototype.getDistributedNodes = function(el) {\n return el.getDistributedNodes();\n };\n GenericBrowserDomAdapter.prototype.resolveAndSetHref = function(el, baseUrl, href) {\n el.href = href == null ? baseUrl : baseUrl + '/../' + href;\n };\n GenericBrowserDomAdapter.prototype.supportsDOMEvents = function() {\n return true;\n };\n GenericBrowserDomAdapter.prototype.supportsNativeShadowDOM = function() {\n return lang_1.isFunction(this.defaultDoc().body.createShadowRoot);\n };\n GenericBrowserDomAdapter.prototype.getAnimationPrefix = function() {\n return lang_1.isPresent(this._animationPrefix) ? this._animationPrefix : \"\";\n };\n GenericBrowserDomAdapter.prototype.getTransitionEnd = function() {\n return lang_1.isPresent(this._transitionEnd) ? this._transitionEnd : \"\";\n };\n GenericBrowserDomAdapter.prototype.supportsAnimation = function() {\n return lang_1.isPresent(this._animationPrefix) && lang_1.isPresent(this._transitionEnd);\n };\n return GenericBrowserDomAdapter;\n}(dom_adapter_1.DomAdapter));\nexports.GenericBrowserDomAdapter = GenericBrowserDomAdapter;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\nexports.scheduleMicroTask = scheduleMicroTask;\nexports.IS_DART = false;\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\nexports.global = _global;\nexports.Type = Function;\nfunction getTypeNameForDebugging(type) {\n if (type['name']) {\n return type['name'];\n }\n return typeof type;\n}\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\nexports.Math = _global.Math;\nexports.Date = _global.Date;\nvar _devMode = true;\nvar _modeLocked = false;\nfunction lockMode() {\n _modeLocked = true;\n}\nexports.lockMode = lockMode;\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n */\nfunction enableProdMode() {\n if (_modeLocked) {\n // Cannot use BaseException as that ends up importing from facade/lang.\n throw 'Cannot enable prod mode after platform setup.';\n }\n _devMode = false;\n}\nexports.enableProdMode = enableProdMode;\nfunction assertionsEnabled() {\n return _devMode;\n}\nexports.assertionsEnabled = assertionsEnabled;\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj !== undefined && obj !== null;\n}\nexports.isPresent = isPresent;\nfunction isBlank(obj) {\n return obj === undefined || obj === null;\n}\nexports.isBlank = isBlank;\nfunction isBoolean(obj) {\n return typeof obj === \"boolean\";\n}\nexports.isBoolean = isBoolean;\nfunction isNumber(obj) {\n return typeof obj === \"number\";\n}\nexports.isNumber = isNumber;\nfunction isString(obj) {\n return typeof obj === \"string\";\n}\nexports.isString = isString;\nfunction isFunction(obj) {\n return typeof obj === \"function\";\n}\nexports.isFunction = isFunction;\nfunction isType(obj) {\n return isFunction(obj);\n}\nexports.isType = isType;\nfunction isStringMap(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nexports.isStringMap = isStringMap;\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nexports.isStrictStringMap = isStrictStringMap;\nfunction isPromise(obj) {\n return obj instanceof _global.Promise;\n}\nexports.isPromise = isPromise;\nfunction isArray(obj) {\n return Array.isArray(obj);\n}\nexports.isArray = isArray;\nfunction isDate(obj) {\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\n}\nexports.isDate = isDate;\nfunction noop() { }\nexports.noop = noop;\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.name) {\n return token.name;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf(\"\\n\");\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\n}\nexports.stringify = stringify;\n// serialize / deserialize enum exist only for consistency with dart API\n// enums in typescript don't need to be serialized\nfunction serializeEnum(val) {\n return val;\n}\nexports.serializeEnum = serializeEnum;\nfunction deserializeEnum(val, values) {\n return val;\n}\nexports.deserializeEnum = deserializeEnum;\nfunction resolveEnumToken(enumValue, val) {\n return enumValue[val];\n}\nexports.resolveEnumToken = resolveEnumToken;\nvar StringWrapper = (function () {\n function StringWrapper() {\n }\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\n StringWrapper.equals = function (s, s2) { return s === s2; };\n StringWrapper.stripLeft = function (s, charVal) {\n if (s && s.length) {\n var pos = 0;\n for (var i = 0; i < s.length; i++) {\n if (s[i] != charVal)\n break;\n pos++;\n }\n s = s.substring(pos);\n }\n return s;\n };\n StringWrapper.stripRight = function (s, charVal) {\n if (s && s.length) {\n var pos = s.length;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] != charVal)\n break;\n pos--;\n }\n s = s.substring(0, pos);\n }\n return s;\n };\n StringWrapper.replace = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.replaceAll = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.slice = function (s, from, to) {\n if (from === void 0) { from = 0; }\n if (to === void 0) { to = null; }\n return s.slice(from, to === null ? undefined : to);\n };\n StringWrapper.replaceAllMapped = function (s, from, cb) {\n return s.replace(from, function () {\n var matches = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n matches[_i - 0] = arguments[_i];\n }\n // Remove offset & string from the result array\n matches.splice(-2, 2);\n // The callback receives match, p1, ..., pn\n return cb(matches);\n });\n };\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\n StringWrapper.compare = function (a, b) {\n if (a < b) {\n return -1;\n }\n else if (a > b) {\n return 1;\n }\n else {\n return 0;\n }\n };\n return StringWrapper;\n}());\nexports.StringWrapper = StringWrapper;\nvar StringJoiner = (function () {\n function StringJoiner(parts) {\n if (parts === void 0) { parts = []; }\n this.parts = parts;\n }\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\n return StringJoiner;\n}());\nexports.StringJoiner = StringJoiner;\nvar NumberParseError = (function (_super) {\n __extends(NumberParseError, _super);\n function NumberParseError(message) {\n _super.call(this);\n this.message = message;\n }\n NumberParseError.prototype.toString = function () { return this.message; };\n return NumberParseError;\n}(Error));\nexports.NumberParseError = NumberParseError;\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\n NumberWrapper.equal = function (a, b) { return a === b; };\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\n radix);\n };\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\n Object.defineProperty(NumberWrapper, \"NaN\", {\n get: function () { return NaN; },\n enumerable: true,\n configurable: true\n });\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\n return NumberWrapper;\n}());\nexports.NumberWrapper = NumberWrapper;\nexports.RegExp = _global.RegExp;\nvar RegExpWrapper = (function () {\n function RegExpWrapper() {\n }\n RegExpWrapper.create = function (regExpStr, flags) {\n if (flags === void 0) { flags = ''; }\n flags = flags.replace(/g/g, '');\n return new _global.RegExp(regExpStr, flags + 'g');\n };\n RegExpWrapper.firstMatch = function (regExp, input) {\n // Reset multimatch regex state\n regExp.lastIndex = 0;\n return regExp.exec(input);\n };\n RegExpWrapper.test = function (regExp, input) {\n regExp.lastIndex = 0;\n return regExp.test(input);\n };\n RegExpWrapper.matcher = function (regExp, input) {\n // Reset regex state for the case\n // someone did not loop over all matches\n // last time.\n regExp.lastIndex = 0;\n return { re: regExp, input: input };\n };\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\n var c = regExp.exec(input);\n var res = '';\n regExp.lastIndex = 0;\n var prev = 0;\n while (c) {\n res += input.substring(prev, c.index);\n res += replace(c);\n prev = c.index + c[0].length;\n regExp.lastIndex = prev;\n c = regExp.exec(input);\n }\n res += input.substring(prev);\n return res;\n };\n return RegExpWrapper;\n}());\nexports.RegExpWrapper = RegExpWrapper;\nvar RegExpMatcherWrapper = (function () {\n function RegExpMatcherWrapper() {\n }\n RegExpMatcherWrapper.next = function (matcher) {\n return matcher.re.exec(matcher.input);\n };\n return RegExpMatcherWrapper;\n}());\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\nvar FunctionWrapper = (function () {\n function FunctionWrapper() {\n }\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\n return FunctionWrapper;\n}());\nexports.FunctionWrapper = FunctionWrapper;\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\nexports.looseIdentical = looseIdentical;\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\nfunction getMapKey(value) {\n return value;\n}\nexports.getMapKey = getMapKey;\nfunction normalizeBlank(obj) {\n return isBlank(obj) ? null : obj;\n}\nexports.normalizeBlank = normalizeBlank;\nfunction normalizeBool(obj) {\n return isBlank(obj) ? false : obj;\n}\nexports.normalizeBool = normalizeBool;\nfunction isJsObject(o) {\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\n}\nexports.isJsObject = isJsObject;\nfunction print(obj) {\n console.log(obj);\n}\nexports.print = print;\nfunction warn(obj) {\n console.warn(obj);\n}\nexports.warn = warn;\n// Can't be all uppercase as our transpiler would think it is a special directive...\nvar Json = (function () {\n function Json() {\n }\n Json.parse = function (s) { return _global.JSON.parse(s); };\n Json.stringify = function (data) {\n // Dart doesn't take 3 arguments\n return _global.JSON.stringify(data, null, 2);\n };\n return Json;\n}());\nexports.Json = Json;\nvar DateWrapper = (function () {\n function DateWrapper() {\n }\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\n if (month === void 0) { month = 1; }\n if (day === void 0) { day = 1; }\n if (hour === void 0) { hour = 0; }\n if (minutes === void 0) { minutes = 0; }\n if (seconds === void 0) { seconds = 0; }\n if (milliseconds === void 0) { milliseconds = 0; }\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\n };\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\n DateWrapper.toMillis = function (date) { return date.getTime(); };\n DateWrapper.now = function () { return new exports.Date(); };\n DateWrapper.toJson = function (date) { return date.toJSON(); };\n return DateWrapper;\n}());\nexports.DateWrapper = DateWrapper;\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nexports.setValueOnPath = setValueOnPath;\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (isBlank(_symbolIterator)) {\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nexports.getSymbolIterator = getSymbolIterator;\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n}\nexports.evalExpression = evalExpression;\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nexports.isPrimitive = isPrimitive;\nfunction hasConstructor(value, type) {\n return value.constructor === type;\n}\nexports.hasConstructor = hasConstructor;\nfunction bitWiseOr(values) {\n return values.reduce(function (a, b) { return a | b; });\n}\nexports.bitWiseOr = bitWiseOr;\nfunction bitWiseAnd(values) {\n return values.reduce(function (a, b) { return a & b; });\n}\nexports.bitWiseAnd = bitWiseAnd;\nfunction escape(s) {\n return _global.encodeURI(s);\n}\nexports.escape = escape;\n//# sourceMappingURL=lang.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar _DOM = null;\nfunction getDOM() {\n return _DOM;\n}\nexports.getDOM = getDOM;\nfunction setDOM(adapter) {\n _DOM = adapter;\n}\nexports.setDOM = setDOM;\nfunction setRootDomAdapter(adapter) {\n if (lang_1.isBlank(_DOM)) {\n _DOM = adapter;\n }\n}\nexports.setRootDomAdapter = setRootDomAdapter;\nvar DomAdapter = (function() {\n function DomAdapter() {\n this.xhrType = null;\n }\n DomAdapter.prototype.getXHR = function() {\n return this.xhrType;\n };\n Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\n get: function() {\n return this._attrToPropMap;\n },\n set: function(value) {\n this._attrToPropMap = value;\n },\n enumerable: true,\n configurable: true\n });\n ;\n ;\n return DomAdapter;\n}());\nexports.DomAdapter = DomAdapter;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar generic_browser_adapter_1 = require('./generic_browser_adapter');\nvar dom_adapter_1 = require('../dom/dom_adapter');\nvar _attrToPropMap = {\n 'class': 'className',\n 'innerHtml': 'innerHTML',\n 'readonly': 'readOnly',\n 'tabindex': 'tabIndex'\n};\nvar DOM_KEY_LOCATION_NUMPAD = 3;\nvar _keyMap = {\n '\\b': 'Backspace',\n '\\t': 'Tab',\n '\\x7F': 'Delete',\n '\\x1B': 'Escape',\n 'Del': 'Delete',\n 'Esc': 'Escape',\n 'Left': 'ArrowLeft',\n 'Right': 'ArrowRight',\n 'Up': 'ArrowUp',\n 'Down': 'ArrowDown',\n 'Menu': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'Win': 'OS'\n};\nvar _chromeNumKeyPadMap = {\n 'A': '1',\n 'B': '2',\n 'C': '3',\n 'D': '4',\n 'E': '5',\n 'F': '6',\n 'G': '7',\n 'H': '8',\n 'I': '9',\n 'J': '*',\n 'K': '+',\n 'M': '-',\n 'N': '.',\n 'O': '/',\n '\\x60': '0',\n '\\x90': 'NumLock'\n};\nvar BrowserDomAdapter = (function(_super) {\n __extends(BrowserDomAdapter, _super);\n function BrowserDomAdapter() {\n _super.apply(this, arguments);\n }\n BrowserDomAdapter.prototype.parse = function(templateHtml) {\n throw new Error(\"parse not implemented\");\n };\n BrowserDomAdapter.makeCurrent = function() {\n dom_adapter_1.setRootDomAdapter(new BrowserDomAdapter());\n };\n BrowserDomAdapter.prototype.hasProperty = function(element, name) {\n return name in element;\n };\n BrowserDomAdapter.prototype.setProperty = function(el, name, value) {\n el[name] = value;\n };\n BrowserDomAdapter.prototype.getProperty = function(el, name) {\n return el[name];\n };\n BrowserDomAdapter.prototype.invoke = function(el, methodName, args) {\n el[methodName].apply(el, args);\n };\n BrowserDomAdapter.prototype.logError = function(error) {\n if (window.console.error) {\n window.console.error(error);\n } else {\n window.console.log(error);\n }\n };\n BrowserDomAdapter.prototype.log = function(error) {\n window.console.log(error);\n };\n BrowserDomAdapter.prototype.logGroup = function(error) {\n if (window.console.group) {\n window.console.group(error);\n this.logError(error);\n } else {\n window.console.log(error);\n }\n };\n BrowserDomAdapter.prototype.logGroupEnd = function() {\n if (window.console.groupEnd) {\n window.console.groupEnd();\n }\n };\n Object.defineProperty(BrowserDomAdapter.prototype, \"attrToPropMap\", {\n get: function() {\n return _attrToPropMap;\n },\n enumerable: true,\n configurable: true\n });\n BrowserDomAdapter.prototype.query = function(selector) {\n return document.querySelector(selector);\n };\n BrowserDomAdapter.prototype.querySelector = function(el, selector) {\n return el.querySelector(selector);\n };\n BrowserDomAdapter.prototype.querySelectorAll = function(el, selector) {\n return el.querySelectorAll(selector);\n };\n BrowserDomAdapter.prototype.on = function(el, evt, listener) {\n el.addEventListener(evt, listener, false);\n };\n BrowserDomAdapter.prototype.onAndCancel = function(el, evt, listener) {\n el.addEventListener(evt, listener, false);\n return function() {\n el.removeEventListener(evt, listener, false);\n };\n };\n BrowserDomAdapter.prototype.dispatchEvent = function(el, evt) {\n el.dispatchEvent(evt);\n };\n BrowserDomAdapter.prototype.createMouseEvent = function(eventType) {\n var evt = document.createEvent('MouseEvent');\n evt.initEvent(eventType, true, true);\n return evt;\n };\n BrowserDomAdapter.prototype.createEvent = function(eventType) {\n var evt = document.createEvent('Event');\n evt.initEvent(eventType, true, true);\n return evt;\n };\n BrowserDomAdapter.prototype.preventDefault = function(evt) {\n evt.preventDefault();\n evt.returnValue = false;\n };\n BrowserDomAdapter.prototype.isPrevented = function(evt) {\n return evt.defaultPrevented || lang_1.isPresent(evt.returnValue) && !evt.returnValue;\n };\n BrowserDomAdapter.prototype.getInnerHTML = function(el) {\n return el.innerHTML;\n };\n BrowserDomAdapter.prototype.getOuterHTML = function(el) {\n return el.outerHTML;\n };\n BrowserDomAdapter.prototype.nodeName = function(node) {\n return node.nodeName;\n };\n BrowserDomAdapter.prototype.nodeValue = function(node) {\n return node.nodeValue;\n };\n BrowserDomAdapter.prototype.type = function(node) {\n return node.type;\n };\n BrowserDomAdapter.prototype.content = function(node) {\n if (this.hasProperty(node, \"content\")) {\n return node.content;\n } else {\n return node;\n }\n };\n BrowserDomAdapter.prototype.firstChild = function(el) {\n return el.firstChild;\n };\n BrowserDomAdapter.prototype.nextSibling = function(el) {\n return el.nextSibling;\n };\n BrowserDomAdapter.prototype.parentElement = function(el) {\n return el.parentNode;\n };\n BrowserDomAdapter.prototype.childNodes = function(el) {\n return el.childNodes;\n };\n BrowserDomAdapter.prototype.childNodesAsList = function(el) {\n var childNodes = el.childNodes;\n var res = collection_1.ListWrapper.createFixedSize(childNodes.length);\n for (var i = 0; i < childNodes.length; i++) {\n res[i] = childNodes[i];\n }\n return res;\n };\n BrowserDomAdapter.prototype.clearNodes = function(el) {\n while (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n };\n BrowserDomAdapter.prototype.appendChild = function(el, node) {\n el.appendChild(node);\n };\n BrowserDomAdapter.prototype.removeChild = function(el, node) {\n el.removeChild(node);\n };\n BrowserDomAdapter.prototype.replaceChild = function(el, newChild, oldChild) {\n el.replaceChild(newChild, oldChild);\n };\n BrowserDomAdapter.prototype.remove = function(node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n return node;\n };\n BrowserDomAdapter.prototype.insertBefore = function(el, node) {\n el.parentNode.insertBefore(node, el);\n };\n BrowserDomAdapter.prototype.insertAllBefore = function(el, nodes) {\n nodes.forEach(function(n) {\n return el.parentNode.insertBefore(n, el);\n });\n };\n BrowserDomAdapter.prototype.insertAfter = function(el, node) {\n el.parentNode.insertBefore(node, el.nextSibling);\n };\n BrowserDomAdapter.prototype.setInnerHTML = function(el, value) {\n el.innerHTML = value;\n };\n BrowserDomAdapter.prototype.getText = function(el) {\n return el.textContent;\n };\n BrowserDomAdapter.prototype.setText = function(el, value) {\n el.textContent = value;\n };\n BrowserDomAdapter.prototype.getValue = function(el) {\n return el.value;\n };\n BrowserDomAdapter.prototype.setValue = function(el, value) {\n el.value = value;\n };\n BrowserDomAdapter.prototype.getChecked = function(el) {\n return el.checked;\n };\n BrowserDomAdapter.prototype.setChecked = function(el, value) {\n el.checked = value;\n };\n BrowserDomAdapter.prototype.createComment = function(text) {\n return document.createComment(text);\n };\n BrowserDomAdapter.prototype.createTemplate = function(html) {\n var t = document.createElement('template');\n t.innerHTML = html;\n return t;\n };\n BrowserDomAdapter.prototype.createElement = function(tagName, doc) {\n if (doc === void 0) {\n doc = document;\n }\n return doc.createElement(tagName);\n };\n BrowserDomAdapter.prototype.createElementNS = function(ns, tagName, doc) {\n if (doc === void 0) {\n doc = document;\n }\n return doc.createElementNS(ns, tagName);\n };\n BrowserDomAdapter.prototype.createTextNode = function(text, doc) {\n if (doc === void 0) {\n doc = document;\n }\n return doc.createTextNode(text);\n };\n BrowserDomAdapter.prototype.createScriptTag = function(attrName, attrValue, doc) {\n if (doc === void 0) {\n doc = document;\n }\n var el = doc.createElement('SCRIPT');\n el.setAttribute(attrName, attrValue);\n return el;\n };\n BrowserDomAdapter.prototype.createStyleElement = function(css, doc) {\n if (doc === void 0) {\n doc = document;\n }\n var style = doc.createElement('style');\n this.appendChild(style, this.createTextNode(css));\n return style;\n };\n BrowserDomAdapter.prototype.createShadowRoot = function(el) {\n return el.createShadowRoot();\n };\n BrowserDomAdapter.prototype.getShadowRoot = function(el) {\n return el.shadowRoot;\n };\n BrowserDomAdapter.prototype.getHost = function(el) {\n return el.host;\n };\n BrowserDomAdapter.prototype.clone = function(node) {\n return node.cloneNode(true);\n };\n BrowserDomAdapter.prototype.getElementsByClassName = function(element, name) {\n return element.getElementsByClassName(name);\n };\n BrowserDomAdapter.prototype.getElementsByTagName = function(element, name) {\n return element.getElementsByTagName(name);\n };\n BrowserDomAdapter.prototype.classList = function(element) {\n return Array.prototype.slice.call(element.classList, 0);\n };\n BrowserDomAdapter.prototype.addClass = function(element, className) {\n element.classList.add(className);\n };\n BrowserDomAdapter.prototype.removeClass = function(element, className) {\n element.classList.remove(className);\n };\n BrowserDomAdapter.prototype.hasClass = function(element, className) {\n return element.classList.contains(className);\n };\n BrowserDomAdapter.prototype.setStyle = function(element, styleName, styleValue) {\n element.style[styleName] = styleValue;\n };\n BrowserDomAdapter.prototype.removeStyle = function(element, stylename) {\n element.style[stylename] = null;\n };\n BrowserDomAdapter.prototype.getStyle = function(element, stylename) {\n return element.style[stylename];\n };\n BrowserDomAdapter.prototype.hasStyle = function(element, styleName, styleValue) {\n if (styleValue === void 0) {\n styleValue = null;\n }\n var value = this.getStyle(element, styleName) || '';\n return styleValue ? value == styleValue : value.length > 0;\n };\n BrowserDomAdapter.prototype.tagName = function(element) {\n return element.tagName;\n };\n BrowserDomAdapter.prototype.attributeMap = function(element) {\n var res = new Map();\n var elAttrs = element.attributes;\n for (var i = 0; i < elAttrs.length; i++) {\n var attrib = elAttrs[i];\n res.set(attrib.name, attrib.value);\n }\n return res;\n };\n BrowserDomAdapter.prototype.hasAttribute = function(element, attribute) {\n return element.hasAttribute(attribute);\n };\n BrowserDomAdapter.prototype.hasAttributeNS = function(element, ns, attribute) {\n return element.hasAttributeNS(ns, attribute);\n };\n BrowserDomAdapter.prototype.getAttribute = function(element, attribute) {\n return element.getAttribute(attribute);\n };\n BrowserDomAdapter.prototype.getAttributeNS = function(element, ns, name) {\n return element.getAttributeNS(ns, name);\n };\n BrowserDomAdapter.prototype.setAttribute = function(element, name, value) {\n element.setAttribute(name, value);\n };\n BrowserDomAdapter.prototype.setAttributeNS = function(element, ns, name, value) {\n element.setAttributeNS(ns, name, value);\n };\n BrowserDomAdapter.prototype.removeAttribute = function(element, attribute) {\n element.removeAttribute(attribute);\n };\n BrowserDomAdapter.prototype.removeAttributeNS = function(element, ns, name) {\n element.removeAttributeNS(ns, name);\n };\n BrowserDomAdapter.prototype.templateAwareRoot = function(el) {\n return this.isTemplateElement(el) ? this.content(el) : el;\n };\n BrowserDomAdapter.prototype.createHtmlDocument = function() {\n return document.implementation.createHTMLDocument('fakeTitle');\n };\n BrowserDomAdapter.prototype.defaultDoc = function() {\n return document;\n };\n BrowserDomAdapter.prototype.getBoundingClientRect = function(el) {\n try {\n return el.getBoundingClientRect();\n } catch (e) {\n return {\n top: 0,\n bottom: 0,\n left: 0,\n right: 0,\n width: 0,\n height: 0\n };\n }\n };\n BrowserDomAdapter.prototype.getTitle = function() {\n return document.title;\n };\n BrowserDomAdapter.prototype.setTitle = function(newTitle) {\n document.title = newTitle || '';\n };\n BrowserDomAdapter.prototype.elementMatches = function(n, selector) {\n var matches = false;\n if (n instanceof HTMLElement) {\n if (n.matches) {\n matches = n.matches(selector);\n } else if (n.msMatchesSelector) {\n matches = n.msMatchesSelector(selector);\n } else if (n.webkitMatchesSelector) {\n matches = n.webkitMatchesSelector(selector);\n }\n }\n return matches;\n };\n BrowserDomAdapter.prototype.isTemplateElement = function(el) {\n return el instanceof HTMLElement && el.nodeName == \"TEMPLATE\";\n };\n BrowserDomAdapter.prototype.isTextNode = function(node) {\n return node.nodeType === Node.TEXT_NODE;\n };\n BrowserDomAdapter.prototype.isCommentNode = function(node) {\n return node.nodeType === Node.COMMENT_NODE;\n };\n BrowserDomAdapter.prototype.isElementNode = function(node) {\n return node.nodeType === Node.ELEMENT_NODE;\n };\n BrowserDomAdapter.prototype.hasShadowRoot = function(node) {\n return node instanceof HTMLElement && lang_1.isPresent(node.shadowRoot);\n };\n BrowserDomAdapter.prototype.isShadowRoot = function(node) {\n return node instanceof DocumentFragment;\n };\n BrowserDomAdapter.prototype.importIntoDoc = function(node) {\n var toImport = node;\n if (this.isTemplateElement(node)) {\n toImport = this.content(node);\n }\n return document.importNode(toImport, true);\n };\n BrowserDomAdapter.prototype.adoptNode = function(node) {\n return document.adoptNode(node);\n };\n BrowserDomAdapter.prototype.getHref = function(el) {\n return el.href;\n };\n BrowserDomAdapter.prototype.getEventKey = function(event) {\n var key = event.key;\n if (lang_1.isBlank(key)) {\n key = event.keyIdentifier;\n if (lang_1.isBlank(key)) {\n return 'Unidentified';\n }\n if (key.startsWith('U+')) {\n key = String.fromCharCode(parseInt(key.substring(2), 16));\n if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\n key = _chromeNumKeyPadMap[key];\n }\n }\n }\n if (_keyMap.hasOwnProperty(key)) {\n key = _keyMap[key];\n }\n return key;\n };\n BrowserDomAdapter.prototype.getGlobalEventTarget = function(target) {\n if (target == \"window\") {\n return window;\n } else if (target == \"document\") {\n return document;\n } else if (target == \"body\") {\n return document.body;\n }\n };\n BrowserDomAdapter.prototype.getHistory = function() {\n return window.history;\n };\n BrowserDomAdapter.prototype.getLocation = function() {\n return window.location;\n };\n BrowserDomAdapter.prototype.getBaseHref = function() {\n var href = getBaseElementHref();\n if (lang_1.isBlank(href)) {\n return null;\n }\n return relativePath(href);\n };\n BrowserDomAdapter.prototype.resetBaseElement = function() {\n baseElement = null;\n };\n BrowserDomAdapter.prototype.getUserAgent = function() {\n return window.navigator.userAgent;\n };\n BrowserDomAdapter.prototype.setData = function(element, name, value) {\n this.setAttribute(element, 'data-' + name, value);\n };\n BrowserDomAdapter.prototype.getData = function(element, name) {\n return this.getAttribute(element, 'data-' + name);\n };\n BrowserDomAdapter.prototype.getComputedStyle = function(element) {\n return getComputedStyle(element);\n };\n BrowserDomAdapter.prototype.setGlobalVar = function(path, value) {\n lang_1.setValueOnPath(lang_1.global, path, value);\n };\n BrowserDomAdapter.prototype.requestAnimationFrame = function(callback) {\n return window.requestAnimationFrame(callback);\n };\n BrowserDomAdapter.prototype.cancelAnimationFrame = function(id) {\n window.cancelAnimationFrame(id);\n };\n BrowserDomAdapter.prototype.performanceNow = function() {\n if (lang_1.isPresent(window.performance) && lang_1.isPresent(window.performance.now)) {\n return window.performance.now();\n } else {\n return lang_1.DateWrapper.toMillis(lang_1.DateWrapper.now());\n }\n };\n return BrowserDomAdapter;\n}(generic_browser_adapter_1.GenericBrowserDomAdapter));\nexports.BrowserDomAdapter = BrowserDomAdapter;\nvar baseElement = null;\nfunction getBaseElementHref() {\n if (lang_1.isBlank(baseElement)) {\n baseElement = document.querySelector('base');\n if (lang_1.isBlank(baseElement)) {\n return null;\n }\n }\n return baseElement.getAttribute('href');\n}\nvar urlParsingNode = null;\nfunction relativePath(url) {\n if (lang_1.isBlank(urlParsingNode)) {\n urlParsingNode = document.createElement(\"a\");\n }\n urlParsingNode.setAttribute('href', url);\n return (urlParsingNode.pathname.charAt(0) === '/') ? urlParsingNode.pathname : '/' + urlParsingNode.pathname;\n}\n","/* */ \n\"use strict\";\n\nexports[\"default\"] = function (instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nexports.__esModule = true;","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar metadata_1 = require('../di/metadata');\nvar forward_ref_1 = require('../di/forward_ref');\nvar AttributeMetadata = (function(_super) {\n __extends(AttributeMetadata, _super);\n function AttributeMetadata(attributeName) {\n _super.call(this);\n this.attributeName = attributeName;\n }\n Object.defineProperty(AttributeMetadata.prototype, \"token\", {\n get: function() {\n return this;\n },\n enumerable: true,\n configurable: true\n });\n AttributeMetadata.prototype.toString = function() {\n return \"@Attribute(\" + lang_1.stringify(this.attributeName) + \")\";\n };\n return AttributeMetadata;\n}(metadata_1.DependencyMetadata));\nexports.AttributeMetadata = AttributeMetadata;\nvar QueryMetadata = (function(_super) {\n __extends(QueryMetadata, _super);\n function QueryMetadata(_selector, _a) {\n var _b = _a === void 0 ? {} : _a,\n _c = _b.descendants,\n descendants = _c === void 0 ? false : _c,\n _d = _b.first,\n first = _d === void 0 ? false : _d,\n _e = _b.read,\n read = _e === void 0 ? null : _e;\n _super.call(this);\n this._selector = _selector;\n this.descendants = descendants;\n this.first = first;\n this.read = read;\n }\n Object.defineProperty(QueryMetadata.prototype, \"isViewQuery\", {\n get: function() {\n return false;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryMetadata.prototype, \"selector\", {\n get: function() {\n return forward_ref_1.resolveForwardRef(this._selector);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryMetadata.prototype, \"isVarBindingQuery\", {\n get: function() {\n return lang_1.isString(this.selector);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryMetadata.prototype, \"varBindings\", {\n get: function() {\n return this.selector.split(',');\n },\n enumerable: true,\n configurable: true\n });\n QueryMetadata.prototype.toString = function() {\n return \"@Query(\" + lang_1.stringify(this.selector) + \")\";\n };\n return QueryMetadata;\n}(metadata_1.DependencyMetadata));\nexports.QueryMetadata = QueryMetadata;\nvar ContentChildrenMetadata = (function(_super) {\n __extends(ContentChildrenMetadata, _super);\n function ContentChildrenMetadata(_selector, _a) {\n var _b = _a === void 0 ? {} : _a,\n _c = _b.descendants,\n descendants = _c === void 0 ? false : _c,\n _d = _b.read,\n read = _d === void 0 ? null : _d;\n _super.call(this, _selector, {\n descendants: descendants,\n read: read\n });\n }\n return ContentChildrenMetadata;\n}(QueryMetadata));\nexports.ContentChildrenMetadata = ContentChildrenMetadata;\nvar ContentChildMetadata = (function(_super) {\n __extends(ContentChildMetadata, _super);\n function ContentChildMetadata(_selector, _a) {\n var _b = (_a === void 0 ? {} : _a).read,\n read = _b === void 0 ? null : _b;\n _super.call(this, _selector, {\n descendants: true,\n first: true,\n read: read\n });\n }\n return ContentChildMetadata;\n}(QueryMetadata));\nexports.ContentChildMetadata = ContentChildMetadata;\nvar ViewQueryMetadata = (function(_super) {\n __extends(ViewQueryMetadata, _super);\n function ViewQueryMetadata(_selector, _a) {\n var _b = _a === void 0 ? {} : _a,\n _c = _b.descendants,\n descendants = _c === void 0 ? false : _c,\n _d = _b.first,\n first = _d === void 0 ? false : _d,\n _e = _b.read,\n read = _e === void 0 ? null : _e;\n _super.call(this, _selector, {\n descendants: descendants,\n first: first,\n read: read\n });\n }\n Object.defineProperty(ViewQueryMetadata.prototype, \"isViewQuery\", {\n get: function() {\n return true;\n },\n enumerable: true,\n configurable: true\n });\n ViewQueryMetadata.prototype.toString = function() {\n return \"@ViewQuery(\" + lang_1.stringify(this.selector) + \")\";\n };\n return ViewQueryMetadata;\n}(QueryMetadata));\nexports.ViewQueryMetadata = ViewQueryMetadata;\nvar ViewChildrenMetadata = (function(_super) {\n __extends(ViewChildrenMetadata, _super);\n function ViewChildrenMetadata(_selector, _a) {\n var _b = (_a === void 0 ? {} : _a).read,\n read = _b === void 0 ? null : _b;\n _super.call(this, _selector, {\n descendants: true,\n read: read\n });\n }\n return ViewChildrenMetadata;\n}(ViewQueryMetadata));\nexports.ViewChildrenMetadata = ViewChildrenMetadata;\nvar ViewChildMetadata = (function(_super) {\n __extends(ViewChildMetadata, _super);\n function ViewChildMetadata(_selector, _a) {\n var _b = (_a === void 0 ? {} : _a).read,\n read = _b === void 0 ? null : _b;\n _super.call(this, _selector, {\n descendants: true,\n first: true,\n read: read\n });\n }\n return ViewChildMetadata;\n}(ViewQueryMetadata));\nexports.ViewChildMetadata = ViewChildMetadata;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar metadata_1 = require('../di/metadata');\nvar constants_1 = require('../change_detection/constants');\nvar DirectiveMetadata = (function(_super) {\n __extends(DirectiveMetadata, _super);\n function DirectiveMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n selector = _b.selector,\n inputs = _b.inputs,\n outputs = _b.outputs,\n properties = _b.properties,\n events = _b.events,\n host = _b.host,\n bindings = _b.bindings,\n providers = _b.providers,\n exportAs = _b.exportAs,\n queries = _b.queries;\n _super.call(this);\n this.selector = selector;\n this._inputs = inputs;\n this._properties = properties;\n this._outputs = outputs;\n this._events = events;\n this.host = host;\n this.exportAs = exportAs;\n this.queries = queries;\n this._providers = providers;\n this._bindings = bindings;\n }\n Object.defineProperty(DirectiveMetadata.prototype, \"inputs\", {\n get: function() {\n return lang_1.isPresent(this._properties) && this._properties.length > 0 ? this._properties : this._inputs;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DirectiveMetadata.prototype, \"properties\", {\n get: function() {\n return this.inputs;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DirectiveMetadata.prototype, \"outputs\", {\n get: function() {\n return lang_1.isPresent(this._events) && this._events.length > 0 ? this._events : this._outputs;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DirectiveMetadata.prototype, \"events\", {\n get: function() {\n return this.outputs;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DirectiveMetadata.prototype, \"providers\", {\n get: function() {\n return lang_1.isPresent(this._bindings) && this._bindings.length > 0 ? this._bindings : this._providers;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DirectiveMetadata.prototype, \"bindings\", {\n get: function() {\n return this.providers;\n },\n enumerable: true,\n configurable: true\n });\n return DirectiveMetadata;\n}(metadata_1.InjectableMetadata));\nexports.DirectiveMetadata = DirectiveMetadata;\nvar ComponentMetadata = (function(_super) {\n __extends(ComponentMetadata, _super);\n function ComponentMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n selector = _b.selector,\n inputs = _b.inputs,\n outputs = _b.outputs,\n properties = _b.properties,\n events = _b.events,\n host = _b.host,\n exportAs = _b.exportAs,\n moduleId = _b.moduleId,\n bindings = _b.bindings,\n providers = _b.providers,\n viewBindings = _b.viewBindings,\n viewProviders = _b.viewProviders,\n _c = _b.changeDetection,\n changeDetection = _c === void 0 ? constants_1.ChangeDetectionStrategy.Default : _c,\n queries = _b.queries,\n templateUrl = _b.templateUrl,\n template = _b.template,\n styleUrls = _b.styleUrls,\n styles = _b.styles,\n directives = _b.directives,\n pipes = _b.pipes,\n encapsulation = _b.encapsulation;\n _super.call(this, {\n selector: selector,\n inputs: inputs,\n outputs: outputs,\n properties: properties,\n events: events,\n host: host,\n exportAs: exportAs,\n bindings: bindings,\n providers: providers,\n queries: queries\n });\n this.changeDetection = changeDetection;\n this._viewProviders = viewProviders;\n this._viewBindings = viewBindings;\n this.templateUrl = templateUrl;\n this.template = template;\n this.styleUrls = styleUrls;\n this.styles = styles;\n this.directives = directives;\n this.pipes = pipes;\n this.encapsulation = encapsulation;\n this.moduleId = moduleId;\n }\n Object.defineProperty(ComponentMetadata.prototype, \"viewProviders\", {\n get: function() {\n return lang_1.isPresent(this._viewBindings) && this._viewBindings.length > 0 ? this._viewBindings : this._viewProviders;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentMetadata.prototype, \"viewBindings\", {\n get: function() {\n return this.viewProviders;\n },\n enumerable: true,\n configurable: true\n });\n return ComponentMetadata;\n}(DirectiveMetadata));\nexports.ComponentMetadata = ComponentMetadata;\nvar PipeMetadata = (function(_super) {\n __extends(PipeMetadata, _super);\n function PipeMetadata(_a) {\n var name = _a.name,\n pure = _a.pure;\n _super.call(this);\n this.name = name;\n this._pure = pure;\n }\n Object.defineProperty(PipeMetadata.prototype, \"pure\", {\n get: function() {\n return lang_1.isPresent(this._pure) ? this._pure : true;\n },\n enumerable: true,\n configurable: true\n });\n return PipeMetadata;\n}(metadata_1.InjectableMetadata));\nexports.PipeMetadata = PipeMetadata;\nvar InputMetadata = (function() {\n function InputMetadata(bindingPropertyName) {\n this.bindingPropertyName = bindingPropertyName;\n }\n return InputMetadata;\n}());\nexports.InputMetadata = InputMetadata;\nvar OutputMetadata = (function() {\n function OutputMetadata(bindingPropertyName) {\n this.bindingPropertyName = bindingPropertyName;\n }\n return OutputMetadata;\n}());\nexports.OutputMetadata = OutputMetadata;\nvar HostBindingMetadata = (function() {\n function HostBindingMetadata(hostPropertyName) {\n this.hostPropertyName = hostPropertyName;\n }\n return HostBindingMetadata;\n}());\nexports.HostBindingMetadata = HostBindingMetadata;\nvar HostListenerMetadata = (function() {\n function HostListenerMetadata(eventName, args) {\n this.eventName = eventName;\n this.args = args;\n }\n return HostListenerMetadata;\n}());\nexports.HostListenerMetadata = HostListenerMetadata;\n","/* */ \n\"use strict\";\nvar di_1 = require('./metadata/di');\nexports.QueryMetadata = di_1.QueryMetadata;\nexports.ContentChildrenMetadata = di_1.ContentChildrenMetadata;\nexports.ContentChildMetadata = di_1.ContentChildMetadata;\nexports.ViewChildrenMetadata = di_1.ViewChildrenMetadata;\nexports.ViewQueryMetadata = di_1.ViewQueryMetadata;\nexports.ViewChildMetadata = di_1.ViewChildMetadata;\nexports.AttributeMetadata = di_1.AttributeMetadata;\nvar directives_1 = require('./metadata/directives');\nexports.ComponentMetadata = directives_1.ComponentMetadata;\nexports.DirectiveMetadata = directives_1.DirectiveMetadata;\nexports.PipeMetadata = directives_1.PipeMetadata;\nexports.InputMetadata = directives_1.InputMetadata;\nexports.OutputMetadata = directives_1.OutputMetadata;\nexports.HostBindingMetadata = directives_1.HostBindingMetadata;\nexports.HostListenerMetadata = directives_1.HostListenerMetadata;\nvar view_1 = require('./metadata/view');\nexports.ViewMetadata = view_1.ViewMetadata;\nexports.ViewEncapsulation = view_1.ViewEncapsulation;\nvar di_2 = require('./metadata/di');\nvar directives_2 = require('./metadata/directives');\nvar view_2 = require('./metadata/view');\nvar decorators_1 = require('./util/decorators');\nexports.Component = decorators_1.makeDecorator(directives_2.ComponentMetadata, function(fn) {\n return fn.View = View;\n});\nexports.Directive = decorators_1.makeDecorator(directives_2.DirectiveMetadata);\nvar View = decorators_1.makeDecorator(view_2.ViewMetadata, function(fn) {\n return fn.View = View;\n});\nexports.Attribute = decorators_1.makeParamDecorator(di_2.AttributeMetadata);\nexports.Query = decorators_1.makeParamDecorator(di_2.QueryMetadata);\nexports.ContentChildren = decorators_1.makePropDecorator(di_2.ContentChildrenMetadata);\nexports.ContentChild = decorators_1.makePropDecorator(di_2.ContentChildMetadata);\nexports.ViewChildren = decorators_1.makePropDecorator(di_2.ViewChildrenMetadata);\nexports.ViewChild = decorators_1.makePropDecorator(di_2.ViewChildMetadata);\nexports.ViewQuery = decorators_1.makeParamDecorator(di_2.ViewQueryMetadata);\nexports.Pipe = decorators_1.makeDecorator(directives_2.PipeMetadata);\nexports.Input = decorators_1.makePropDecorator(directives_2.InputMetadata);\nexports.Output = decorators_1.makePropDecorator(directives_2.OutputMetadata);\nexports.HostBinding = decorators_1.makePropDecorator(directives_2.HostBindingMetadata);\nexports.HostListener = decorators_1.makePropDecorator(directives_2.HostListenerMetadata);\n","/* */ \n\"use strict\";\nvar decorators_1 = require('./util/decorators');\nexports.Class = decorators_1.Class;\n","/* */ \n\"use strict\";\nvar ng_zone_1 = require('./zone/ng_zone');\nexports.NgZone = ng_zone_1.NgZone;\nexports.NgZoneError = ng_zone_1.NgZoneError;\n","/* */ \n\"use strict\";\nvar api_1 = require('./render/api');\nexports.RootRenderer = api_1.RootRenderer;\nexports.Renderer = api_1.Renderer;\nexports.RenderComponentType = api_1.RenderComponentType;\n","/* */ \n\"use strict\";\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar async_1 = require('../facade/async');\nvar QueryList = (function() {\n function QueryList() {\n this._dirty = true;\n this._results = [];\n this._emitter = new async_1.EventEmitter();\n }\n Object.defineProperty(QueryList.prototype, \"changes\", {\n get: function() {\n return this._emitter;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"length\", {\n get: function() {\n return this._results.length;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"first\", {\n get: function() {\n return collection_1.ListWrapper.first(this._results);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"last\", {\n get: function() {\n return collection_1.ListWrapper.last(this._results);\n },\n enumerable: true,\n configurable: true\n });\n QueryList.prototype.map = function(fn) {\n return this._results.map(fn);\n };\n QueryList.prototype.filter = function(fn) {\n return this._results.filter(fn);\n };\n QueryList.prototype.reduce = function(fn, init) {\n return this._results.reduce(fn, init);\n };\n QueryList.prototype.forEach = function(fn) {\n this._results.forEach(fn);\n };\n QueryList.prototype.toArray = function() {\n return collection_1.ListWrapper.clone(this._results);\n };\n QueryList.prototype[lang_1.getSymbolIterator()] = function() {\n return this._results[lang_1.getSymbolIterator()]();\n };\n QueryList.prototype.toString = function() {\n return this._results.toString();\n };\n QueryList.prototype.reset = function(res) {\n this._results = collection_1.ListWrapper.flatten(res);\n this._dirty = false;\n };\n QueryList.prototype.notifyOnChanges = function() {\n this._emitter.emit(this);\n };\n QueryList.prototype.setDirty = function() {\n this._dirty = true;\n };\n Object.defineProperty(QueryList.prototype, \"dirty\", {\n get: function() {\n return this._dirty;\n },\n enumerable: true,\n configurable: true\n });\n return QueryList;\n}());\nexports.QueryList = QueryList;\n","/* */ \n\"use strict\";\nvar component_resolver_1 = require('./linker/component_resolver');\nexports.ComponentResolver = component_resolver_1.ComponentResolver;\nvar query_list_1 = require('./linker/query_list');\nexports.QueryList = query_list_1.QueryList;\nvar dynamic_component_loader_1 = require('./linker/dynamic_component_loader');\nexports.DynamicComponentLoader = dynamic_component_loader_1.DynamicComponentLoader;\nvar element_ref_1 = require('./linker/element_ref');\nexports.ElementRef = element_ref_1.ElementRef;\nvar template_ref_1 = require('./linker/template_ref');\nexports.TemplateRef = template_ref_1.TemplateRef;\nvar view_ref_1 = require('./linker/view_ref');\nexports.EmbeddedViewRef = view_ref_1.EmbeddedViewRef;\nexports.ViewRef = view_ref_1.ViewRef;\nvar view_container_ref_1 = require('./linker/view_container_ref');\nexports.ViewContainerRef = view_container_ref_1.ViewContainerRef;\nvar component_factory_1 = require('./linker/component_factory');\nexports.ComponentRef = component_factory_1.ComponentRef;\nexports.ComponentFactory = component_factory_1.ComponentFactory;\nvar exceptions_1 = require('./linker/exceptions');\nexports.ExpressionChangedAfterItHasBeenCheckedException = exceptions_1.ExpressionChangedAfterItHasBeenCheckedException;\n","/* */ \n\"use strict\";\nvar change_detection_1 = require('./change_detection/change_detection');\nexports.ChangeDetectionStrategy = change_detection_1.ChangeDetectionStrategy;\nexports.ChangeDetectorRef = change_detection_1.ChangeDetectorRef;\nexports.WrappedValue = change_detection_1.WrappedValue;\nexports.SimpleChange = change_detection_1.SimpleChange;\nexports.DefaultIterableDiffer = change_detection_1.DefaultIterableDiffer;\nexports.IterableDiffers = change_detection_1.IterableDiffers;\nexports.KeyValueDiffers = change_detection_1.KeyValueDiffers;\nexports.CollectionChangeRecord = change_detection_1.CollectionChangeRecord;\nexports.KeyValueChangeRecord = change_detection_1.KeyValueChangeRecord;\n","/* */ \n\"use strict\";\nvar di_1 = require('./di');\nexports.PLATFORM_DIRECTIVES = new di_1.OpaqueToken(\"Platform Directives\");\nexports.PLATFORM_PIPES = new di_1.OpaqueToken(\"Platform Pipes\");\n","/* */ \n\"use strict\";\nvar console_1 = require('./console');\nvar reflection_1 = require('./reflection/reflection');\nvar reflector_reader_1 = require('./reflection/reflector_reader');\nvar testability_1 = require('./testability/testability');\nvar application_ref_1 = require('./application_ref');\nfunction _reflector() {\n return reflection_1.reflector;\n}\nvar __unused;\nexports.PLATFORM_COMMON_PROVIDERS = [application_ref_1.PLATFORM_CORE_PROVIDERS, {\n provide: reflection_1.Reflector,\n useFactory: _reflector,\n deps: []\n}, {\n provide: reflector_reader_1.ReflectorReader,\n useExisting: reflection_1.Reflector\n}, testability_1.TestabilityRegistry, console_1.Console];\n","/* */ \n\"use strict\";\n/**\n* Stores error information; delivered via [NgZone.onError] stream.\n*/\nvar NgZoneError = (function () {\n function NgZoneError(error, stackTrace) {\n this.error = error;\n this.stackTrace = stackTrace;\n }\n return NgZoneError;\n}());\nexports.NgZoneError = NgZoneError;\nvar NgZoneImpl = (function () {\n function NgZoneImpl(_a) {\n var _this = this;\n var trace = _a.trace, onEnter = _a.onEnter, onLeave = _a.onLeave, setMicrotask = _a.setMicrotask, setMacrotask = _a.setMacrotask, onError = _a.onError;\n this.onEnter = onEnter;\n this.onLeave = onLeave;\n this.setMicrotask = setMicrotask;\n this.setMacrotask = setMacrotask;\n this.onError = onError;\n if (Zone) {\n this.outer = this.inner = Zone.current;\n if (Zone['wtfZoneSpec']) {\n this.inner = this.inner.fork(Zone['wtfZoneSpec']);\n }\n if (trace && Zone['longStackTraceZoneSpec']) {\n this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);\n }\n this.inner = this.inner.fork({\n name: 'angular',\n properties: { 'isAngularZone': true },\n onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) {\n try {\n _this.onEnter();\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n }\n finally {\n _this.onLeave();\n }\n },\n onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) {\n try {\n _this.onEnter();\n return delegate.invoke(target, callback, applyThis, applyArgs, source);\n }\n finally {\n _this.onLeave();\n }\n },\n onHasTask: function (delegate, current, target, hasTaskState) {\n delegate.hasTask(target, hasTaskState);\n if (current == target) {\n // We are only interested in hasTask events which originate from our zone\n // (A child hasTask event is not interesting to us)\n if (hasTaskState.change == 'microTask') {\n _this.setMicrotask(hasTaskState.microTask);\n }\n else if (hasTaskState.change == 'macroTask') {\n _this.setMacrotask(hasTaskState.macroTask);\n }\n }\n },\n onHandleError: function (delegate, current, target, error) {\n delegate.handleError(target, error);\n _this.onError(new NgZoneError(error, error.stack));\n return false;\n }\n });\n }\n else {\n throw new Error('Angular requires Zone.js polyfill.');\n }\n }\n NgZoneImpl.isInAngularZone = function () { return Zone.current.get('isAngularZone') === true; };\n NgZoneImpl.prototype.runInner = function (fn) { return this.inner.run(fn); };\n ;\n NgZoneImpl.prototype.runInnerGuarded = function (fn) { return this.inner.runGuarded(fn); };\n ;\n NgZoneImpl.prototype.runOuter = function (fn) { return this.outer.run(fn); };\n ;\n return NgZoneImpl;\n}());\nexports.NgZoneImpl = NgZoneImpl;\n//# sourceMappingURL=ng_zone_impl.js.map","/* */ \n(function(process) {\n \"use strict\";\n var async_1 = require('../facade/async');\n var ng_zone_impl_1 = require('./ng_zone_impl');\n var exceptions_1 = require('../facade/exceptions');\n var ng_zone_impl_2 = require('./ng_zone_impl');\n exports.NgZoneError = ng_zone_impl_2.NgZoneError;\n var NgZone = (function() {\n function NgZone(_a) {\n var _this = this;\n var _b = _a.enableLongStackTrace,\n enableLongStackTrace = _b === void 0 ? false : _b;\n this._hasPendingMicrotasks = false;\n this._hasPendingMacrotasks = false;\n this._isStable = true;\n this._nesting = 0;\n this._onUnstable = new async_1.EventEmitter(false);\n this._onMicrotaskEmpty = new async_1.EventEmitter(false);\n this._onStable = new async_1.EventEmitter(false);\n this._onErrorEvents = new async_1.EventEmitter(false);\n this._zoneImpl = new ng_zone_impl_1.NgZoneImpl({\n trace: enableLongStackTrace,\n onEnter: function() {\n _this._nesting++;\n if (_this._isStable) {\n _this._isStable = false;\n _this._onUnstable.emit(null);\n }\n },\n onLeave: function() {\n _this._nesting--;\n _this._checkStable();\n },\n setMicrotask: function(hasMicrotasks) {\n _this._hasPendingMicrotasks = hasMicrotasks;\n _this._checkStable();\n },\n setMacrotask: function(hasMacrotasks) {\n _this._hasPendingMacrotasks = hasMacrotasks;\n },\n onError: function(error) {\n return _this._onErrorEvents.emit(error);\n }\n });\n }\n NgZone.isInAngularZone = function() {\n return ng_zone_impl_1.NgZoneImpl.isInAngularZone();\n };\n NgZone.assertInAngularZone = function() {\n if (!ng_zone_impl_1.NgZoneImpl.isInAngularZone()) {\n throw new exceptions_1.BaseException('Expected to be in Angular Zone, but it is not!');\n }\n };\n NgZone.assertNotInAngularZone = function() {\n if (ng_zone_impl_1.NgZoneImpl.isInAngularZone()) {\n throw new exceptions_1.BaseException('Expected to not be in Angular Zone, but it is!');\n }\n };\n NgZone.prototype._checkStable = function() {\n var _this = this;\n if (this._nesting == 0) {\n if (!this._hasPendingMicrotasks && !this._isStable) {\n try {\n this._nesting++;\n this._onMicrotaskEmpty.emit(null);\n } finally {\n this._nesting--;\n if (!this._hasPendingMicrotasks) {\n try {\n this.runOutsideAngular(function() {\n return _this._onStable.emit(null);\n });\n } finally {\n this._isStable = true;\n }\n }\n }\n }\n }\n };\n ;\n Object.defineProperty(NgZone.prototype, \"onUnstable\", {\n get: function() {\n return this._onUnstable;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onMicrotaskEmpty\", {\n get: function() {\n return this._onMicrotaskEmpty;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onStable\", {\n get: function() {\n return this._onStable;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onError\", {\n get: function() {\n return this._onErrorEvents;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"hasPendingMicrotasks\", {\n get: function() {\n return this._hasPendingMicrotasks;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"hasPendingMacrotasks\", {\n get: function() {\n return this._hasPendingMacrotasks;\n },\n enumerable: true,\n configurable: true\n });\n NgZone.prototype.run = function(fn) {\n return this._zoneImpl.runInner(fn);\n };\n NgZone.prototype.runGuarded = function(fn) {\n return this._zoneImpl.runInnerGuarded(fn);\n };\n NgZone.prototype.runOutsideAngular = function(fn) {\n return this._zoneImpl.runOuter(fn);\n };\n return NgZone;\n }());\n exports.NgZone = NgZone;\n})(require('process'));\n","/* */ \n\"use strict\";\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar ng_zone_1 = require('../zone/ng_zone');\nvar async_1 = require('../facade/async');\nvar decorators_1 = require('../di/decorators');\nvar Testability = (function() {\n function Testability(_ngZone) {\n this._ngZone = _ngZone;\n this._pendingCount = 0;\n this._isZoneStable = true;\n this._didWork = false;\n this._callbacks = [];\n this._watchAngularEvents();\n }\n Testability.prototype._watchAngularEvents = function() {\n var _this = this;\n async_1.ObservableWrapper.subscribe(this._ngZone.onUnstable, function(_) {\n _this._didWork = true;\n _this._isZoneStable = false;\n });\n this._ngZone.runOutsideAngular(function() {\n async_1.ObservableWrapper.subscribe(_this._ngZone.onStable, function(_) {\n ng_zone_1.NgZone.assertNotInAngularZone();\n lang_1.scheduleMicroTask(function() {\n _this._isZoneStable = true;\n _this._runCallbacksIfReady();\n });\n });\n });\n };\n Testability.prototype.increasePendingRequestCount = function() {\n this._pendingCount += 1;\n this._didWork = true;\n return this._pendingCount;\n };\n Testability.prototype.decreasePendingRequestCount = function() {\n this._pendingCount -= 1;\n if (this._pendingCount < 0) {\n throw new exceptions_1.BaseException('pending async requests below zero');\n }\n this._runCallbacksIfReady();\n return this._pendingCount;\n };\n Testability.prototype.isStable = function() {\n return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks;\n };\n Testability.prototype._runCallbacksIfReady = function() {\n var _this = this;\n if (this.isStable()) {\n lang_1.scheduleMicroTask(function() {\n while (_this._callbacks.length !== 0) {\n (_this._callbacks.pop())(_this._didWork);\n }\n _this._didWork = false;\n });\n } else {\n this._didWork = true;\n }\n };\n Testability.prototype.whenStable = function(callback) {\n this._callbacks.push(callback);\n this._runCallbacksIfReady();\n };\n Testability.prototype.getPendingRequestCount = function() {\n return this._pendingCount;\n };\n Testability.prototype.findBindings = function(using, provider, exactMatch) {\n return [];\n };\n Testability.prototype.findProviders = function(using, provider, exactMatch) {\n return [];\n };\n Testability.decorators = [{type: decorators_1.Injectable}];\n Testability.ctorParameters = [{type: ng_zone_1.NgZone}];\n return Testability;\n}());\nexports.Testability = Testability;\nvar TestabilityRegistry = (function() {\n function TestabilityRegistry() {\n this._applications = new collection_1.Map();\n _testabilityGetter.addToWindow(this);\n }\n TestabilityRegistry.prototype.registerApplication = function(token, testability) {\n this._applications.set(token, testability);\n };\n TestabilityRegistry.prototype.getTestability = function(elem) {\n return this._applications.get(elem);\n };\n TestabilityRegistry.prototype.getAllTestabilities = function() {\n return collection_1.MapWrapper.values(this._applications);\n };\n TestabilityRegistry.prototype.getAllRootElements = function() {\n return collection_1.MapWrapper.keys(this._applications);\n };\n TestabilityRegistry.prototype.findTestabilityInTree = function(elem, findInAncestors) {\n if (findInAncestors === void 0) {\n findInAncestors = true;\n }\n return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\n };\n TestabilityRegistry.decorators = [{type: decorators_1.Injectable}];\n TestabilityRegistry.ctorParameters = [];\n return TestabilityRegistry;\n}());\nexports.TestabilityRegistry = TestabilityRegistry;\nvar _NoopGetTestability = (function() {\n function _NoopGetTestability() {}\n _NoopGetTestability.prototype.addToWindow = function(registry) {};\n _NoopGetTestability.prototype.findTestabilityInTree = function(registry, elem, findInAncestors) {\n return null;\n };\n return _NoopGetTestability;\n}());\nfunction setTestabilityGetter(getter) {\n _testabilityGetter = getter;\n}\nexports.setTestabilityGetter = setTestabilityGetter;\nvar _testabilityGetter = new _NoopGetTestability();\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar ng_zone_1 = require('./zone/ng_zone');\nvar lang_1 = require('./facade/lang');\nvar di_1 = require('./di');\nvar application_tokens_1 = require('./application_tokens');\nvar async_1 = require('./facade/async');\nvar collection_1 = require('./facade/collection');\nvar testability_1 = require('./testability/testability');\nvar component_resolver_1 = require('./linker/component_resolver');\nvar exceptions_1 = require('./facade/exceptions');\nvar console_1 = require('./console');\nvar profile_1 = require('./profile/profile');\nfunction createNgZone() {\n return new ng_zone_1.NgZone({enableLongStackTrace: lang_1.assertionsEnabled()});\n}\nexports.createNgZone = createNgZone;\nvar _platform;\nvar _inPlatformCreate = false;\nfunction createPlatform(injector) {\n if (_inPlatformCreate) {\n throw new exceptions_1.BaseException('Already creating a platform...');\n }\n if (lang_1.isPresent(_platform) && !_platform.disposed) {\n throw new exceptions_1.BaseException(\"There can be only one platform. Destroy the previous one to create a new one.\");\n }\n lang_1.lockMode();\n _inPlatformCreate = true;\n try {\n _platform = injector.get(PlatformRef);\n } finally {\n _inPlatformCreate = false;\n }\n return _platform;\n}\nexports.createPlatform = createPlatform;\nfunction assertPlatform(requiredToken) {\n var platform = getPlatform();\n if (lang_1.isBlank(platform)) {\n throw new exceptions_1.BaseException('Not platform exists!');\n }\n if (lang_1.isPresent(platform) && lang_1.isBlank(platform.injector.get(requiredToken, null))) {\n throw new exceptions_1.BaseException('A platform with a different configuration has been created. Please destroy it first.');\n }\n return platform;\n}\nexports.assertPlatform = assertPlatform;\nfunction disposePlatform() {\n if (lang_1.isPresent(_platform) && !_platform.disposed) {\n _platform.dispose();\n }\n}\nexports.disposePlatform = disposePlatform;\nfunction getPlatform() {\n return lang_1.isPresent(_platform) && !_platform.disposed ? _platform : null;\n}\nexports.getPlatform = getPlatform;\nfunction coreBootstrap(injector, componentFactory) {\n var appRef = injector.get(ApplicationRef);\n return appRef.bootstrap(componentFactory);\n}\nexports.coreBootstrap = coreBootstrap;\nfunction coreLoadAndBootstrap(injector, componentType) {\n var appRef = injector.get(ApplicationRef);\n return appRef.run(function() {\n var componentResolver = injector.get(component_resolver_1.ComponentResolver);\n return async_1.PromiseWrapper.all([componentResolver.resolveComponent(componentType), appRef.waitForAsyncInitializers()]).then(function(arr) {\n return appRef.bootstrap(arr[0]);\n });\n });\n}\nexports.coreLoadAndBootstrap = coreLoadAndBootstrap;\nvar PlatformRef = (function() {\n function PlatformRef() {}\n Object.defineProperty(PlatformRef.prototype, \"injector\", {\n get: function() {\n throw exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(PlatformRef.prototype, \"disposed\", {\n get: function() {\n throw exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return PlatformRef;\n}());\nexports.PlatformRef = PlatformRef;\nvar PlatformRef_ = (function(_super) {\n __extends(PlatformRef_, _super);\n function PlatformRef_(_injector) {\n _super.call(this);\n this._injector = _injector;\n this._applications = [];\n this._disposeListeners = [];\n this._disposed = false;\n if (!_inPlatformCreate) {\n throw new exceptions_1.BaseException('Platforms have to be created via `createPlatform`!');\n }\n var inits = _injector.get(application_tokens_1.PLATFORM_INITIALIZER, null);\n if (lang_1.isPresent(inits))\n inits.forEach(function(init) {\n return init();\n });\n }\n PlatformRef_.prototype.registerDisposeListener = function(dispose) {\n this._disposeListeners.push(dispose);\n };\n Object.defineProperty(PlatformRef_.prototype, \"injector\", {\n get: function() {\n return this._injector;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformRef_.prototype, \"disposed\", {\n get: function() {\n return this._disposed;\n },\n enumerable: true,\n configurable: true\n });\n PlatformRef_.prototype.addApplication = function(appRef) {\n this._applications.push(appRef);\n };\n PlatformRef_.prototype.dispose = function() {\n collection_1.ListWrapper.clone(this._applications).forEach(function(app) {\n return app.dispose();\n });\n this._disposeListeners.forEach(function(dispose) {\n return dispose();\n });\n this._disposed = true;\n };\n PlatformRef_.prototype._applicationDisposed = function(app) {\n collection_1.ListWrapper.remove(this._applications, app);\n };\n PlatformRef_.decorators = [{type: di_1.Injectable}];\n PlatformRef_.ctorParameters = [{type: di_1.Injector}];\n return PlatformRef_;\n}(PlatformRef));\nexports.PlatformRef_ = PlatformRef_;\nvar ApplicationRef = (function() {\n function ApplicationRef() {}\n Object.defineProperty(ApplicationRef.prototype, \"injector\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ApplicationRef.prototype, \"zone\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ApplicationRef.prototype, \"componentTypes\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n return ApplicationRef;\n}());\nexports.ApplicationRef = ApplicationRef;\nvar ApplicationRef_ = (function(_super) {\n __extends(ApplicationRef_, _super);\n function ApplicationRef_(_platform, _zone, _injector) {\n var _this = this;\n _super.call(this);\n this._platform = _platform;\n this._zone = _zone;\n this._injector = _injector;\n this._bootstrapListeners = [];\n this._disposeListeners = [];\n this._rootComponents = [];\n this._rootComponentTypes = [];\n this._changeDetectorRefs = [];\n this._runningTick = false;\n this._enforceNoNewChanges = false;\n var zone = _injector.get(ng_zone_1.NgZone);\n this._enforceNoNewChanges = lang_1.assertionsEnabled();\n zone.run(function() {\n _this._exceptionHandler = _injector.get(exceptions_1.ExceptionHandler);\n });\n this._asyncInitDonePromise = this.run(function() {\n var inits = _injector.get(application_tokens_1.APP_INITIALIZER, null);\n var asyncInitResults = [];\n var asyncInitDonePromise;\n if (lang_1.isPresent(inits)) {\n for (var i = 0; i < inits.length; i++) {\n var initResult = inits[i]();\n if (lang_1.isPromise(initResult)) {\n asyncInitResults.push(initResult);\n }\n }\n }\n if (asyncInitResults.length > 0) {\n asyncInitDonePromise = async_1.PromiseWrapper.all(asyncInitResults).then(function(_) {\n return _this._asyncInitDone = true;\n });\n _this._asyncInitDone = false;\n } else {\n _this._asyncInitDone = true;\n asyncInitDonePromise = async_1.PromiseWrapper.resolve(true);\n }\n return asyncInitDonePromise;\n });\n async_1.ObservableWrapper.subscribe(zone.onError, function(error) {\n _this._exceptionHandler.call(error.error, error.stackTrace);\n });\n async_1.ObservableWrapper.subscribe(this._zone.onMicrotaskEmpty, function(_) {\n _this._zone.run(function() {\n _this.tick();\n });\n });\n }\n ApplicationRef_.prototype.registerBootstrapListener = function(listener) {\n this._bootstrapListeners.push(listener);\n };\n ApplicationRef_.prototype.registerDisposeListener = function(dispose) {\n this._disposeListeners.push(dispose);\n };\n ApplicationRef_.prototype.registerChangeDetector = function(changeDetector) {\n this._changeDetectorRefs.push(changeDetector);\n };\n ApplicationRef_.prototype.unregisterChangeDetector = function(changeDetector) {\n collection_1.ListWrapper.remove(this._changeDetectorRefs, changeDetector);\n };\n ApplicationRef_.prototype.waitForAsyncInitializers = function() {\n return this._asyncInitDonePromise;\n };\n ApplicationRef_.prototype.run = function(callback) {\n var _this = this;\n var zone = this.injector.get(ng_zone_1.NgZone);\n var result;\n var completer = async_1.PromiseWrapper.completer();\n zone.run(function() {\n try {\n result = callback();\n if (lang_1.isPromise(result)) {\n async_1.PromiseWrapper.then(result, function(ref) {\n completer.resolve(ref);\n }, function(err, stackTrace) {\n completer.reject(err, stackTrace);\n _this._exceptionHandler.call(err, stackTrace);\n });\n }\n } catch (e) {\n _this._exceptionHandler.call(e, e.stack);\n throw e;\n }\n });\n return lang_1.isPromise(result) ? completer.promise : result;\n };\n ApplicationRef_.prototype.bootstrap = function(componentFactory) {\n var _this = this;\n if (!this._asyncInitDone) {\n throw new exceptions_1.BaseException('Cannot bootstrap as there are still asynchronous initializers running. Wait for them using waitForAsyncInitializers().');\n }\n return this.run(function() {\n _this._rootComponentTypes.push(componentFactory.componentType);\n var compRef = componentFactory.create(_this._injector, [], componentFactory.selector);\n compRef.onDestroy(function() {\n _this._unloadComponent(compRef);\n });\n var testability = compRef.injector.get(testability_1.Testability, null);\n if (lang_1.isPresent(testability)) {\n compRef.injector.get(testability_1.TestabilityRegistry).registerApplication(compRef.location.nativeElement, testability);\n }\n _this._loadComponent(compRef);\n var c = _this._injector.get(console_1.Console);\n if (lang_1.assertionsEnabled()) {\n c.log(\"Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.\");\n }\n return compRef;\n });\n };\n ApplicationRef_.prototype._loadComponent = function(componentRef) {\n this._changeDetectorRefs.push(componentRef.changeDetectorRef);\n this.tick();\n this._rootComponents.push(componentRef);\n this._bootstrapListeners.forEach(function(listener) {\n return listener(componentRef);\n });\n };\n ApplicationRef_.prototype._unloadComponent = function(componentRef) {\n if (!collection_1.ListWrapper.contains(this._rootComponents, componentRef)) {\n return;\n }\n this.unregisterChangeDetector(componentRef.changeDetectorRef);\n collection_1.ListWrapper.remove(this._rootComponents, componentRef);\n };\n Object.defineProperty(ApplicationRef_.prototype, \"injector\", {\n get: function() {\n return this._injector;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ApplicationRef_.prototype, \"zone\", {\n get: function() {\n return this._zone;\n },\n enumerable: true,\n configurable: true\n });\n ApplicationRef_.prototype.tick = function() {\n if (this._runningTick) {\n throw new exceptions_1.BaseException(\"ApplicationRef.tick is called recursively\");\n }\n var s = ApplicationRef_._tickScope();\n try {\n this._runningTick = true;\n this._changeDetectorRefs.forEach(function(detector) {\n return detector.detectChanges();\n });\n if (this._enforceNoNewChanges) {\n this._changeDetectorRefs.forEach(function(detector) {\n return detector.checkNoChanges();\n });\n }\n } finally {\n this._runningTick = false;\n profile_1.wtfLeave(s);\n }\n };\n ApplicationRef_.prototype.dispose = function() {\n collection_1.ListWrapper.clone(this._rootComponents).forEach(function(ref) {\n return ref.destroy();\n });\n this._disposeListeners.forEach(function(dispose) {\n return dispose();\n });\n this._platform._applicationDisposed(this);\n };\n Object.defineProperty(ApplicationRef_.prototype, \"componentTypes\", {\n get: function() {\n return this._rootComponentTypes;\n },\n enumerable: true,\n configurable: true\n });\n ApplicationRef_._tickScope = profile_1.wtfCreateScope('ApplicationRef#tick()');\n ApplicationRef_.decorators = [{type: di_1.Injectable}];\n ApplicationRef_.ctorParameters = [{type: PlatformRef_}, {type: ng_zone_1.NgZone}, {type: di_1.Injector}];\n return ApplicationRef_;\n}(ApplicationRef));\nexports.ApplicationRef_ = ApplicationRef_;\nexports.PLATFORM_CORE_PROVIDERS = [PlatformRef_, ({\n provide: PlatformRef,\n useExisting: PlatformRef_\n})];\nexports.APPLICATION_CORE_PROVIDERS = [{\n provide: ng_zone_1.NgZone,\n useFactory: createNgZone,\n deps: []\n}, ApplicationRef_, {\n provide: ApplicationRef,\n useExisting: ApplicationRef_\n}];\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar component_resolver_1 = require('./component_resolver');\nvar lang_1 = require('../facade/lang');\nvar reflective_injector_1 = require('../di/reflective_injector');\nvar decorators_1 = require('../di/decorators');\nvar DynamicComponentLoader = (function() {\n function DynamicComponentLoader() {}\n return DynamicComponentLoader;\n}());\nexports.DynamicComponentLoader = DynamicComponentLoader;\nvar DynamicComponentLoader_ = (function(_super) {\n __extends(DynamicComponentLoader_, _super);\n function DynamicComponentLoader_(_compiler) {\n _super.call(this);\n this._compiler = _compiler;\n }\n DynamicComponentLoader_.prototype.loadAsRoot = function(type, overrideSelectorOrNode, injector, onDispose, projectableNodes) {\n return this._compiler.resolveComponent(type).then(function(componentFactory) {\n var componentRef = componentFactory.create(injector, projectableNodes, lang_1.isPresent(overrideSelectorOrNode) ? overrideSelectorOrNode : componentFactory.selector);\n if (lang_1.isPresent(onDispose)) {\n componentRef.onDestroy(onDispose);\n }\n return componentRef;\n });\n };\n DynamicComponentLoader_.prototype.loadNextToLocation = function(type, location, providers, projectableNodes) {\n if (providers === void 0) {\n providers = null;\n }\n if (projectableNodes === void 0) {\n projectableNodes = null;\n }\n return this._compiler.resolveComponent(type).then(function(componentFactory) {\n var contextInjector = location.parentInjector;\n var childInjector = lang_1.isPresent(providers) && providers.length > 0 ? reflective_injector_1.ReflectiveInjector.fromResolvedProviders(providers, contextInjector) : contextInjector;\n return location.createComponent(componentFactory, location.length, childInjector, projectableNodes);\n });\n };\n DynamicComponentLoader_.decorators = [{type: decorators_1.Injectable}];\n DynamicComponentLoader_.ctorParameters = [{type: component_resolver_1.ComponentResolver}];\n return DynamicComponentLoader_;\n}(DynamicComponentLoader));\nexports.DynamicComponentLoader_ = DynamicComponentLoader_;\n","/* */ \n\"use strict\";\nvar application_tokens_1 = require('./application_tokens');\nvar application_ref_1 = require('./application_ref');\nvar change_detection_1 = require('./change_detection/change_detection');\nvar view_utils_1 = require('./linker/view_utils');\nvar component_resolver_1 = require('./linker/component_resolver');\nvar dynamic_component_loader_1 = require('./linker/dynamic_component_loader');\nvar __unused;\nexports.APPLICATION_COMMON_PROVIDERS = [application_ref_1.APPLICATION_CORE_PROVIDERS, {\n provide: component_resolver_1.ComponentResolver,\n useClass: component_resolver_1.ReflectorComponentResolver\n}, application_tokens_1.APP_ID_RANDOM_PROVIDER, view_utils_1.ViewUtils, {\n provide: change_detection_1.IterableDiffers,\n useValue: change_detection_1.defaultIterableDiffers\n}, {\n provide: change_detection_1.KeyValueDiffers,\n useValue: change_detection_1.defaultKeyValueDiffers\n}, {\n provide: dynamic_component_loader_1.DynamicComponentLoader,\n useClass: dynamic_component_loader_1.DynamicComponentLoader_\n}];\n","/* */ \n\"use strict\";\n(function (LifecycleHooks) {\n LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\n LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\n LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\n LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\n LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\n LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\n LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\n LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\n})(exports.LifecycleHooks || (exports.LifecycleHooks = {}));\nvar LifecycleHooks = exports.LifecycleHooks;\n/**\n * @internal\n */\nexports.LIFECYCLE_HOOKS_VALUES = [\n LifecycleHooks.OnInit,\n LifecycleHooks.OnDestroy,\n LifecycleHooks.DoCheck,\n LifecycleHooks.OnChanges,\n LifecycleHooks.AfterContentInit,\n LifecycleHooks.AfterContentChecked,\n LifecycleHooks.AfterViewInit,\n LifecycleHooks.AfterViewChecked\n];\n//# sourceMappingURL=lifecycle_hooks.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar view_utils_1 = require('./view_utils');\nvar ComponentRef = (function() {\n function ComponentRef() {}\n Object.defineProperty(ComponentRef.prototype, \"location\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"injector\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"instance\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef.prototype, \"hostView\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef.prototype, \"changeDetectorRef\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"componentType\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return ComponentRef;\n}());\nexports.ComponentRef = ComponentRef;\nvar ComponentRef_ = (function(_super) {\n __extends(ComponentRef_, _super);\n function ComponentRef_(_hostElement, _componentType) {\n _super.call(this);\n this._hostElement = _hostElement;\n this._componentType = _componentType;\n }\n Object.defineProperty(ComponentRef_.prototype, \"location\", {\n get: function() {\n return this._hostElement.elementRef;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef_.prototype, \"injector\", {\n get: function() {\n return this._hostElement.injector;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef_.prototype, \"instance\", {\n get: function() {\n return this._hostElement.component;\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"hostView\", {\n get: function() {\n return this._hostElement.parentView.ref;\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"changeDetectorRef\", {\n get: function() {\n return this._hostElement.parentView.ref;\n },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"componentType\", {\n get: function() {\n return this._componentType;\n },\n enumerable: true,\n configurable: true\n });\n ComponentRef_.prototype.destroy = function() {\n this._hostElement.parentView.destroy();\n };\n ComponentRef_.prototype.onDestroy = function(callback) {\n this.hostView.onDestroy(callback);\n };\n return ComponentRef_;\n}(ComponentRef));\nexports.ComponentRef_ = ComponentRef_;\nvar EMPTY_CONTEXT = new Object();\nvar ComponentFactory = (function() {\n function ComponentFactory(selector, _viewFactory, _componentType) {\n this.selector = selector;\n this._viewFactory = _viewFactory;\n this._componentType = _componentType;\n }\n Object.defineProperty(ComponentFactory.prototype, \"componentType\", {\n get: function() {\n return this._componentType;\n },\n enumerable: true,\n configurable: true\n });\n ComponentFactory.prototype.create = function(injector, projectableNodes, rootSelectorOrNode) {\n if (projectableNodes === void 0) {\n projectableNodes = null;\n }\n if (rootSelectorOrNode === void 0) {\n rootSelectorOrNode = null;\n }\n var vu = injector.get(view_utils_1.ViewUtils);\n if (lang_1.isBlank(projectableNodes)) {\n projectableNodes = [];\n }\n var hostView = this._viewFactory(vu, injector, null);\n var hostElement = hostView.create(EMPTY_CONTEXT, projectableNodes, rootSelectorOrNode);\n return new ComponentRef_(hostElement, this._componentType);\n };\n return ComponentFactory;\n}());\nexports.ComponentFactory = ComponentFactory;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar async_1 = require('../facade/async');\nvar reflection_1 = require('../reflection/reflection');\nvar component_factory_1 = require('./component_factory');\nvar decorators_1 = require('../di/decorators');\nvar ComponentResolver = (function() {\n function ComponentResolver() {}\n return ComponentResolver;\n}());\nexports.ComponentResolver = ComponentResolver;\nfunction _isComponentFactory(type) {\n return type instanceof component_factory_1.ComponentFactory;\n}\nvar ReflectorComponentResolver = (function(_super) {\n __extends(ReflectorComponentResolver, _super);\n function ReflectorComponentResolver() {\n _super.apply(this, arguments);\n }\n ReflectorComponentResolver.prototype.resolveComponent = function(componentType) {\n var metadatas = reflection_1.reflector.annotations(componentType);\n var componentFactory = metadatas.find(_isComponentFactory);\n if (lang_1.isBlank(componentFactory)) {\n throw new exceptions_1.BaseException(\"No precompiled component \" + lang_1.stringify(componentType) + \" found\");\n }\n return async_1.PromiseWrapper.resolve(componentFactory);\n };\n ReflectorComponentResolver.prototype.clearCache = function() {};\n ReflectorComponentResolver.decorators = [{type: decorators_1.Injectable}];\n return ReflectorComponentResolver;\n}(ComponentResolver));\nexports.ReflectorComponentResolver = ReflectorComponentResolver;\n","/* */ \n\"use strict\";\nvar PromiseCompleter = (function () {\n function PromiseCompleter() {\n var _this = this;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n return PromiseCompleter;\n}());\nexports.PromiseCompleter = PromiseCompleter;\nvar PromiseWrapper = (function () {\n function PromiseWrapper() {\n }\n PromiseWrapper.resolve = function (obj) { return Promise.resolve(obj); };\n PromiseWrapper.reject = function (obj, _) { return Promise.reject(obj); };\n // Note: We can't rename this method into `catch`, as this is not a valid\n // method name in Dart.\n PromiseWrapper.catchError = function (promise, onError) {\n return promise.catch(onError);\n };\n PromiseWrapper.all = function (promises) {\n if (promises.length == 0)\n return Promise.resolve([]);\n return Promise.all(promises);\n };\n PromiseWrapper.then = function (promise, success, rejection) {\n return promise.then(success, rejection);\n };\n PromiseWrapper.wrap = function (computation) {\n return new Promise(function (res, rej) {\n try {\n res(computation());\n }\n catch (e) {\n rej(e);\n }\n });\n };\n PromiseWrapper.scheduleMicrotask = function (computation) {\n PromiseWrapper.then(PromiseWrapper.resolve(null), computation, function (_) { });\n };\n PromiseWrapper.isPromise = function (obj) { return obj instanceof Promise; };\n PromiseWrapper.completer = function () { return new PromiseCompleter(); };\n return PromiseWrapper;\n}());\nexports.PromiseWrapper = PromiseWrapper;\n//# sourceMappingURL=promise.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscription_1 = require('./Subscription');\nvar SubjectSubscription = (function(_super) {\n __extends(SubjectSubscription, _super);\n function SubjectSubscription(subject, observer) {\n _super.call(this);\n this.subject = subject;\n this.observer = observer;\n this.isUnsubscribed = false;\n }\n SubjectSubscription.prototype.unsubscribe = function() {\n if (this.isUnsubscribed) {\n return;\n }\n this.isUnsubscribed = true;\n var subject = this.subject;\n var observers = subject.observers;\n this.subject = null;\n if (!observers || observers.length === 0 || subject.isUnsubscribed) {\n return;\n }\n var subscriberIndex = observers.indexOf(this.observer);\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n };\n return SubjectSubscription;\n}(Subscription_1.Subscription));\nexports.SubjectSubscription = SubjectSubscription;\n","/* */ \n\"use strict\";\nfunction throwError(e) { throw e; }\nexports.throwError = throwError;\n//# sourceMappingURL=throwError.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n */\nvar ObjectUnsubscribedError = (function (_super) {\n __extends(ObjectUnsubscribedError, _super);\n function ObjectUnsubscribedError() {\n _super.call(this, 'object unsubscribed');\n this.name = 'ObjectUnsubscribedError';\n }\n return ObjectUnsubscribedError;\n}(Error));\nexports.ObjectUnsubscribedError = ObjectUnsubscribedError;\n//# sourceMappingURL=ObjectUnsubscribedError.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('./Observable');\nvar Subscriber_1 = require('./Subscriber');\nvar Subscription_1 = require('./Subscription');\nvar SubjectSubscription_1 = require('./SubjectSubscription');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\nvar throwError_1 = require('./util/throwError');\nvar ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');\nvar Subject = (function(_super) {\n __extends(Subject, _super);\n function Subject(destination, source) {\n _super.call(this);\n this.destination = destination;\n this.source = source;\n this.observers = [];\n this.isUnsubscribed = false;\n this.isStopped = false;\n this.hasErrored = false;\n this.dispatching = false;\n this.hasCompleted = false;\n this.source = source;\n }\n Subject.prototype.lift = function(operator) {\n var subject = new Subject(this.destination || this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.add = function(subscription) {\n return Subscription_1.Subscription.prototype.add.call(this, subscription);\n };\n Subject.prototype.remove = function(subscription) {\n Subscription_1.Subscription.prototype.remove.call(this, subscription);\n };\n Subject.prototype.unsubscribe = function() {\n Subscription_1.Subscription.prototype.unsubscribe.call(this);\n };\n Subject.prototype._subscribe = function(subscriber) {\n if (this.source) {\n return this.source.subscribe(subscriber);\n } else {\n if (subscriber.isUnsubscribed) {\n return;\n } else if (this.hasErrored) {\n return subscriber.error(this.errorValue);\n } else if (this.hasCompleted) {\n return subscriber.complete();\n }\n this.throwIfUnsubscribed();\n var subscription = new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n this.observers.push(subscriber);\n return subscription;\n }\n };\n Subject.prototype._unsubscribe = function() {\n this.source = null;\n this.isStopped = true;\n this.observers = null;\n this.destination = null;\n };\n Subject.prototype.next = function(value) {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.dispatching = true;\n this._next(value);\n this.dispatching = false;\n if (this.hasErrored) {\n this._error(this.errorValue);\n } else if (this.hasCompleted) {\n this._complete();\n }\n };\n Subject.prototype.error = function(err) {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.isStopped = true;\n this.hasErrored = true;\n this.errorValue = err;\n if (this.dispatching) {\n return;\n }\n this._error(err);\n };\n Subject.prototype.complete = function() {\n this.throwIfUnsubscribed();\n if (this.isStopped) {\n return;\n }\n this.isStopped = true;\n this.hasCompleted = true;\n if (this.dispatching) {\n return;\n }\n this._complete();\n };\n Subject.prototype.asObservable = function() {\n var observable = new SubjectObservable(this);\n return observable;\n };\n Subject.prototype._next = function(value) {\n if (this.destination) {\n this.destination.next(value);\n } else {\n this._finalNext(value);\n }\n };\n Subject.prototype._finalNext = function(value) {\n var index = -1;\n var observers = this.observers.slice(0);\n var len = observers.length;\n while (++index < len) {\n observers[index].next(value);\n }\n };\n Subject.prototype._error = function(err) {\n if (this.destination) {\n this.destination.error(err);\n } else {\n this._finalError(err);\n }\n };\n Subject.prototype._finalError = function(err) {\n var index = -1;\n var observers = this.observers;\n this.observers = null;\n this.isUnsubscribed = true;\n if (observers) {\n var len = observers.length;\n while (++index < len) {\n observers[index].error(err);\n }\n }\n this.isUnsubscribed = false;\n this.unsubscribe();\n };\n Subject.prototype._complete = function() {\n if (this.destination) {\n this.destination.complete();\n } else {\n this._finalComplete();\n }\n };\n Subject.prototype._finalComplete = function() {\n var index = -1;\n var observers = this.observers;\n this.observers = null;\n this.isUnsubscribed = true;\n if (observers) {\n var len = observers.length;\n while (++index < len) {\n observers[index].complete();\n }\n }\n this.isUnsubscribed = false;\n this.unsubscribe();\n };\n Subject.prototype.throwIfUnsubscribed = function() {\n if (this.isUnsubscribed) {\n throwError_1.throwError(new ObjectUnsubscribedError_1.ObjectUnsubscribedError());\n }\n };\n Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function() {\n return new Subscriber_1.Subscriber(this);\n };\n Subject.create = function(destination, source) {\n return new Subject(destination, source);\n };\n return Subject;\n}(Observable_1.Observable));\nexports.Subject = Subject;\nvar SubjectObservable = (function(_super) {\n __extends(SubjectObservable, _super);\n function SubjectObservable(source) {\n _super.call(this);\n this.source = source;\n }\n return SubjectObservable;\n}(Observable_1.Observable));\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Observable_1 = require('../Observable');\nvar PromiseObservable = (function(_super) {\n __extends(PromiseObservable, _super);\n function PromiseObservable(promise, scheduler) {\n if (scheduler === void 0) {\n scheduler = null;\n }\n _super.call(this);\n this.promise = promise;\n this.scheduler = scheduler;\n }\n PromiseObservable.create = function(promise, scheduler) {\n if (scheduler === void 0) {\n scheduler = null;\n }\n return new PromiseObservable(promise, scheduler);\n };\n PromiseObservable.prototype._subscribe = function(subscriber) {\n var _this = this;\n var promise = this.promise;\n var scheduler = this.scheduler;\n if (scheduler == null) {\n if (this._isScalar) {\n if (!subscriber.isUnsubscribed) {\n subscriber.next(this.value);\n subscriber.complete();\n }\n } else {\n promise.then(function(value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.isUnsubscribed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, function(err) {\n if (!subscriber.isUnsubscribed) {\n subscriber.error(err);\n }\n }).then(null, function(err) {\n root_1.root.setTimeout(function() {\n throw err;\n });\n });\n }\n } else {\n if (this._isScalar) {\n if (!subscriber.isUnsubscribed) {\n return scheduler.schedule(dispatchNext, 0, {\n value: this.value,\n subscriber: subscriber\n });\n }\n } else {\n promise.then(function(value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.isUnsubscribed) {\n subscriber.add(scheduler.schedule(dispatchNext, 0, {\n value: value,\n subscriber: subscriber\n }));\n }\n }, function(err) {\n if (!subscriber.isUnsubscribed) {\n subscriber.add(scheduler.schedule(dispatchError, 0, {\n err: err,\n subscriber: subscriber\n }));\n }\n }).then(null, function(err) {\n root_1.root.setTimeout(function() {\n throw err;\n });\n });\n }\n }\n };\n return PromiseObservable;\n}(Observable_1.Observable));\nexports.PromiseObservable = PromiseObservable;\nfunction dispatchNext(arg) {\n var value = arg.value,\n subscriber = arg.subscriber;\n if (!subscriber.isUnsubscribed) {\n subscriber.next(value);\n subscriber.complete();\n }\n}\nfunction dispatchError(arg) {\n var err = arg.err,\n subscriber = arg.subscriber;\n if (!subscriber.isUnsubscribed) {\n subscriber.error(err);\n }\n}\n","/* */ \n\"use strict\";\nvar root_1 = require('../util/root');\nfunction toPromise(PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n } else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function(resolve, reject) {\n var value;\n _this.subscribe(function(x) {\n return value = x;\n }, function(err) {\n return reject(err);\n }, function() {\n return resolve(value);\n });\n });\n}\nexports.toPromise = toPromise;\n","/* */ \n\"use strict\";\nvar root_1 = require('../util/root');\nvar Symbol = root_1.root.Symbol;\nif (typeof Symbol === 'function') {\n if (Symbol.observable) {\n exports.$$observable = Symbol.observable;\n } else {\n if (typeof Symbol.for === 'function') {\n exports.$$observable = Symbol.for('observable');\n } else {\n exports.$$observable = Symbol('observable');\n }\n Symbol.observable = exports.$$observable;\n }\n} else {\n exports.$$observable = '@@observable';\n}\n","/* */ \n\"use strict\";\nexports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n//# sourceMappingURL=isArray.js.map","/* */ \n\"use strict\";\nfunction isObject(x) {\n return x != null && typeof x === 'object';\n}\nexports.isObject = isObject;\n//# sourceMappingURL=isObject.js.map","/* */ \n\"use strict\";\nfunction isFunction(x) {\n return typeof x === 'function';\n}\nexports.isFunction = isFunction;\n//# sourceMappingURL=isFunction.js.map","/* */ \n\"use strict\";\nvar errorObject_1 = require('./errorObject');\nvar tryCatchTarget;\nfunction tryCatcher() {\n try {\n return tryCatchTarget.apply(this, arguments);\n } catch (e) {\n errorObject_1.errorObject.e = e;\n return errorObject_1.errorObject;\n }\n}\nfunction tryCatch(fn) {\n tryCatchTarget = fn;\n return tryCatcher;\n}\nexports.tryCatch = tryCatch;\n;\n","/* */ \n\"use strict\";\n// typeof any so that it we don't have to cast when comparing a result to the error object\nexports.errorObject = { e: {} };\n//# sourceMappingURL=errorObject.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when one or more errors have occurred during the\n * `unsubscribe` of a {@link Subscription}.\n */\nvar UnsubscriptionError = (function (_super) {\n __extends(UnsubscriptionError, _super);\n function UnsubscriptionError(errors) {\n _super.call(this);\n this.errors = errors;\n this.name = 'UnsubscriptionError';\n this.message = errors ? errors.length + \" errors occurred during unsubscription:\\n\" + errors.map(function (err, i) { return ((i + 1) + \") \" + err.toString()); }).join('\\n') : '';\n }\n return UnsubscriptionError;\n}(Error));\nexports.UnsubscriptionError = UnsubscriptionError;\n//# sourceMappingURL=UnsubscriptionError.js.map","/* */ \n(function(process) {\n \"use strict\";\n var isArray_1 = require('./util/isArray');\n var isObject_1 = require('./util/isObject');\n var isFunction_1 = require('./util/isFunction');\n var tryCatch_1 = require('./util/tryCatch');\n var errorObject_1 = require('./util/errorObject');\n var UnsubscriptionError_1 = require('./util/UnsubscriptionError');\n var Subscription = (function() {\n function Subscription(unsubscribe) {\n this.isUnsubscribed = false;\n if (unsubscribe) {\n this._unsubscribe = unsubscribe;\n }\n }\n Subscription.prototype.unsubscribe = function() {\n var hasErrors = false;\n var errors;\n if (this.isUnsubscribed) {\n return;\n }\n this.isUnsubscribed = true;\n var _a = this,\n _unsubscribe = _a._unsubscribe,\n _subscriptions = _a._subscriptions;\n this._subscriptions = null;\n if (isFunction_1.isFunction(_unsubscribe)) {\n var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n (errors = errors || []).push(errorObject_1.errorObject.e);\n }\n }\n if (isArray_1.isArray(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (isObject_1.isObject(sub)) {\n var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n errors = errors || [];\n var err = errorObject_1.errorObject.e;\n if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n errors = errors.concat(err.errors);\n } else {\n errors.push(err);\n }\n }\n }\n }\n }\n if (hasErrors) {\n throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n }\n };\n Subscription.prototype.add = function(teardown) {\n if (!teardown || (teardown === this) || (teardown === Subscription.EMPTY)) {\n return;\n }\n var sub = teardown;\n switch (typeof teardown) {\n case 'function':\n sub = new Subscription(teardown);\n case 'object':\n if (sub.isUnsubscribed || typeof sub.unsubscribe !== 'function') {\n break;\n } else if (this.isUnsubscribed) {\n sub.unsubscribe();\n } else {\n (this._subscriptions || (this._subscriptions = [])).push(sub);\n }\n break;\n default:\n throw new Error('Unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n return sub;\n };\n Subscription.prototype.remove = function(subscription) {\n if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n return;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function(empty) {\n empty.isUnsubscribed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n }());\n exports.Subscription = Subscription;\n})(require('process'));\n","/* */ \n\"use strict\";\nexports.empty = {\n isUnsubscribed: true,\n next: function (value) { },\n error: function (err) { throw err; },\n complete: function () { }\n};\n//# sourceMappingURL=Observer.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isFunction_1 = require('./util/isFunction');\nvar Subscription_1 = require('./Subscription');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\nvar Observer_1 = require('./Observer');\nvar Subscriber = (function(_super) {\n __extends(Subscriber, _super);\n function Subscriber(destinationOrNext, error, complete) {\n _super.call(this);\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = Observer_1.empty;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = Observer_1.empty;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.destination = destinationOrNext;\n this.destination.add(this);\n } else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n Subscriber.create = function(next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n Subscriber.prototype.next = function(value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n Subscriber.prototype.error = function(err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n Subscriber.prototype.complete = function() {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function() {\n if (this.isUnsubscribed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function(value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function(err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function() {\n this.destination.complete();\n this.unsubscribe();\n };\n Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function() {\n return this;\n };\n return Subscriber;\n}(Subscription_1.Subscription));\nexports.Subscriber = Subscriber;\nvar SafeSubscriber = (function(_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(_parent, observerOrNext, error, complete) {\n _super.call(this);\n this._parent = _parent;\n var next;\n var context = this;\n if (isFunction_1.isFunction(observerOrNext)) {\n next = observerOrNext;\n } else if (observerOrNext) {\n context = observerOrNext;\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (isFunction_1.isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n SafeSubscriber.prototype.next = function(value) {\n if (!this.isStopped && this._next) {\n var _parent = this._parent;\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n } else if (this.__tryOrSetError(_parent, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function(err) {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._error) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parent, this._error, err);\n this.unsubscribe();\n }\n } else if (!_parent.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n } else {\n _parent.syncErrorValue = err;\n _parent.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function() {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._complete) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._complete);\n this.unsubscribe();\n } else {\n this.__tryOrSetError(_parent, this._complete);\n this.unsubscribe();\n }\n } else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function(fn, value) {\n try {\n fn.call(this._context, value);\n } catch (err) {\n this.unsubscribe();\n throw err;\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function(parent, fn, value) {\n try {\n fn.call(this._context, value);\n } catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function() {\n var _parent = this._parent;\n this._context = null;\n this._parent = null;\n _parent.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n","/* */ \n\"use strict\";\nvar objectTypes = {\n 'boolean': false,\n 'function': true,\n 'object': true,\n 'number': false,\n 'string': false,\n 'undefined': false\n};\nexports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\n/* tslint:disable:no-unused-variable */\nvar freeExports = objectTypes[typeof exports] && exports && !exports.nodeType && exports;\nvar freeModule = objectTypes[typeof module] && module && !module.nodeType && module;\nvar freeGlobal = objectTypes[typeof global] && global;\nif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n exports.root = freeGlobal;\n}\n//# sourceMappingURL=root.js.map","/* */ \n\"use strict\";\nvar root_1 = require('../util/root');\nvar Symbol = root_1.root.Symbol;\nexports.$$rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ? Symbol.for('rxSubscriber') : '@@rxSubscriber';\n","/* */ \n\"use strict\";\nvar Subscriber_1 = require('../Subscriber');\nvar rxSubscriber_1 = require('../symbol/rxSubscriber');\nfunction toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver === 'object') {\n if (nextOrObserver instanceof Subscriber_1.Subscriber) {\n return nextOrObserver;\n } else if (typeof nextOrObserver[rxSubscriber_1.$$rxSubscriber] === 'function') {\n return nextOrObserver[rxSubscriber_1.$$rxSubscriber]();\n }\n }\n return new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n}\nexports.toSubscriber = toSubscriber;\n","/* */ \n\"use strict\";\nvar root_1 = require('./util/root');\nvar observable_1 = require('./symbol/observable');\nvar toSubscriber_1 = require('./util/toSubscriber');\nvar Observable = (function() {\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n Observable.prototype.lift = function(operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n Observable.prototype.subscribe = function(observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n sink.add(operator ? operator.call(sink, this) : this._subscribe(sink));\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n return sink;\n };\n Observable.prototype.forEach = function(next, PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n } else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function(resolve, reject) {\n var subscription = _this.subscribe(function(value) {\n if (subscription) {\n try {\n next(value);\n } catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n } else {\n next(value);\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function(subscriber) {\n return this.source.subscribe(subscriber);\n };\n Observable.prototype[observable_1.$$observable] = function() {\n return this;\n };\n Observable.create = function(subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexports.Observable = Observable;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('./lang');\nvar promise_1 = require('./promise');\nexports.PromiseWrapper = promise_1.PromiseWrapper;\nexports.PromiseCompleter = promise_1.PromiseCompleter;\nvar Subject_1 = require('rxjs/Subject');\nvar PromiseObservable_1 = require('rxjs/observable/PromiseObservable');\nvar toPromise_1 = require('rxjs/operator/toPromise');\nvar Observable_1 = require('rxjs/Observable');\nexports.Observable = Observable_1.Observable;\nvar Subject_2 = require('rxjs/Subject');\nexports.Subject = Subject_2.Subject;\nvar TimerWrapper = (function() {\n function TimerWrapper() {}\n TimerWrapper.setTimeout = function(fn, millis) {\n return lang_1.global.setTimeout(fn, millis);\n };\n TimerWrapper.clearTimeout = function(id) {\n lang_1.global.clearTimeout(id);\n };\n TimerWrapper.setInterval = function(fn, millis) {\n return lang_1.global.setInterval(fn, millis);\n };\n TimerWrapper.clearInterval = function(id) {\n lang_1.global.clearInterval(id);\n };\n return TimerWrapper;\n}());\nexports.TimerWrapper = TimerWrapper;\nvar ObservableWrapper = (function() {\n function ObservableWrapper() {}\n ObservableWrapper.subscribe = function(emitter, onNext, onError, onComplete) {\n if (onComplete === void 0) {\n onComplete = function() {};\n }\n onError = (typeof onError === \"function\") && onError || lang_1.noop;\n onComplete = (typeof onComplete === \"function\") && onComplete || lang_1.noop;\n return emitter.subscribe({\n next: onNext,\n error: onError,\n complete: onComplete\n });\n };\n ObservableWrapper.isObservable = function(obs) {\n return !!obs.subscribe;\n };\n ObservableWrapper.hasSubscribers = function(obs) {\n return obs.observers.length > 0;\n };\n ObservableWrapper.dispose = function(subscription) {\n subscription.unsubscribe();\n };\n ObservableWrapper.callNext = function(emitter, value) {\n emitter.next(value);\n };\n ObservableWrapper.callEmit = function(emitter, value) {\n emitter.emit(value);\n };\n ObservableWrapper.callError = function(emitter, error) {\n emitter.error(error);\n };\n ObservableWrapper.callComplete = function(emitter) {\n emitter.complete();\n };\n ObservableWrapper.fromPromise = function(promise) {\n return PromiseObservable_1.PromiseObservable.create(promise);\n };\n ObservableWrapper.toPromise = function(obj) {\n return toPromise_1.toPromise.call(obj);\n };\n return ObservableWrapper;\n}());\nexports.ObservableWrapper = ObservableWrapper;\nvar EventEmitter = (function(_super) {\n __extends(EventEmitter, _super);\n function EventEmitter(isAsync) {\n if (isAsync === void 0) {\n isAsync = true;\n }\n _super.call(this);\n this._isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.next = function(value) {\n _super.prototype.next.call(this, value);\n };\n EventEmitter.prototype.subscribe = function(generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function(err) {\n return null;\n };\n var completeFn = function() {\n return null;\n };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext.next(value);\n });\n } : function(value) {\n generatorOrNext.next(value);\n };\n if (generatorOrNext.error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return generatorOrNext.error(err);\n });\n } : function(err) {\n generatorOrNext.error(err);\n };\n }\n if (generatorOrNext.complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return generatorOrNext.complete();\n });\n } : function() {\n generatorOrNext.complete();\n };\n }\n } else {\n schedulerFn = this._isAsync ? function(value) {\n setTimeout(function() {\n return generatorOrNext(value);\n });\n } : function(value) {\n generatorOrNext(value);\n };\n if (error) {\n errorFn = this._isAsync ? function(err) {\n setTimeout(function() {\n return error(err);\n });\n } : function(err) {\n error(err);\n };\n }\n if (complete) {\n completeFn = this._isAsync ? function() {\n setTimeout(function() {\n return complete();\n });\n } : function() {\n complete();\n };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n}(Subject_1.Subject));\nexports.EventEmitter = EventEmitter;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar exceptions_1 = require('../facade/exceptions');\nvar constants_1 = require('../change_detection/constants');\nvar ViewRef = (function() {\n function ViewRef() {}\n Object.defineProperty(ViewRef.prototype, \"destroyed\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return ViewRef;\n}());\nexports.ViewRef = ViewRef;\nvar EmbeddedViewRef = (function(_super) {\n __extends(EmbeddedViewRef, _super);\n function EmbeddedViewRef() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(EmbeddedViewRef.prototype, \"context\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EmbeddedViewRef.prototype, \"rootNodes\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n return EmbeddedViewRef;\n}(ViewRef));\nexports.EmbeddedViewRef = EmbeddedViewRef;\nvar ViewRef_ = (function() {\n function ViewRef_(_view) {\n this._view = _view;\n this._view = _view;\n }\n Object.defineProperty(ViewRef_.prototype, \"internalView\", {\n get: function() {\n return this._view;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"rootNodes\", {\n get: function() {\n return this._view.flatRootNodes;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"context\", {\n get: function() {\n return this._view.context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"destroyed\", {\n get: function() {\n return this._view.destroyed;\n },\n enumerable: true,\n configurable: true\n });\n ViewRef_.prototype.markForCheck = function() {\n this._view.markPathToRootAsCheckOnce();\n };\n ViewRef_.prototype.detach = function() {\n this._view.cdMode = constants_1.ChangeDetectionStrategy.Detached;\n };\n ViewRef_.prototype.detectChanges = function() {\n this._view.detectChanges(false);\n };\n ViewRef_.prototype.checkNoChanges = function() {\n this._view.detectChanges(true);\n };\n ViewRef_.prototype.reattach = function() {\n this._view.cdMode = constants_1.ChangeDetectionStrategy.CheckAlways;\n this.markForCheck();\n };\n ViewRef_.prototype.onDestroy = function(callback) {\n this._view.disposables.push(callback);\n };\n ViewRef_.prototype.destroy = function() {\n this._view.destroy();\n };\n return ViewRef_;\n}());\nexports.ViewRef_ = ViewRef_;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar injector_1 = require('../di/injector');\nvar _UNDEFINED = new Object();\nvar ElementInjector = (function(_super) {\n __extends(ElementInjector, _super);\n function ElementInjector(_view, _nodeIndex) {\n _super.call(this);\n this._view = _view;\n this._nodeIndex = _nodeIndex;\n }\n ElementInjector.prototype.get = function(token, notFoundValue) {\n if (notFoundValue === void 0) {\n notFoundValue = injector_1.THROW_IF_NOT_FOUND;\n }\n var result = _UNDEFINED;\n if (result === _UNDEFINED) {\n result = this._view.injectorGet(token, this._nodeIndex, _UNDEFINED);\n }\n if (result === _UNDEFINED) {\n result = this._view.parentInjector.get(token, notFoundValue);\n }\n return result;\n };\n return ElementInjector;\n}(injector_1.Injector));\nexports.ElementInjector = ElementInjector;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar collection_1 = require('../facade/collection');\nvar element_1 = require('./element');\nvar lang_1 = require('../facade/lang');\nvar async_1 = require('../facade/async');\nvar view_ref_1 = require('./view_ref');\nvar view_type_1 = require('./view_type');\nvar view_utils_1 = require('./view_utils');\nvar change_detection_1 = require('../change_detection/change_detection');\nvar profile_1 = require('../profile/profile');\nvar exceptions_1 = require('./exceptions');\nvar debug_context_1 = require('./debug_context');\nvar element_injector_1 = require('./element_injector');\nvar _scope_check = profile_1.wtfCreateScope(\"AppView#check(ascii id)\");\nvar AppView = (function() {\n function AppView(clazz, componentType, type, viewUtils, parentInjector, declarationAppElement, cdMode) {\n this.clazz = clazz;\n this.componentType = componentType;\n this.type = type;\n this.viewUtils = viewUtils;\n this.parentInjector = parentInjector;\n this.declarationAppElement = declarationAppElement;\n this.cdMode = cdMode;\n this.contentChildren = [];\n this.viewChildren = [];\n this.viewContainerElement = null;\n this.cdState = change_detection_1.ChangeDetectorState.NeverChecked;\n this.destroyed = false;\n this.ref = new view_ref_1.ViewRef_(this);\n if (type === view_type_1.ViewType.COMPONENT || type === view_type_1.ViewType.HOST) {\n this.renderer = viewUtils.renderComponent(componentType);\n } else {\n this.renderer = declarationAppElement.parentView.renderer;\n }\n }\n AppView.prototype.create = function(context, givenProjectableNodes, rootSelectorOrNode) {\n this.context = context;\n var projectableNodes;\n switch (this.type) {\n case view_type_1.ViewType.COMPONENT:\n projectableNodes = view_utils_1.ensureSlotCount(givenProjectableNodes, this.componentType.slotCount);\n break;\n case view_type_1.ViewType.EMBEDDED:\n projectableNodes = this.declarationAppElement.parentView.projectableNodes;\n break;\n case view_type_1.ViewType.HOST:\n projectableNodes = givenProjectableNodes;\n break;\n }\n this._hasExternalHostElement = lang_1.isPresent(rootSelectorOrNode);\n this.projectableNodes = projectableNodes;\n return this.createInternal(rootSelectorOrNode);\n };\n AppView.prototype.createInternal = function(rootSelectorOrNode) {\n return null;\n };\n AppView.prototype.init = function(rootNodesOrAppElements, allNodes, disposables, subscriptions) {\n this.rootNodesOrAppElements = rootNodesOrAppElements;\n this.allNodes = allNodes;\n this.disposables = disposables;\n this.subscriptions = subscriptions;\n if (this.type === view_type_1.ViewType.COMPONENT) {\n this.declarationAppElement.parentView.viewChildren.push(this);\n this.dirtyParentQueriesInternal();\n }\n };\n AppView.prototype.selectOrCreateHostElement = function(elementName, rootSelectorOrNode, debugInfo) {\n var hostElement;\n if (lang_1.isPresent(rootSelectorOrNode)) {\n hostElement = this.renderer.selectRootElement(rootSelectorOrNode, debugInfo);\n } else {\n hostElement = this.renderer.createElement(null, elementName, debugInfo);\n }\n return hostElement;\n };\n AppView.prototype.injectorGet = function(token, nodeIndex, notFoundResult) {\n return this.injectorGetInternal(token, nodeIndex, notFoundResult);\n };\n AppView.prototype.injectorGetInternal = function(token, nodeIndex, notFoundResult) {\n return notFoundResult;\n };\n AppView.prototype.injector = function(nodeIndex) {\n if (lang_1.isPresent(nodeIndex)) {\n return new element_injector_1.ElementInjector(this, nodeIndex);\n } else {\n return this.parentInjector;\n }\n };\n AppView.prototype.destroy = function() {\n if (this._hasExternalHostElement) {\n this.renderer.detachView(this.flatRootNodes);\n } else if (lang_1.isPresent(this.viewContainerElement)) {\n this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this));\n }\n this._destroyRecurse();\n };\n AppView.prototype._destroyRecurse = function() {\n if (this.destroyed) {\n return;\n }\n var children = this.contentChildren;\n for (var i = 0; i < children.length; i++) {\n children[i]._destroyRecurse();\n }\n children = this.viewChildren;\n for (var i = 0; i < children.length; i++) {\n children[i]._destroyRecurse();\n }\n this.destroyLocal();\n this.destroyed = true;\n };\n AppView.prototype.destroyLocal = function() {\n var hostElement = this.type === view_type_1.ViewType.COMPONENT ? this.declarationAppElement.nativeElement : null;\n for (var i = 0; i < this.disposables.length; i++) {\n this.disposables[i]();\n }\n for (var i = 0; i < this.subscriptions.length; i++) {\n async_1.ObservableWrapper.dispose(this.subscriptions[i]);\n }\n this.destroyInternal();\n if (this._hasExternalHostElement) {\n this.renderer.detachView(this.flatRootNodes);\n } else if (lang_1.isPresent(this.viewContainerElement)) {\n this.viewContainerElement.detachView(this.viewContainerElement.nestedViews.indexOf(this));\n } else {\n this.dirtyParentQueriesInternal();\n }\n this.renderer.destroyView(hostElement, this.allNodes);\n };\n AppView.prototype.destroyInternal = function() {};\n Object.defineProperty(AppView.prototype, \"changeDetectorRef\", {\n get: function() {\n return this.ref;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppView.prototype, \"parent\", {\n get: function() {\n return lang_1.isPresent(this.declarationAppElement) ? this.declarationAppElement.parentView : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppView.prototype, \"flatRootNodes\", {\n get: function() {\n return view_utils_1.flattenNestedViewRenderNodes(this.rootNodesOrAppElements);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppView.prototype, \"lastRootNode\", {\n get: function() {\n var lastNode = this.rootNodesOrAppElements.length > 0 ? this.rootNodesOrAppElements[this.rootNodesOrAppElements.length - 1] : null;\n return _findLastRenderNode(lastNode);\n },\n enumerable: true,\n configurable: true\n });\n AppView.prototype.dirtyParentQueriesInternal = function() {};\n AppView.prototype.detectChanges = function(throwOnChange) {\n var s = _scope_check(this.clazz);\n if (this.cdMode === change_detection_1.ChangeDetectionStrategy.Detached || this.cdMode === change_detection_1.ChangeDetectionStrategy.Checked || this.cdState === change_detection_1.ChangeDetectorState.Errored)\n return;\n if (this.destroyed) {\n this.throwDestroyedError('detectChanges');\n }\n this.detectChangesInternal(throwOnChange);\n if (this.cdMode === change_detection_1.ChangeDetectionStrategy.CheckOnce)\n this.cdMode = change_detection_1.ChangeDetectionStrategy.Checked;\n this.cdState = change_detection_1.ChangeDetectorState.CheckedBefore;\n profile_1.wtfLeave(s);\n };\n AppView.prototype.detectChangesInternal = function(throwOnChange) {\n this.detectContentChildrenChanges(throwOnChange);\n this.detectViewChildrenChanges(throwOnChange);\n };\n AppView.prototype.detectContentChildrenChanges = function(throwOnChange) {\n for (var i = 0; i < this.contentChildren.length; ++i) {\n this.contentChildren[i].detectChanges(throwOnChange);\n }\n };\n AppView.prototype.detectViewChildrenChanges = function(throwOnChange) {\n for (var i = 0; i < this.viewChildren.length; ++i) {\n this.viewChildren[i].detectChanges(throwOnChange);\n }\n };\n AppView.prototype.addToContentChildren = function(renderAppElement) {\n renderAppElement.parentView.contentChildren.push(this);\n this.viewContainerElement = renderAppElement;\n this.dirtyParentQueriesInternal();\n };\n AppView.prototype.removeFromContentChildren = function(renderAppElement) {\n collection_1.ListWrapper.remove(renderAppElement.parentView.contentChildren, this);\n this.dirtyParentQueriesInternal();\n this.viewContainerElement = null;\n };\n AppView.prototype.markAsCheckOnce = function() {\n this.cdMode = change_detection_1.ChangeDetectionStrategy.CheckOnce;\n };\n AppView.prototype.markPathToRootAsCheckOnce = function() {\n var c = this;\n while (lang_1.isPresent(c) && c.cdMode !== change_detection_1.ChangeDetectionStrategy.Detached) {\n if (c.cdMode === change_detection_1.ChangeDetectionStrategy.Checked) {\n c.cdMode = change_detection_1.ChangeDetectionStrategy.CheckOnce;\n }\n var parentEl = c.type === view_type_1.ViewType.COMPONENT ? c.declarationAppElement : c.viewContainerElement;\n c = lang_1.isPresent(parentEl) ? parentEl.parentView : null;\n }\n };\n AppView.prototype.eventHandler = function(cb) {\n return cb;\n };\n AppView.prototype.throwDestroyedError = function(details) {\n throw new exceptions_1.ViewDestroyedException(details);\n };\n return AppView;\n}());\nexports.AppView = AppView;\nvar DebugAppView = (function(_super) {\n __extends(DebugAppView, _super);\n function DebugAppView(clazz, componentType, type, viewUtils, parentInjector, declarationAppElement, cdMode, staticNodeDebugInfos) {\n _super.call(this, clazz, componentType, type, viewUtils, parentInjector, declarationAppElement, cdMode);\n this.staticNodeDebugInfos = staticNodeDebugInfos;\n this._currentDebugContext = null;\n }\n DebugAppView.prototype.create = function(context, givenProjectableNodes, rootSelectorOrNode) {\n this._resetDebug();\n try {\n return _super.prototype.create.call(this, context, givenProjectableNodes, rootSelectorOrNode);\n } catch (e) {\n this._rethrowWithContext(e, e.stack);\n throw e;\n }\n };\n DebugAppView.prototype.injectorGet = function(token, nodeIndex, notFoundResult) {\n this._resetDebug();\n try {\n return _super.prototype.injectorGet.call(this, token, nodeIndex, notFoundResult);\n } catch (e) {\n this._rethrowWithContext(e, e.stack);\n throw e;\n }\n };\n DebugAppView.prototype.destroyLocal = function() {\n this._resetDebug();\n try {\n _super.prototype.destroyLocal.call(this);\n } catch (e) {\n this._rethrowWithContext(e, e.stack);\n throw e;\n }\n };\n DebugAppView.prototype.detectChanges = function(throwOnChange) {\n this._resetDebug();\n try {\n _super.prototype.detectChanges.call(this, throwOnChange);\n } catch (e) {\n this._rethrowWithContext(e, e.stack);\n throw e;\n }\n };\n DebugAppView.prototype._resetDebug = function() {\n this._currentDebugContext = null;\n };\n DebugAppView.prototype.debug = function(nodeIndex, rowNum, colNum) {\n return this._currentDebugContext = new debug_context_1.DebugContext(this, nodeIndex, rowNum, colNum);\n };\n DebugAppView.prototype._rethrowWithContext = function(e, stack) {\n if (!(e instanceof exceptions_1.ViewWrappedException)) {\n if (!(e instanceof exceptions_1.ExpressionChangedAfterItHasBeenCheckedException)) {\n this.cdState = change_detection_1.ChangeDetectorState.Errored;\n }\n if (lang_1.isPresent(this._currentDebugContext)) {\n throw new exceptions_1.ViewWrappedException(e, stack, this._currentDebugContext);\n }\n }\n };\n DebugAppView.prototype.eventHandler = function(cb) {\n var _this = this;\n var superHandler = _super.prototype.eventHandler.call(this, cb);\n return function(event) {\n _this._resetDebug();\n try {\n return superHandler(event);\n } catch (e) {\n _this._rethrowWithContext(e, e.stack);\n throw e;\n }\n };\n };\n return DebugAppView;\n}(AppView));\nexports.DebugAppView = DebugAppView;\nfunction _findLastRenderNode(node) {\n var lastNode;\n if (node instanceof element_1.AppElement) {\n var appEl = node;\n lastNode = appEl.nativeElement;\n if (lang_1.isPresent(appEl.nestedViews)) {\n for (var i = appEl.nestedViews.length - 1; i >= 0; i--) {\n var nestedView = appEl.nestedViews[i];\n if (nestedView.rootNodesOrAppElements.length > 0) {\n lastNode = _findLastRenderNode(nestedView.rootNodesOrAppElements[nestedView.rootNodesOrAppElements.length - 1]);\n }\n }\n }\n } else {\n lastNode = node;\n }\n return lastNode;\n}\n","/* */ \n\"use strict\";\n/**\n* A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\n* like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly\n* handled.\n*\n* See DomSanitizationService for more details on security in Angular applications.\n*/\n(function (SecurityContext) {\n SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n})(exports.SecurityContext || (exports.SecurityContext = {}));\nvar SecurityContext = exports.SecurityContext;\n/**\n * SanitizationService is used by the views to sanitize potentially dangerous values. This is a\n * private API, use code should only refer to DomSanitizationService.\n */\nvar SanitizationService = (function () {\n function SanitizationService() {\n }\n return SanitizationService;\n}());\nexports.SanitizationService = SanitizationService;\n//# sourceMappingURL=security.js.map","/* */ \n\"use strict\";\n/**\n* A wrapper around a native element inside of a View.\n*\n* An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n* element.\n*/\n// Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n// i.e. users have to ask for what they need. With that, we can build better analysis tools\n// and could do better codegen in the future.\nvar ElementRef = (function () {\n function ElementRef(nativeElement) {\n this.nativeElement = nativeElement;\n }\n return ElementRef;\n}());\nexports.ElementRef = ElementRef;\n//# sourceMappingURL=element_ref.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar trace;\nvar events;\nfunction detectWTF() {\n var wtf = lang_1.global['wtf'];\n if (wtf) {\n trace = wtf['trace'];\n if (trace) {\n events = trace['events'];\n return true;\n }\n }\n return false;\n}\nexports.detectWTF = detectWTF;\nfunction createScope(signature, flags) {\n if (flags === void 0) {\n flags = null;\n }\n return events.createScope(signature, flags);\n}\nexports.createScope = createScope;\nfunction leave(scope, returnValue) {\n trace.leaveScope(scope, returnValue);\n return returnValue;\n}\nexports.leave = leave;\nfunction startTimeRange(rangeType, action) {\n return trace.beginTimeRange(rangeType, action);\n}\nexports.startTimeRange = startTimeRange;\nfunction endTimeRange(range) {\n trace.endTimeRange(range);\n}\nexports.endTimeRange = endTimeRange;\n","/* */ \n\"use strict\";\nvar impl = require('./wtf_impl');\nexports.wtfEnabled = impl.detectWTF();\nfunction noopScope(arg0, arg1) {\n return null;\n}\nexports.wtfCreateScope = exports.wtfEnabled ? impl.createScope : function(signature, flags) {\n return noopScope;\n};\nexports.wtfLeave = exports.wtfEnabled ? impl.leave : function(s, r) {\n return r;\n};\nexports.wtfStartTimeRange = exports.wtfEnabled ? impl.startTimeRange : function(rangeType, action) {\n return null;\n};\nexports.wtfEndTimeRange = exports.wtfEnabled ? impl.endTimeRange : function(r) {\n return null;\n};\n","/* */ \n\"use strict\";\nvar collection_1 = require('../facade/collection');\nvar exceptions_1 = require('../facade/exceptions');\nvar lang_1 = require('../facade/lang');\nvar profile_1 = require('../profile/profile');\nvar ViewContainerRef = (function() {\n function ViewContainerRef() {}\n Object.defineProperty(ViewContainerRef.prototype, \"element\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"injector\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"parentInjector\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"length\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ;\n return ViewContainerRef;\n}());\nexports.ViewContainerRef = ViewContainerRef;\nvar ViewContainerRef_ = (function() {\n function ViewContainerRef_(_element) {\n this._element = _element;\n this._createComponentInContainerScope = profile_1.wtfCreateScope('ViewContainerRef#createComponent()');\n this._insertScope = profile_1.wtfCreateScope('ViewContainerRef#insert()');\n this._removeScope = profile_1.wtfCreateScope('ViewContainerRef#remove()');\n this._detachScope = profile_1.wtfCreateScope('ViewContainerRef#detach()');\n }\n ViewContainerRef_.prototype.get = function(index) {\n return this._element.nestedViews[index].ref;\n };\n Object.defineProperty(ViewContainerRef_.prototype, \"length\", {\n get: function() {\n var views = this._element.nestedViews;\n return lang_1.isPresent(views) ? views.length : 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"element\", {\n get: function() {\n return this._element.elementRef;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"injector\", {\n get: function() {\n return this._element.injector;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"parentInjector\", {\n get: function() {\n return this._element.parentInjector;\n },\n enumerable: true,\n configurable: true\n });\n ViewContainerRef_.prototype.createEmbeddedView = function(templateRef, context, index) {\n if (context === void 0) {\n context = null;\n }\n if (index === void 0) {\n index = -1;\n }\n var viewRef = templateRef.createEmbeddedView(context);\n this.insert(viewRef, index);\n return viewRef;\n };\n ViewContainerRef_.prototype.createComponent = function(componentFactory, index, injector, projectableNodes) {\n if (index === void 0) {\n index = -1;\n }\n if (injector === void 0) {\n injector = null;\n }\n if (projectableNodes === void 0) {\n projectableNodes = null;\n }\n var s = this._createComponentInContainerScope();\n var contextInjector = lang_1.isPresent(injector) ? injector : this._element.parentInjector;\n var componentRef = componentFactory.create(contextInjector, projectableNodes);\n this.insert(componentRef.hostView, index);\n return profile_1.wtfLeave(s, componentRef);\n };\n ViewContainerRef_.prototype.insert = function(viewRef, index) {\n if (index === void 0) {\n index = -1;\n }\n var s = this._insertScope();\n if (index == -1)\n index = this.length;\n var viewRef_ = viewRef;\n this._element.attachView(viewRef_.internalView, index);\n return profile_1.wtfLeave(s, viewRef_);\n };\n ViewContainerRef_.prototype.indexOf = function(viewRef) {\n return collection_1.ListWrapper.indexOf(this._element.nestedViews, viewRef.internalView);\n };\n ViewContainerRef_.prototype.remove = function(index) {\n if (index === void 0) {\n index = -1;\n }\n var s = this._removeScope();\n if (index == -1)\n index = this.length - 1;\n var view = this._element.detachView(index);\n view.destroy();\n profile_1.wtfLeave(s);\n };\n ViewContainerRef_.prototype.detach = function(index) {\n if (index === void 0) {\n index = -1;\n }\n var s = this._detachScope();\n if (index == -1)\n index = this.length - 1;\n var view = this._element.detachView(index);\n return profile_1.wtfLeave(s, view.ref);\n };\n ViewContainerRef_.prototype.clear = function() {\n for (var i = this.length - 1; i >= 0; i--) {\n this.remove(i);\n }\n };\n return ViewContainerRef_;\n}());\nexports.ViewContainerRef_ = ViewContainerRef_;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar exceptions_1 = require('../facade/exceptions');\nvar view_type_1 = require('./view_type');\nvar element_ref_1 = require('./element_ref');\nvar view_container_ref_1 = require('./view_container_ref');\nvar AppElement = (function() {\n function AppElement(index, parentIndex, parentView, nativeElement) {\n this.index = index;\n this.parentIndex = parentIndex;\n this.parentView = parentView;\n this.nativeElement = nativeElement;\n this.nestedViews = null;\n this.componentView = null;\n }\n Object.defineProperty(AppElement.prototype, \"elementRef\", {\n get: function() {\n return new element_ref_1.ElementRef(this.nativeElement);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppElement.prototype, \"vcRef\", {\n get: function() {\n return new view_container_ref_1.ViewContainerRef_(this);\n },\n enumerable: true,\n configurable: true\n });\n AppElement.prototype.initComponent = function(component, componentConstructorViewQueries, view) {\n this.component = component;\n this.componentConstructorViewQueries = componentConstructorViewQueries;\n this.componentView = view;\n };\n Object.defineProperty(AppElement.prototype, \"parentInjector\", {\n get: function() {\n return this.parentView.injector(this.parentIndex);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppElement.prototype, \"injector\", {\n get: function() {\n return this.parentView.injector(this.index);\n },\n enumerable: true,\n configurable: true\n });\n AppElement.prototype.mapNestedViews = function(nestedViewClass, callback) {\n var result = [];\n if (lang_1.isPresent(this.nestedViews)) {\n this.nestedViews.forEach(function(nestedView) {\n if (nestedView.clazz === nestedViewClass) {\n result.push(callback(nestedView));\n }\n });\n }\n return result;\n };\n AppElement.prototype.attachView = function(view, viewIndex) {\n if (view.type === view_type_1.ViewType.COMPONENT) {\n throw new exceptions_1.BaseException(\"Component views can't be moved!\");\n }\n var nestedViews = this.nestedViews;\n if (nestedViews == null) {\n nestedViews = [];\n this.nestedViews = nestedViews;\n }\n collection_1.ListWrapper.insert(nestedViews, viewIndex, view);\n var refRenderNode;\n if (viewIndex > 0) {\n var prevView = nestedViews[viewIndex - 1];\n refRenderNode = prevView.lastRootNode;\n } else {\n refRenderNode = this.nativeElement;\n }\n if (lang_1.isPresent(refRenderNode)) {\n view.renderer.attachViewAfter(refRenderNode, view.flatRootNodes);\n }\n view.addToContentChildren(this);\n };\n AppElement.prototype.detachView = function(viewIndex) {\n var view = collection_1.ListWrapper.removeAt(this.nestedViews, viewIndex);\n if (view.type === view_type_1.ViewType.COMPONENT) {\n throw new exceptions_1.BaseException(\"Component views can't be moved!\");\n }\n view.renderer.detachView(view.flatRootNodes);\n view.removeFromContentChildren(this);\n return view;\n };\n return AppElement;\n}());\nexports.AppElement = AppElement;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar exceptions_1 = require('../facade/exceptions');\nvar ExpressionChangedAfterItHasBeenCheckedException = (function(_super) {\n __extends(ExpressionChangedAfterItHasBeenCheckedException, _super);\n function ExpressionChangedAfterItHasBeenCheckedException(oldValue, currValue, context) {\n _super.call(this, \"Expression has changed after it was checked. \" + (\"Previous value: '\" + oldValue + \"'. Current value: '\" + currValue + \"'\"));\n }\n return ExpressionChangedAfterItHasBeenCheckedException;\n}(exceptions_1.BaseException));\nexports.ExpressionChangedAfterItHasBeenCheckedException = ExpressionChangedAfterItHasBeenCheckedException;\nvar ViewWrappedException = (function(_super) {\n __extends(ViewWrappedException, _super);\n function ViewWrappedException(originalException, originalStack, context) {\n _super.call(this, \"Error in \" + context.source, originalException, originalStack, context);\n }\n return ViewWrappedException;\n}(exceptions_1.WrappedException));\nexports.ViewWrappedException = ViewWrappedException;\nvar ViewDestroyedException = (function(_super) {\n __extends(ViewDestroyedException, _super);\n function ViewDestroyedException(details) {\n _super.call(this, \"Attempt to use a destroyed view: \" + details);\n }\n return ViewDestroyedException;\n}(exceptions_1.BaseException));\nexports.ViewDestroyedException = ViewDestroyedException;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar collection_1 = require('../../facade/collection');\nvar di_1 = require('../../di');\nvar IterableDiffers = (function() {\n function IterableDiffers(factories) {\n this.factories = factories;\n }\n IterableDiffers.create = function(factories, parent) {\n if (lang_1.isPresent(parent)) {\n var copied = collection_1.ListWrapper.clone(parent.factories);\n factories = factories.concat(copied);\n return new IterableDiffers(factories);\n } else {\n return new IterableDiffers(factories);\n }\n };\n IterableDiffers.extend = function(factories) {\n return new di_1.Provider(IterableDiffers, {\n useFactory: function(parent) {\n if (lang_1.isBlank(parent)) {\n throw new exceptions_1.BaseException('Cannot extend IterableDiffers without a parent injector');\n }\n return IterableDiffers.create(factories, parent);\n },\n deps: [[IterableDiffers, new di_1.SkipSelfMetadata(), new di_1.OptionalMetadata()]]\n });\n };\n IterableDiffers.prototype.find = function(iterable) {\n var factory = this.factories.find(function(f) {\n return f.supports(iterable);\n });\n if (lang_1.isPresent(factory)) {\n return factory;\n } else {\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + iterable + \"' of type '\" + lang_1.getTypeNameForDebugging(iterable) + \"'\");\n }\n };\n return IterableDiffers;\n}());\nexports.IterableDiffers = IterableDiffers;\n","/* */ \n\"use strict\";\nvar exceptions_1 = require('../../facade/exceptions');\nvar collection_1 = require('../../facade/collection');\nvar lang_1 = require('../../facade/lang');\nvar DefaultIterableDifferFactory = (function() {\n function DefaultIterableDifferFactory() {}\n DefaultIterableDifferFactory.prototype.supports = function(obj) {\n return collection_1.isListLikeIterable(obj);\n };\n DefaultIterableDifferFactory.prototype.create = function(cdRef, trackByFn) {\n return new DefaultIterableDiffer(trackByFn);\n };\n return DefaultIterableDifferFactory;\n}());\nexports.DefaultIterableDifferFactory = DefaultIterableDifferFactory;\nvar trackByIdentity = function(index, item) {\n return item;\n};\nvar DefaultIterableDiffer = (function() {\n function DefaultIterableDiffer(_trackByFn) {\n this._trackByFn = _trackByFn;\n this._length = null;\n this._collection = null;\n this._linkedRecords = null;\n this._unlinkedRecords = null;\n this._previousItHead = null;\n this._itHead = null;\n this._itTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._movesHead = null;\n this._movesTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n this._identityChangesHead = null;\n this._identityChangesTail = null;\n this._trackByFn = lang_1.isPresent(this._trackByFn) ? this._trackByFn : trackByIdentity;\n }\n Object.defineProperty(DefaultIterableDiffer.prototype, \"collection\", {\n get: function() {\n return this._collection;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DefaultIterableDiffer.prototype, \"length\", {\n get: function() {\n return this._length;\n },\n enumerable: true,\n configurable: true\n });\n DefaultIterableDiffer.prototype.forEachItem = function(fn) {\n var record;\n for (record = this._itHead; record !== null; record = record._next) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachPreviousItem = function(fn) {\n var record;\n for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachAddedItem = function(fn) {\n var record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachMovedItem = function(fn) {\n var record;\n for (record = this._movesHead; record !== null; record = record._nextMoved) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachRemovedItem = function(fn) {\n var record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachIdentityChange = function(fn) {\n var record;\n for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.diff = function(collection) {\n if (lang_1.isBlank(collection))\n collection = [];\n if (!collection_1.isListLikeIterable(collection)) {\n throw new exceptions_1.BaseException(\"Error trying to diff '\" + collection + \"'\");\n }\n if (this.check(collection)) {\n return this;\n } else {\n return null;\n }\n };\n DefaultIterableDiffer.prototype.onDestroy = function() {};\n DefaultIterableDiffer.prototype.check = function(collection) {\n var _this = this;\n this._reset();\n var record = this._itHead;\n var mayBeDirty = false;\n var index;\n var item;\n var itemTrackBy;\n if (lang_1.isArray(collection)) {\n var list = collection;\n this._length = collection.length;\n for (index = 0; index < this._length; index++) {\n item = list[index];\n itemTrackBy = this._trackByFn(index, item);\n if (record === null || !lang_1.looseIdentical(record.trackById, itemTrackBy)) {\n record = this._mismatch(record, item, itemTrackBy, index);\n mayBeDirty = true;\n } else {\n if (mayBeDirty) {\n record = this._verifyReinsertion(record, item, itemTrackBy, index);\n }\n if (!lang_1.looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n }\n record = record._next;\n }\n } else {\n index = 0;\n collection_1.iterateListLike(collection, function(item) {\n itemTrackBy = _this._trackByFn(index, item);\n if (record === null || !lang_1.looseIdentical(record.trackById, itemTrackBy)) {\n record = _this._mismatch(record, item, itemTrackBy, index);\n mayBeDirty = true;\n } else {\n if (mayBeDirty) {\n record = _this._verifyReinsertion(record, item, itemTrackBy, index);\n }\n if (!lang_1.looseIdentical(record.item, item))\n _this._addIdentityChange(record, item);\n }\n record = record._next;\n index++;\n });\n this._length = index;\n }\n this._truncate(record);\n this._collection = collection;\n return this.isDirty;\n };\n Object.defineProperty(DefaultIterableDiffer.prototype, \"isDirty\", {\n get: function() {\n return this._additionsHead !== null || this._movesHead !== null || this._removalsHead !== null || this._identityChangesHead !== null;\n },\n enumerable: true,\n configurable: true\n });\n DefaultIterableDiffer.prototype._reset = function() {\n if (this.isDirty) {\n var record;\n var nextRecord;\n for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n record.previousIndex = record.currentIndex;\n }\n this._additionsHead = this._additionsTail = null;\n for (record = this._movesHead; record !== null; record = nextRecord) {\n record.previousIndex = record.currentIndex;\n nextRecord = record._nextMoved;\n }\n this._movesHead = this._movesTail = null;\n this._removalsHead = this._removalsTail = null;\n this._identityChangesHead = this._identityChangesTail = null;\n }\n };\n DefaultIterableDiffer.prototype._mismatch = function(record, item, itemTrackBy, index) {\n var previousRecord;\n if (record === null) {\n previousRecord = this._itTail;\n } else {\n previousRecord = record._prev;\n this._remove(record);\n }\n record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n if (record !== null) {\n if (!lang_1.looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n this._moveAfter(record, previousRecord, index);\n } else {\n record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n if (record !== null) {\n if (!lang_1.looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n this._reinsertAfter(record, previousRecord, index);\n } else {\n record = this._addAfter(new CollectionChangeRecord(item, itemTrackBy), previousRecord, index);\n }\n }\n return record;\n };\n DefaultIterableDiffer.prototype._verifyReinsertion = function(record, item, itemTrackBy, index) {\n var reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n if (reinsertRecord !== null) {\n record = this._reinsertAfter(reinsertRecord, record._prev, index);\n } else if (record.currentIndex != index) {\n record.currentIndex = index;\n this._addToMoves(record, index);\n }\n return record;\n };\n DefaultIterableDiffer.prototype._truncate = function(record) {\n while (record !== null) {\n var nextRecord = record._next;\n this._addToRemovals(this._unlink(record));\n record = nextRecord;\n }\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.clear();\n }\n if (this._additionsTail !== null) {\n this._additionsTail._nextAdded = null;\n }\n if (this._movesTail !== null) {\n this._movesTail._nextMoved = null;\n }\n if (this._itTail !== null) {\n this._itTail._next = null;\n }\n if (this._removalsTail !== null) {\n this._removalsTail._nextRemoved = null;\n }\n if (this._identityChangesTail !== null) {\n this._identityChangesTail._nextIdentityChange = null;\n }\n };\n DefaultIterableDiffer.prototype._reinsertAfter = function(record, prevRecord, index) {\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.remove(record);\n }\n var prev = record._prevRemoved;\n var next = record._nextRemoved;\n if (prev === null) {\n this._removalsHead = next;\n } else {\n prev._nextRemoved = next;\n }\n if (next === null) {\n this._removalsTail = prev;\n } else {\n next._prevRemoved = prev;\n }\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n };\n DefaultIterableDiffer.prototype._moveAfter = function(record, prevRecord, index) {\n this._unlink(record);\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n };\n DefaultIterableDiffer.prototype._addAfter = function(record, prevRecord, index) {\n this._insertAfter(record, prevRecord, index);\n if (this._additionsTail === null) {\n this._additionsTail = this._additionsHead = record;\n } else {\n this._additionsTail = this._additionsTail._nextAdded = record;\n }\n return record;\n };\n DefaultIterableDiffer.prototype._insertAfter = function(record, prevRecord, index) {\n var next = prevRecord === null ? this._itHead : prevRecord._next;\n record._next = next;\n record._prev = prevRecord;\n if (next === null) {\n this._itTail = record;\n } else {\n next._prev = record;\n }\n if (prevRecord === null) {\n this._itHead = record;\n } else {\n prevRecord._next = record;\n }\n if (this._linkedRecords === null) {\n this._linkedRecords = new _DuplicateMap();\n }\n this._linkedRecords.put(record);\n record.currentIndex = index;\n return record;\n };\n DefaultIterableDiffer.prototype._remove = function(record) {\n return this._addToRemovals(this._unlink(record));\n };\n DefaultIterableDiffer.prototype._unlink = function(record) {\n if (this._linkedRecords !== null) {\n this._linkedRecords.remove(record);\n }\n var prev = record._prev;\n var next = record._next;\n if (prev === null) {\n this._itHead = next;\n } else {\n prev._next = next;\n }\n if (next === null) {\n this._itTail = prev;\n } else {\n next._prev = prev;\n }\n return record;\n };\n DefaultIterableDiffer.prototype._addToMoves = function(record, toIndex) {\n if (record.previousIndex === toIndex) {\n return record;\n }\n if (this._movesTail === null) {\n this._movesTail = this._movesHead = record;\n } else {\n this._movesTail = this._movesTail._nextMoved = record;\n }\n return record;\n };\n DefaultIterableDiffer.prototype._addToRemovals = function(record) {\n if (this._unlinkedRecords === null) {\n this._unlinkedRecords = new _DuplicateMap();\n }\n this._unlinkedRecords.put(record);\n record.currentIndex = null;\n record._nextRemoved = null;\n if (this._removalsTail === null) {\n this._removalsTail = this._removalsHead = record;\n record._prevRemoved = null;\n } else {\n record._prevRemoved = this._removalsTail;\n this._removalsTail = this._removalsTail._nextRemoved = record;\n }\n return record;\n };\n DefaultIterableDiffer.prototype._addIdentityChange = function(record, item) {\n record.item = item;\n if (this._identityChangesTail === null) {\n this._identityChangesTail = this._identityChangesHead = record;\n } else {\n this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n }\n return record;\n };\n DefaultIterableDiffer.prototype.toString = function() {\n var list = [];\n this.forEachItem(function(record) {\n return list.push(record);\n });\n var previous = [];\n this.forEachPreviousItem(function(record) {\n return previous.push(record);\n });\n var additions = [];\n this.forEachAddedItem(function(record) {\n return additions.push(record);\n });\n var moves = [];\n this.forEachMovedItem(function(record) {\n return moves.push(record);\n });\n var removals = [];\n this.forEachRemovedItem(function(record) {\n return removals.push(record);\n });\n var identityChanges = [];\n this.forEachIdentityChange(function(record) {\n return identityChanges.push(record);\n });\n return \"collection: \" + list.join(', ') + \"\\n\" + \"previous: \" + previous.join(', ') + \"\\n\" + \"additions: \" + additions.join(', ') + \"\\n\" + \"moves: \" + moves.join(', ') + \"\\n\" + \"removals: \" + removals.join(', ') + \"\\n\" + \"identityChanges: \" + identityChanges.join(', ') + \"\\n\";\n };\n return DefaultIterableDiffer;\n}());\nexports.DefaultIterableDiffer = DefaultIterableDiffer;\nvar CollectionChangeRecord = (function() {\n function CollectionChangeRecord(item, trackById) {\n this.item = item;\n this.trackById = trackById;\n this.currentIndex = null;\n this.previousIndex = null;\n this._nextPrevious = null;\n this._prev = null;\n this._next = null;\n this._prevDup = null;\n this._nextDup = null;\n this._prevRemoved = null;\n this._nextRemoved = null;\n this._nextAdded = null;\n this._nextMoved = null;\n this._nextIdentityChange = null;\n }\n CollectionChangeRecord.prototype.toString = function() {\n return this.previousIndex === this.currentIndex ? lang_1.stringify(this.item) : lang_1.stringify(this.item) + '[' + lang_1.stringify(this.previousIndex) + '->' + lang_1.stringify(this.currentIndex) + ']';\n };\n return CollectionChangeRecord;\n}());\nexports.CollectionChangeRecord = CollectionChangeRecord;\nvar _DuplicateItemRecordList = (function() {\n function _DuplicateItemRecordList() {\n this._head = null;\n this._tail = null;\n }\n _DuplicateItemRecordList.prototype.add = function(record) {\n if (this._head === null) {\n this._head = this._tail = record;\n record._nextDup = null;\n record._prevDup = null;\n } else {\n this._tail._nextDup = record;\n record._prevDup = this._tail;\n record._nextDup = null;\n this._tail = record;\n }\n };\n _DuplicateItemRecordList.prototype.get = function(trackById, afterIndex) {\n var record;\n for (record = this._head; record !== null; record = record._nextDup) {\n if ((afterIndex === null || afterIndex < record.currentIndex) && lang_1.looseIdentical(record.trackById, trackById)) {\n return record;\n }\n }\n return null;\n };\n _DuplicateItemRecordList.prototype.remove = function(record) {\n var prev = record._prevDup;\n var next = record._nextDup;\n if (prev === null) {\n this._head = next;\n } else {\n prev._nextDup = next;\n }\n if (next === null) {\n this._tail = prev;\n } else {\n next._prevDup = prev;\n }\n return this._head === null;\n };\n return _DuplicateItemRecordList;\n}());\nvar _DuplicateMap = (function() {\n function _DuplicateMap() {\n this.map = new Map();\n }\n _DuplicateMap.prototype.put = function(record) {\n var key = lang_1.getMapKey(record.trackById);\n var duplicates = this.map.get(key);\n if (!lang_1.isPresent(duplicates)) {\n duplicates = new _DuplicateItemRecordList();\n this.map.set(key, duplicates);\n }\n duplicates.add(record);\n };\n _DuplicateMap.prototype.get = function(trackById, afterIndex) {\n if (afterIndex === void 0) {\n afterIndex = null;\n }\n var key = lang_1.getMapKey(trackById);\n var recordList = this.map.get(key);\n return lang_1.isBlank(recordList) ? null : recordList.get(trackById, afterIndex);\n };\n _DuplicateMap.prototype.remove = function(record) {\n var key = lang_1.getMapKey(record.trackById);\n var recordList = this.map.get(key);\n if (recordList.remove(record)) {\n this.map.delete(key);\n }\n return record;\n };\n Object.defineProperty(_DuplicateMap.prototype, \"isEmpty\", {\n get: function() {\n return this.map.size === 0;\n },\n enumerable: true,\n configurable: true\n });\n _DuplicateMap.prototype.clear = function() {\n this.map.clear();\n };\n _DuplicateMap.prototype.toString = function() {\n return '_DuplicateMap(' + lang_1.stringify(this.map) + ')';\n };\n return _DuplicateMap;\n}());\n","/* */ \n\"use strict\";\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar collection_1 = require('../../facade/collection');\nvar di_1 = require('../../di');\nvar KeyValueDiffers = (function() {\n function KeyValueDiffers(factories) {\n this.factories = factories;\n }\n KeyValueDiffers.create = function(factories, parent) {\n if (lang_1.isPresent(parent)) {\n var copied = collection_1.ListWrapper.clone(parent.factories);\n factories = factories.concat(copied);\n return new KeyValueDiffers(factories);\n } else {\n return new KeyValueDiffers(factories);\n }\n };\n KeyValueDiffers.extend = function(factories) {\n return new di_1.Provider(KeyValueDiffers, {\n useFactory: function(parent) {\n if (lang_1.isBlank(parent)) {\n throw new exceptions_1.BaseException('Cannot extend KeyValueDiffers without a parent injector');\n }\n return KeyValueDiffers.create(factories, parent);\n },\n deps: [[KeyValueDiffers, new di_1.SkipSelfMetadata(), new di_1.OptionalMetadata()]]\n });\n };\n KeyValueDiffers.prototype.find = function(kv) {\n var factory = this.factories.find(function(f) {\n return f.supports(kv);\n });\n if (lang_1.isPresent(factory)) {\n return factory;\n } else {\n throw new exceptions_1.BaseException(\"Cannot find a differ supporting object '\" + kv + \"'\");\n }\n };\n return KeyValueDiffers;\n}());\nexports.KeyValueDiffers = KeyValueDiffers;\n","/* */ \n\"use strict\";\nvar collection_1 = require('../../facade/collection');\nvar lang_1 = require('../../facade/lang');\nvar exceptions_1 = require('../../facade/exceptions');\nvar DefaultKeyValueDifferFactory = (function() {\n function DefaultKeyValueDifferFactory() {}\n DefaultKeyValueDifferFactory.prototype.supports = function(obj) {\n return obj instanceof Map || lang_1.isJsObject(obj);\n };\n DefaultKeyValueDifferFactory.prototype.create = function(cdRef) {\n return new DefaultKeyValueDiffer();\n };\n return DefaultKeyValueDifferFactory;\n}());\nexports.DefaultKeyValueDifferFactory = DefaultKeyValueDifferFactory;\nvar DefaultKeyValueDiffer = (function() {\n function DefaultKeyValueDiffer() {\n this._records = new Map();\n this._mapHead = null;\n this._previousMapHead = null;\n this._changesHead = null;\n this._changesTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n }\n Object.defineProperty(DefaultKeyValueDiffer.prototype, \"isDirty\", {\n get: function() {\n return this._additionsHead !== null || this._changesHead !== null || this._removalsHead !== null;\n },\n enumerable: true,\n configurable: true\n });\n DefaultKeyValueDiffer.prototype.forEachItem = function(fn) {\n var record;\n for (record = this._mapHead; record !== null; record = record._next) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachPreviousItem = function(fn) {\n var record;\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachChangedItem = function(fn) {\n var record;\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachAddedItem = function(fn) {\n var record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachRemovedItem = function(fn) {\n var record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.diff = function(map) {\n if (lang_1.isBlank(map))\n map = collection_1.MapWrapper.createFromPairs([]);\n if (!(map instanceof Map || lang_1.isJsObject(map))) {\n throw new exceptions_1.BaseException(\"Error trying to diff '\" + map + \"'\");\n }\n if (this.check(map)) {\n return this;\n } else {\n return null;\n }\n };\n DefaultKeyValueDiffer.prototype.onDestroy = function() {};\n DefaultKeyValueDiffer.prototype.check = function(map) {\n var _this = this;\n this._reset();\n var records = this._records;\n var oldSeqRecord = this._mapHead;\n var lastOldSeqRecord = null;\n var lastNewSeqRecord = null;\n var seqChanged = false;\n this._forEach(map, function(value, key) {\n var newSeqRecord;\n if (oldSeqRecord !== null && key === oldSeqRecord.key) {\n newSeqRecord = oldSeqRecord;\n if (!lang_1.looseIdentical(value, oldSeqRecord.currentValue)) {\n oldSeqRecord.previousValue = oldSeqRecord.currentValue;\n oldSeqRecord.currentValue = value;\n _this._addToChanges(oldSeqRecord);\n }\n } else {\n seqChanged = true;\n if (oldSeqRecord !== null) {\n oldSeqRecord._next = null;\n _this._removeFromSeq(lastOldSeqRecord, oldSeqRecord);\n _this._addToRemovals(oldSeqRecord);\n }\n if (records.has(key)) {\n newSeqRecord = records.get(key);\n } else {\n newSeqRecord = new KeyValueChangeRecord(key);\n records.set(key, newSeqRecord);\n newSeqRecord.currentValue = value;\n _this._addToAdditions(newSeqRecord);\n }\n }\n if (seqChanged) {\n if (_this._isInRemovals(newSeqRecord)) {\n _this._removeFromRemovals(newSeqRecord);\n }\n if (lastNewSeqRecord == null) {\n _this._mapHead = newSeqRecord;\n } else {\n lastNewSeqRecord._next = newSeqRecord;\n }\n }\n lastOldSeqRecord = oldSeqRecord;\n lastNewSeqRecord = newSeqRecord;\n oldSeqRecord = oldSeqRecord === null ? null : oldSeqRecord._next;\n });\n this._truncate(lastOldSeqRecord, oldSeqRecord);\n return this.isDirty;\n };\n DefaultKeyValueDiffer.prototype._reset = function() {\n if (this.isDirty) {\n var record;\n for (record = this._previousMapHead = this._mapHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n record.previousValue = record.currentValue;\n }\n for (record = this._additionsHead; record != null; record = record._nextAdded) {\n record.previousValue = record.currentValue;\n }\n this._changesHead = this._changesTail = null;\n this._additionsHead = this._additionsTail = null;\n this._removalsHead = this._removalsTail = null;\n }\n };\n DefaultKeyValueDiffer.prototype._truncate = function(lastRecord, record) {\n while (record !== null) {\n if (lastRecord === null) {\n this._mapHead = null;\n } else {\n lastRecord._next = null;\n }\n var nextRecord = record._next;\n this._addToRemovals(record);\n lastRecord = record;\n record = nextRecord;\n }\n for (var rec = this._removalsHead; rec !== null; rec = rec._nextRemoved) {\n rec.previousValue = rec.currentValue;\n rec.currentValue = null;\n this._records.delete(rec.key);\n }\n };\n DefaultKeyValueDiffer.prototype._isInRemovals = function(record) {\n return record === this._removalsHead || record._nextRemoved !== null || record._prevRemoved !== null;\n };\n DefaultKeyValueDiffer.prototype._addToRemovals = function(record) {\n if (this._removalsHead === null) {\n this._removalsHead = this._removalsTail = record;\n } else {\n this._removalsTail._nextRemoved = record;\n record._prevRemoved = this._removalsTail;\n this._removalsTail = record;\n }\n };\n DefaultKeyValueDiffer.prototype._removeFromSeq = function(prev, record) {\n var next = record._next;\n if (prev === null) {\n this._mapHead = next;\n } else {\n prev._next = next;\n }\n };\n DefaultKeyValueDiffer.prototype._removeFromRemovals = function(record) {\n var prev = record._prevRemoved;\n var next = record._nextRemoved;\n if (prev === null) {\n this._removalsHead = next;\n } else {\n prev._nextRemoved = next;\n }\n if (next === null) {\n this._removalsTail = prev;\n } else {\n next._prevRemoved = prev;\n }\n record._prevRemoved = record._nextRemoved = null;\n };\n DefaultKeyValueDiffer.prototype._addToAdditions = function(record) {\n if (this._additionsHead === null) {\n this._additionsHead = this._additionsTail = record;\n } else {\n this._additionsTail._nextAdded = record;\n this._additionsTail = record;\n }\n };\n DefaultKeyValueDiffer.prototype._addToChanges = function(record) {\n if (this._changesHead === null) {\n this._changesHead = this._changesTail = record;\n } else {\n this._changesTail._nextChanged = record;\n this._changesTail = record;\n }\n };\n DefaultKeyValueDiffer.prototype.toString = function() {\n var items = [];\n var previous = [];\n var changes = [];\n var additions = [];\n var removals = [];\n var record;\n for (record = this._mapHead; record !== null; record = record._next) {\n items.push(lang_1.stringify(record));\n }\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n previous.push(lang_1.stringify(record));\n }\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n changes.push(lang_1.stringify(record));\n }\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n additions.push(lang_1.stringify(record));\n }\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n removals.push(lang_1.stringify(record));\n }\n return \"map: \" + items.join(', ') + \"\\n\" + \"previous: \" + previous.join(', ') + \"\\n\" + \"additions: \" + additions.join(', ') + \"\\n\" + \"changes: \" + changes.join(', ') + \"\\n\" + \"removals: \" + removals.join(', ') + \"\\n\";\n };\n DefaultKeyValueDiffer.prototype._forEach = function(obj, fn) {\n if (obj instanceof Map) {\n obj.forEach(fn);\n } else {\n collection_1.StringMapWrapper.forEach(obj, fn);\n }\n };\n return DefaultKeyValueDiffer;\n}());\nexports.DefaultKeyValueDiffer = DefaultKeyValueDiffer;\nvar KeyValueChangeRecord = (function() {\n function KeyValueChangeRecord(key) {\n this.key = key;\n this.previousValue = null;\n this.currentValue = null;\n this._nextPrevious = null;\n this._next = null;\n this._nextAdded = null;\n this._nextRemoved = null;\n this._prevRemoved = null;\n this._nextChanged = null;\n }\n KeyValueChangeRecord.prototype.toString = function() {\n return lang_1.looseIdentical(this.previousValue, this.currentValue) ? lang_1.stringify(this.key) : (lang_1.stringify(this.key) + '[' + lang_1.stringify(this.previousValue) + '->' + lang_1.stringify(this.currentValue) + ']');\n };\n return KeyValueChangeRecord;\n}());\nexports.KeyValueChangeRecord = KeyValueChangeRecord;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\n(function(ChangeDetectorState) {\n ChangeDetectorState[ChangeDetectorState[\"NeverChecked\"] = 0] = \"NeverChecked\";\n ChangeDetectorState[ChangeDetectorState[\"CheckedBefore\"] = 1] = \"CheckedBefore\";\n ChangeDetectorState[ChangeDetectorState[\"Errored\"] = 2] = \"Errored\";\n})(exports.ChangeDetectorState || (exports.ChangeDetectorState = {}));\nvar ChangeDetectorState = exports.ChangeDetectorState;\n(function(ChangeDetectionStrategy) {\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"CheckOnce\"] = 0] = \"CheckOnce\";\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Checked\"] = 1] = \"Checked\";\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"CheckAlways\"] = 2] = \"CheckAlways\";\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Detached\"] = 3] = \"Detached\";\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 4] = \"OnPush\";\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 5] = \"Default\";\n})(exports.ChangeDetectionStrategy || (exports.ChangeDetectionStrategy = {}));\nvar ChangeDetectionStrategy = exports.ChangeDetectionStrategy;\nexports.CHANGE_DETECTION_STRATEGY_VALUES = [ChangeDetectionStrategy.CheckOnce, ChangeDetectionStrategy.Checked, ChangeDetectionStrategy.CheckAlways, ChangeDetectionStrategy.Detached, ChangeDetectionStrategy.OnPush, ChangeDetectionStrategy.Default];\nexports.CHANGE_DETECTOR_STATE_VALUES = [ChangeDetectorState.NeverChecked, ChangeDetectorState.CheckedBefore, ChangeDetectorState.Errored];\nfunction isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n return lang_1.isBlank(changeDetectionStrategy) || changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\nexports.isDefaultChangeDetectionStrategy = isDefaultChangeDetectionStrategy;\n","/* */ \n\"use strict\";\nvar ChangeDetectorRef = (function () {\n function ChangeDetectorRef() {\n }\n return ChangeDetectorRef;\n}());\nexports.ChangeDetectorRef = ChangeDetectorRef;\n//# sourceMappingURL=change_detector_ref.js.map","/* */ \n\"use strict\";\nvar iterable_differs_1 = require('./differs/iterable_differs');\nvar default_iterable_differ_1 = require('./differs/default_iterable_differ');\nvar keyvalue_differs_1 = require('./differs/keyvalue_differs');\nvar default_keyvalue_differ_1 = require('./differs/default_keyvalue_differ');\nvar default_keyvalue_differ_2 = require('./differs/default_keyvalue_differ');\nexports.DefaultKeyValueDifferFactory = default_keyvalue_differ_2.DefaultKeyValueDifferFactory;\nexports.KeyValueChangeRecord = default_keyvalue_differ_2.KeyValueChangeRecord;\nvar default_iterable_differ_2 = require('./differs/default_iterable_differ');\nexports.DefaultIterableDifferFactory = default_iterable_differ_2.DefaultIterableDifferFactory;\nexports.CollectionChangeRecord = default_iterable_differ_2.CollectionChangeRecord;\nvar constants_1 = require('./constants');\nexports.ChangeDetectionStrategy = constants_1.ChangeDetectionStrategy;\nexports.CHANGE_DETECTION_STRATEGY_VALUES = constants_1.CHANGE_DETECTION_STRATEGY_VALUES;\nexports.ChangeDetectorState = constants_1.ChangeDetectorState;\nexports.CHANGE_DETECTOR_STATE_VALUES = constants_1.CHANGE_DETECTOR_STATE_VALUES;\nexports.isDefaultChangeDetectionStrategy = constants_1.isDefaultChangeDetectionStrategy;\nvar change_detector_ref_1 = require('./change_detector_ref');\nexports.ChangeDetectorRef = change_detector_ref_1.ChangeDetectorRef;\nvar iterable_differs_2 = require('./differs/iterable_differs');\nexports.IterableDiffers = iterable_differs_2.IterableDiffers;\nvar keyvalue_differs_2 = require('./differs/keyvalue_differs');\nexports.KeyValueDiffers = keyvalue_differs_2.KeyValueDiffers;\nvar default_iterable_differ_3 = require('./differs/default_iterable_differ');\nexports.DefaultIterableDiffer = default_iterable_differ_3.DefaultIterableDiffer;\nvar change_detection_util_1 = require('./change_detection_util');\nexports.WrappedValue = change_detection_util_1.WrappedValue;\nexports.ValueUnwrapper = change_detection_util_1.ValueUnwrapper;\nexports.SimpleChange = change_detection_util_1.SimpleChange;\nexports.devModeEqual = change_detection_util_1.devModeEqual;\nexports.looseIdentical = change_detection_util_1.looseIdentical;\nexports.uninitialized = change_detection_util_1.uninitialized;\nexports.keyValDiff = [new default_keyvalue_differ_1.DefaultKeyValueDifferFactory()];\nexports.iterableDiff = [new default_iterable_differ_1.DefaultIterableDifferFactory()];\nexports.defaultIterableDiffers = new iterable_differs_1.IterableDiffers(exports.iterableDiff);\nexports.defaultKeyValueDiffers = new keyvalue_differs_1.KeyValueDiffers(exports.keyValDiff);\n","/* */ \n\"use strict\";\nvar exceptions_1 = require('../facade/exceptions');\nvar _THROW_IF_NOT_FOUND = new Object();\nexports.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\nvar Injector = (function() {\n function Injector() {}\n Injector.prototype.get = function(token, notFoundValue) {\n return exceptions_1.unimplemented();\n };\n Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n return Injector;\n}());\nexports.Injector = Injector;\n","/* */ \n(function(process) {\n \"use strict\";\n var collection_1 = require('../facade/collection');\n var reflective_provider_1 = require('./reflective_provider');\n var reflective_exceptions_1 = require('./reflective_exceptions');\n var exceptions_1 = require('../facade/exceptions');\n var reflective_key_1 = require('./reflective_key');\n var metadata_1 = require('./metadata');\n var injector_1 = require('./injector');\n var __unused;\n var _MAX_CONSTRUCTION_COUNTER = 10;\n var UNDEFINED = new Object();\n var ReflectiveProtoInjectorInlineStrategy = (function() {\n function ReflectiveProtoInjectorInlineStrategy(protoEI, providers) {\n this.provider0 = null;\n this.provider1 = null;\n this.provider2 = null;\n this.provider3 = null;\n this.provider4 = null;\n this.provider5 = null;\n this.provider6 = null;\n this.provider7 = null;\n this.provider8 = null;\n this.provider9 = null;\n this.keyId0 = null;\n this.keyId1 = null;\n this.keyId2 = null;\n this.keyId3 = null;\n this.keyId4 = null;\n this.keyId5 = null;\n this.keyId6 = null;\n this.keyId7 = null;\n this.keyId8 = null;\n this.keyId9 = null;\n var length = providers.length;\n if (length > 0) {\n this.provider0 = providers[0];\n this.keyId0 = providers[0].key.id;\n }\n if (length > 1) {\n this.provider1 = providers[1];\n this.keyId1 = providers[1].key.id;\n }\n if (length > 2) {\n this.provider2 = providers[2];\n this.keyId2 = providers[2].key.id;\n }\n if (length > 3) {\n this.provider3 = providers[3];\n this.keyId3 = providers[3].key.id;\n }\n if (length > 4) {\n this.provider4 = providers[4];\n this.keyId4 = providers[4].key.id;\n }\n if (length > 5) {\n this.provider5 = providers[5];\n this.keyId5 = providers[5].key.id;\n }\n if (length > 6) {\n this.provider6 = providers[6];\n this.keyId6 = providers[6].key.id;\n }\n if (length > 7) {\n this.provider7 = providers[7];\n this.keyId7 = providers[7].key.id;\n }\n if (length > 8) {\n this.provider8 = providers[8];\n this.keyId8 = providers[8].key.id;\n }\n if (length > 9) {\n this.provider9 = providers[9];\n this.keyId9 = providers[9].key.id;\n }\n }\n ReflectiveProtoInjectorInlineStrategy.prototype.getProviderAtIndex = function(index) {\n if (index == 0)\n return this.provider0;\n if (index == 1)\n return this.provider1;\n if (index == 2)\n return this.provider2;\n if (index == 3)\n return this.provider3;\n if (index == 4)\n return this.provider4;\n if (index == 5)\n return this.provider5;\n if (index == 6)\n return this.provider6;\n if (index == 7)\n return this.provider7;\n if (index == 8)\n return this.provider8;\n if (index == 9)\n return this.provider9;\n throw new reflective_exceptions_1.OutOfBoundsError(index);\n };\n ReflectiveProtoInjectorInlineStrategy.prototype.createInjectorStrategy = function(injector) {\n return new ReflectiveInjectorInlineStrategy(injector, this);\n };\n return ReflectiveProtoInjectorInlineStrategy;\n }());\n exports.ReflectiveProtoInjectorInlineStrategy = ReflectiveProtoInjectorInlineStrategy;\n var ReflectiveProtoInjectorDynamicStrategy = (function() {\n function ReflectiveProtoInjectorDynamicStrategy(protoInj, providers) {\n this.providers = providers;\n var len = providers.length;\n this.keyIds = collection_1.ListWrapper.createFixedSize(len);\n for (var i = 0; i < len; i++) {\n this.keyIds[i] = providers[i].key.id;\n }\n }\n ReflectiveProtoInjectorDynamicStrategy.prototype.getProviderAtIndex = function(index) {\n if (index < 0 || index >= this.providers.length) {\n throw new reflective_exceptions_1.OutOfBoundsError(index);\n }\n return this.providers[index];\n };\n ReflectiveProtoInjectorDynamicStrategy.prototype.createInjectorStrategy = function(ei) {\n return new ReflectiveInjectorDynamicStrategy(this, ei);\n };\n return ReflectiveProtoInjectorDynamicStrategy;\n }());\n exports.ReflectiveProtoInjectorDynamicStrategy = ReflectiveProtoInjectorDynamicStrategy;\n var ReflectiveProtoInjector = (function() {\n function ReflectiveProtoInjector(providers) {\n this.numberOfProviders = providers.length;\n this._strategy = providers.length > _MAX_CONSTRUCTION_COUNTER ? new ReflectiveProtoInjectorDynamicStrategy(this, providers) : new ReflectiveProtoInjectorInlineStrategy(this, providers);\n }\n ReflectiveProtoInjector.fromResolvedProviders = function(providers) {\n return new ReflectiveProtoInjector(providers);\n };\n ReflectiveProtoInjector.prototype.getProviderAtIndex = function(index) {\n return this._strategy.getProviderAtIndex(index);\n };\n return ReflectiveProtoInjector;\n }());\n exports.ReflectiveProtoInjector = ReflectiveProtoInjector;\n var ReflectiveInjectorInlineStrategy = (function() {\n function ReflectiveInjectorInlineStrategy(injector, protoStrategy) {\n this.injector = injector;\n this.protoStrategy = protoStrategy;\n this.obj0 = UNDEFINED;\n this.obj1 = UNDEFINED;\n this.obj2 = UNDEFINED;\n this.obj3 = UNDEFINED;\n this.obj4 = UNDEFINED;\n this.obj5 = UNDEFINED;\n this.obj6 = UNDEFINED;\n this.obj7 = UNDEFINED;\n this.obj8 = UNDEFINED;\n this.obj9 = UNDEFINED;\n }\n ReflectiveInjectorInlineStrategy.prototype.resetConstructionCounter = function() {\n this.injector._constructionCounter = 0;\n };\n ReflectiveInjectorInlineStrategy.prototype.instantiateProvider = function(provider) {\n return this.injector._new(provider);\n };\n ReflectiveInjectorInlineStrategy.prototype.getObjByKeyId = function(keyId) {\n var p = this.protoStrategy;\n var inj = this.injector;\n if (p.keyId0 === keyId) {\n if (this.obj0 === UNDEFINED) {\n this.obj0 = inj._new(p.provider0);\n }\n return this.obj0;\n }\n if (p.keyId1 === keyId) {\n if (this.obj1 === UNDEFINED) {\n this.obj1 = inj._new(p.provider1);\n }\n return this.obj1;\n }\n if (p.keyId2 === keyId) {\n if (this.obj2 === UNDEFINED) {\n this.obj2 = inj._new(p.provider2);\n }\n return this.obj2;\n }\n if (p.keyId3 === keyId) {\n if (this.obj3 === UNDEFINED) {\n this.obj3 = inj._new(p.provider3);\n }\n return this.obj3;\n }\n if (p.keyId4 === keyId) {\n if (this.obj4 === UNDEFINED) {\n this.obj4 = inj._new(p.provider4);\n }\n return this.obj4;\n }\n if (p.keyId5 === keyId) {\n if (this.obj5 === UNDEFINED) {\n this.obj5 = inj._new(p.provider5);\n }\n return this.obj5;\n }\n if (p.keyId6 === keyId) {\n if (this.obj6 === UNDEFINED) {\n this.obj6 = inj._new(p.provider6);\n }\n return this.obj6;\n }\n if (p.keyId7 === keyId) {\n if (this.obj7 === UNDEFINED) {\n this.obj7 = inj._new(p.provider7);\n }\n return this.obj7;\n }\n if (p.keyId8 === keyId) {\n if (this.obj8 === UNDEFINED) {\n this.obj8 = inj._new(p.provider8);\n }\n return this.obj8;\n }\n if (p.keyId9 === keyId) {\n if (this.obj9 === UNDEFINED) {\n this.obj9 = inj._new(p.provider9);\n }\n return this.obj9;\n }\n return UNDEFINED;\n };\n ReflectiveInjectorInlineStrategy.prototype.getObjAtIndex = function(index) {\n if (index == 0)\n return this.obj0;\n if (index == 1)\n return this.obj1;\n if (index == 2)\n return this.obj2;\n if (index == 3)\n return this.obj3;\n if (index == 4)\n return this.obj4;\n if (index == 5)\n return this.obj5;\n if (index == 6)\n return this.obj6;\n if (index == 7)\n return this.obj7;\n if (index == 8)\n return this.obj8;\n if (index == 9)\n return this.obj9;\n throw new reflective_exceptions_1.OutOfBoundsError(index);\n };\n ReflectiveInjectorInlineStrategy.prototype.getMaxNumberOfObjects = function() {\n return _MAX_CONSTRUCTION_COUNTER;\n };\n return ReflectiveInjectorInlineStrategy;\n }());\n exports.ReflectiveInjectorInlineStrategy = ReflectiveInjectorInlineStrategy;\n var ReflectiveInjectorDynamicStrategy = (function() {\n function ReflectiveInjectorDynamicStrategy(protoStrategy, injector) {\n this.protoStrategy = protoStrategy;\n this.injector = injector;\n this.objs = collection_1.ListWrapper.createFixedSize(protoStrategy.providers.length);\n collection_1.ListWrapper.fill(this.objs, UNDEFINED);\n }\n ReflectiveInjectorDynamicStrategy.prototype.resetConstructionCounter = function() {\n this.injector._constructionCounter = 0;\n };\n ReflectiveInjectorDynamicStrategy.prototype.instantiateProvider = function(provider) {\n return this.injector._new(provider);\n };\n ReflectiveInjectorDynamicStrategy.prototype.getObjByKeyId = function(keyId) {\n var p = this.protoStrategy;\n for (var i = 0; i < p.keyIds.length; i++) {\n if (p.keyIds[i] === keyId) {\n if (this.objs[i] === UNDEFINED) {\n this.objs[i] = this.injector._new(p.providers[i]);\n }\n return this.objs[i];\n }\n }\n return UNDEFINED;\n };\n ReflectiveInjectorDynamicStrategy.prototype.getObjAtIndex = function(index) {\n if (index < 0 || index >= this.objs.length) {\n throw new reflective_exceptions_1.OutOfBoundsError(index);\n }\n return this.objs[index];\n };\n ReflectiveInjectorDynamicStrategy.prototype.getMaxNumberOfObjects = function() {\n return this.objs.length;\n };\n return ReflectiveInjectorDynamicStrategy;\n }());\n exports.ReflectiveInjectorDynamicStrategy = ReflectiveInjectorDynamicStrategy;\n var ReflectiveInjector = (function() {\n function ReflectiveInjector() {}\n ReflectiveInjector.resolve = function(providers) {\n return reflective_provider_1.resolveReflectiveProviders(providers);\n };\n ReflectiveInjector.resolveAndCreate = function(providers, parent) {\n if (parent === void 0) {\n parent = null;\n }\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n };\n ReflectiveInjector.fromResolvedProviders = function(providers, parent) {\n if (parent === void 0) {\n parent = null;\n }\n return new ReflectiveInjector_(ReflectiveProtoInjector.fromResolvedProviders(providers), parent);\n };\n ReflectiveInjector.fromResolvedBindings = function(providers) {\n return ReflectiveInjector.fromResolvedProviders(providers);\n };\n Object.defineProperty(ReflectiveInjector.prototype, \"parent\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n ReflectiveInjector.prototype.debugContext = function() {\n return null;\n };\n ReflectiveInjector.prototype.resolveAndCreateChild = function(providers) {\n return exceptions_1.unimplemented();\n };\n ReflectiveInjector.prototype.createChildFromResolved = function(providers) {\n return exceptions_1.unimplemented();\n };\n ReflectiveInjector.prototype.resolveAndInstantiate = function(provider) {\n return exceptions_1.unimplemented();\n };\n ReflectiveInjector.prototype.instantiateResolved = function(provider) {\n return exceptions_1.unimplemented();\n };\n return ReflectiveInjector;\n }());\n exports.ReflectiveInjector = ReflectiveInjector;\n var ReflectiveInjector_ = (function() {\n function ReflectiveInjector_(_proto, _parent, _debugContext) {\n if (_parent === void 0) {\n _parent = null;\n }\n if (_debugContext === void 0) {\n _debugContext = null;\n }\n this._debugContext = _debugContext;\n this._constructionCounter = 0;\n this._proto = _proto;\n this._parent = _parent;\n this._strategy = _proto._strategy.createInjectorStrategy(this);\n }\n ReflectiveInjector_.prototype.debugContext = function() {\n return this._debugContext();\n };\n ReflectiveInjector_.prototype.get = function(token, notFoundValue) {\n if (notFoundValue === void 0) {\n notFoundValue = injector_1.THROW_IF_NOT_FOUND;\n }\n return this._getByKey(reflective_key_1.ReflectiveKey.get(token), null, null, notFoundValue);\n };\n ReflectiveInjector_.prototype.getAt = function(index) {\n return this._strategy.getObjAtIndex(index);\n };\n Object.defineProperty(ReflectiveInjector_.prototype, \"parent\", {\n get: function() {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ReflectiveInjector_.prototype, \"internalStrategy\", {\n get: function() {\n return this._strategy;\n },\n enumerable: true,\n configurable: true\n });\n ReflectiveInjector_.prototype.resolveAndCreateChild = function(providers) {\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n return this.createChildFromResolved(ResolvedReflectiveProviders);\n };\n ReflectiveInjector_.prototype.createChildFromResolved = function(providers) {\n var proto = new ReflectiveProtoInjector(providers);\n var inj = new ReflectiveInjector_(proto);\n inj._parent = this;\n return inj;\n };\n ReflectiveInjector_.prototype.resolveAndInstantiate = function(provider) {\n return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n };\n ReflectiveInjector_.prototype.instantiateResolved = function(provider) {\n return this._instantiateProvider(provider);\n };\n ReflectiveInjector_.prototype._new = function(provider) {\n if (this._constructionCounter++ > this._strategy.getMaxNumberOfObjects()) {\n throw new reflective_exceptions_1.CyclicDependencyError(this, provider.key);\n }\n return this._instantiateProvider(provider);\n };\n ReflectiveInjector_.prototype._instantiateProvider = function(provider) {\n if (provider.multiProvider) {\n var res = collection_1.ListWrapper.createFixedSize(provider.resolvedFactories.length);\n for (var i = 0; i < provider.resolvedFactories.length; ++i) {\n res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n }\n return res;\n } else {\n return this._instantiate(provider, provider.resolvedFactories[0]);\n }\n };\n ReflectiveInjector_.prototype._instantiate = function(provider, ResolvedReflectiveFactory) {\n var factory = ResolvedReflectiveFactory.factory;\n var deps = ResolvedReflectiveFactory.dependencies;\n var length = deps.length;\n var d0;\n var d1;\n var d2;\n var d3;\n var d4;\n var d5;\n var d6;\n var d7;\n var d8;\n var d9;\n var d10;\n var d11;\n var d12;\n var d13;\n var d14;\n var d15;\n var d16;\n var d17;\n var d18;\n var d19;\n try {\n d0 = length > 0 ? this._getByReflectiveDependency(provider, deps[0]) : null;\n d1 = length > 1 ? this._getByReflectiveDependency(provider, deps[1]) : null;\n d2 = length > 2 ? this._getByReflectiveDependency(provider, deps[2]) : null;\n d3 = length > 3 ? this._getByReflectiveDependency(provider, deps[3]) : null;\n d4 = length > 4 ? this._getByReflectiveDependency(provider, deps[4]) : null;\n d5 = length > 5 ? this._getByReflectiveDependency(provider, deps[5]) : null;\n d6 = length > 6 ? this._getByReflectiveDependency(provider, deps[6]) : null;\n d7 = length > 7 ? this._getByReflectiveDependency(provider, deps[7]) : null;\n d8 = length > 8 ? this._getByReflectiveDependency(provider, deps[8]) : null;\n d9 = length > 9 ? this._getByReflectiveDependency(provider, deps[9]) : null;\n d10 = length > 10 ? this._getByReflectiveDependency(provider, deps[10]) : null;\n d11 = length > 11 ? this._getByReflectiveDependency(provider, deps[11]) : null;\n d12 = length > 12 ? this._getByReflectiveDependency(provider, deps[12]) : null;\n d13 = length > 13 ? this._getByReflectiveDependency(provider, deps[13]) : null;\n d14 = length > 14 ? this._getByReflectiveDependency(provider, deps[14]) : null;\n d15 = length > 15 ? this._getByReflectiveDependency(provider, deps[15]) : null;\n d16 = length > 16 ? this._getByReflectiveDependency(provider, deps[16]) : null;\n d17 = length > 17 ? this._getByReflectiveDependency(provider, deps[17]) : null;\n d18 = length > 18 ? this._getByReflectiveDependency(provider, deps[18]) : null;\n d19 = length > 19 ? this._getByReflectiveDependency(provider, deps[19]) : null;\n } catch (e) {\n if (e instanceof reflective_exceptions_1.AbstractProviderError || e instanceof reflective_exceptions_1.InstantiationError) {\n e.addKey(this, provider.key);\n }\n throw e;\n }\n var obj;\n try {\n switch (length) {\n case 0:\n obj = factory();\n break;\n case 1:\n obj = factory(d0);\n break;\n case 2:\n obj = factory(d0, d1);\n break;\n case 3:\n obj = factory(d0, d1, d2);\n break;\n case 4:\n obj = factory(d0, d1, d2, d3);\n break;\n case 5:\n obj = factory(d0, d1, d2, d3, d4);\n break;\n case 6:\n obj = factory(d0, d1, d2, d3, d4, d5);\n break;\n case 7:\n obj = factory(d0, d1, d2, d3, d4, d5, d6);\n break;\n case 8:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7);\n break;\n case 9:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8);\n break;\n case 10:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9);\n break;\n case 11:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10);\n break;\n case 12:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11);\n break;\n case 13:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12);\n break;\n case 14:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13);\n break;\n case 15:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14);\n break;\n case 16:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15);\n break;\n case 17:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16);\n break;\n case 18:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17);\n break;\n case 19:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18);\n break;\n case 20:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19);\n break;\n default:\n throw new exceptions_1.BaseException(\"Cannot instantiate '\" + provider.key.displayName + \"' because it has more than 20 dependencies\");\n }\n } catch (e) {\n throw new reflective_exceptions_1.InstantiationError(this, e, e.stack, provider.key);\n }\n return obj;\n };\n ReflectiveInjector_.prototype._getByReflectiveDependency = function(provider, dep) {\n return this._getByKey(dep.key, dep.lowerBoundVisibility, dep.upperBoundVisibility, dep.optional ? null : injector_1.THROW_IF_NOT_FOUND);\n };\n ReflectiveInjector_.prototype._getByKey = function(key, lowerBoundVisibility, upperBoundVisibility, notFoundValue) {\n if (key === INJECTOR_KEY) {\n return this;\n }\n if (upperBoundVisibility instanceof metadata_1.SelfMetadata) {\n return this._getByKeySelf(key, notFoundValue);\n } else {\n return this._getByKeyDefault(key, notFoundValue, lowerBoundVisibility);\n }\n };\n ReflectiveInjector_.prototype._throwOrNull = function(key, notFoundValue) {\n if (notFoundValue !== injector_1.THROW_IF_NOT_FOUND) {\n return notFoundValue;\n } else {\n throw new reflective_exceptions_1.NoProviderError(this, key);\n }\n };\n ReflectiveInjector_.prototype._getByKeySelf = function(key, notFoundValue) {\n var obj = this._strategy.getObjByKeyId(key.id);\n return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\n };\n ReflectiveInjector_.prototype._getByKeyDefault = function(key, notFoundValue, lowerBoundVisibility) {\n var inj;\n if (lowerBoundVisibility instanceof metadata_1.SkipSelfMetadata) {\n inj = this._parent;\n } else {\n inj = this;\n }\n while (inj instanceof ReflectiveInjector_) {\n var inj_ = inj;\n var obj = inj_._strategy.getObjByKeyId(key.id);\n if (obj !== UNDEFINED)\n return obj;\n inj = inj_._parent;\n }\n if (inj !== null) {\n return inj.get(key.token, notFoundValue);\n } else {\n return this._throwOrNull(key, notFoundValue);\n }\n };\n Object.defineProperty(ReflectiveInjector_.prototype, \"displayName\", {\n get: function() {\n return \"ReflectiveInjector(providers: [\" + _mapProviders(this, function(b) {\n return (\" \\\"\" + b.key.displayName + \"\\\" \");\n }).join(\", \") + \"])\";\n },\n enumerable: true,\n configurable: true\n });\n ReflectiveInjector_.prototype.toString = function() {\n return this.displayName;\n };\n return ReflectiveInjector_;\n }());\n exports.ReflectiveInjector_ = ReflectiveInjector_;\n var INJECTOR_KEY = reflective_key_1.ReflectiveKey.get(injector_1.Injector);\n function _mapProviders(injector, fn) {\n var res = [];\n for (var i = 0; i < injector._proto.numberOfProviders; ++i) {\n res.push(fn(injector._proto.getProviderAtIndex(i)));\n }\n return res;\n }\n})(require('process'));\n","/* */ \n\"use strict\";\n/**\n* Provides read-only access to reflection data about symbols. Used internally by Angular\n* to power dependency injection and compilation.\n*/\nvar ReflectorReader = (function () {\n function ReflectorReader() {\n }\n return ReflectorReader;\n}());\nexports.ReflectorReader = ReflectorReader;\n//# sourceMappingURL=reflector_reader.js.map","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar collection_1 = require('../facade/collection');\nvar reflector_reader_1 = require('./reflector_reader');\nvar ReflectionInfo = (function() {\n function ReflectionInfo(annotations, parameters, factory, interfaces, propMetadata) {\n this.annotations = annotations;\n this.parameters = parameters;\n this.factory = factory;\n this.interfaces = interfaces;\n this.propMetadata = propMetadata;\n }\n return ReflectionInfo;\n}());\nexports.ReflectionInfo = ReflectionInfo;\nvar Reflector = (function(_super) {\n __extends(Reflector, _super);\n function Reflector(reflectionCapabilities) {\n _super.call(this);\n this._injectableInfo = new collection_1.Map();\n this._getters = new collection_1.Map();\n this._setters = new collection_1.Map();\n this._methods = new collection_1.Map();\n this._usedKeys = null;\n this.reflectionCapabilities = reflectionCapabilities;\n }\n Reflector.prototype.isReflectionEnabled = function() {\n return this.reflectionCapabilities.isReflectionEnabled();\n };\n Reflector.prototype.trackUsage = function() {\n this._usedKeys = new collection_1.Set();\n };\n Reflector.prototype.listUnusedKeys = function() {\n var _this = this;\n if (this._usedKeys == null) {\n throw new exceptions_1.BaseException('Usage tracking is disabled');\n }\n var allTypes = collection_1.MapWrapper.keys(this._injectableInfo);\n return allTypes.filter(function(key) {\n return !collection_1.SetWrapper.has(_this._usedKeys, key);\n });\n };\n Reflector.prototype.registerFunction = function(func, funcInfo) {\n this._injectableInfo.set(func, funcInfo);\n };\n Reflector.prototype.registerType = function(type, typeInfo) {\n this._injectableInfo.set(type, typeInfo);\n };\n Reflector.prototype.registerGetters = function(getters) {\n _mergeMaps(this._getters, getters);\n };\n Reflector.prototype.registerSetters = function(setters) {\n _mergeMaps(this._setters, setters);\n };\n Reflector.prototype.registerMethods = function(methods) {\n _mergeMaps(this._methods, methods);\n };\n Reflector.prototype.factory = function(type) {\n if (this._containsReflectionInfo(type)) {\n var res = this._getReflectionInfo(type).factory;\n return lang_1.isPresent(res) ? res : null;\n } else {\n return this.reflectionCapabilities.factory(type);\n }\n };\n Reflector.prototype.parameters = function(typeOrFunc) {\n if (this._injectableInfo.has(typeOrFunc)) {\n var res = this._getReflectionInfo(typeOrFunc).parameters;\n return lang_1.isPresent(res) ? res : [];\n } else {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n }\n };\n Reflector.prototype.annotations = function(typeOrFunc) {\n if (this._injectableInfo.has(typeOrFunc)) {\n var res = this._getReflectionInfo(typeOrFunc).annotations;\n return lang_1.isPresent(res) ? res : [];\n } else {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n }\n };\n Reflector.prototype.propMetadata = function(typeOrFunc) {\n if (this._injectableInfo.has(typeOrFunc)) {\n var res = this._getReflectionInfo(typeOrFunc).propMetadata;\n return lang_1.isPresent(res) ? res : {};\n } else {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n }\n };\n Reflector.prototype.interfaces = function(type) {\n if (this._injectableInfo.has(type)) {\n var res = this._getReflectionInfo(type).interfaces;\n return lang_1.isPresent(res) ? res : [];\n } else {\n return this.reflectionCapabilities.interfaces(type);\n }\n };\n Reflector.prototype.getter = function(name) {\n if (this._getters.has(name)) {\n return this._getters.get(name);\n } else {\n return this.reflectionCapabilities.getter(name);\n }\n };\n Reflector.prototype.setter = function(name) {\n if (this._setters.has(name)) {\n return this._setters.get(name);\n } else {\n return this.reflectionCapabilities.setter(name);\n }\n };\n Reflector.prototype.method = function(name) {\n if (this._methods.has(name)) {\n return this._methods.get(name);\n } else {\n return this.reflectionCapabilities.method(name);\n }\n };\n Reflector.prototype._getReflectionInfo = function(typeOrFunc) {\n if (lang_1.isPresent(this._usedKeys)) {\n this._usedKeys.add(typeOrFunc);\n }\n return this._injectableInfo.get(typeOrFunc);\n };\n Reflector.prototype._containsReflectionInfo = function(typeOrFunc) {\n return this._injectableInfo.has(typeOrFunc);\n };\n Reflector.prototype.importUri = function(type) {\n return this.reflectionCapabilities.importUri(type);\n };\n return Reflector;\n}(reflector_reader_1.ReflectorReader));\nexports.Reflector = Reflector;\nfunction _mergeMaps(target, config) {\n collection_1.StringMapWrapper.forEach(config, function(v, k) {\n return target.set(k, v);\n });\n}\n","/* */ \n\"use strict\";\nvar reflector_1 = require('./reflector');\nvar reflector_2 = require('./reflector');\nexports.Reflector = reflector_2.Reflector;\nexports.ReflectionInfo = reflector_2.ReflectionInfo;\nvar reflection_capabilities_1 = require('./reflection_capabilities');\nexports.reflector = new reflector_1.Reflector(new reflection_capabilities_1.ReflectionCapabilities());\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar reflection_1 = require('../reflection/reflection');\nvar reflective_key_1 = require('./reflective_key');\nvar metadata_1 = require('./metadata');\nvar reflective_exceptions_1 = require('./reflective_exceptions');\nvar forward_ref_1 = require('./forward_ref');\nvar provider_1 = require('./provider');\nvar provider_util_1 = require('./provider_util');\nvar ReflectiveDependency = (function() {\n function ReflectiveDependency(key, optional, lowerBoundVisibility, upperBoundVisibility, properties) {\n this.key = key;\n this.optional = optional;\n this.lowerBoundVisibility = lowerBoundVisibility;\n this.upperBoundVisibility = upperBoundVisibility;\n this.properties = properties;\n }\n ReflectiveDependency.fromKey = function(key) {\n return new ReflectiveDependency(key, false, null, null, []);\n };\n return ReflectiveDependency;\n}());\nexports.ReflectiveDependency = ReflectiveDependency;\nvar _EMPTY_LIST = [];\nvar ResolvedReflectiveProvider_ = (function() {\n function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) {\n this.key = key;\n this.resolvedFactories = resolvedFactories;\n this.multiProvider = multiProvider;\n }\n Object.defineProperty(ResolvedReflectiveProvider_.prototype, \"resolvedFactory\", {\n get: function() {\n return this.resolvedFactories[0];\n },\n enumerable: true,\n configurable: true\n });\n return ResolvedReflectiveProvider_;\n}());\nexports.ResolvedReflectiveProvider_ = ResolvedReflectiveProvider_;\nvar ResolvedReflectiveFactory = (function() {\n function ResolvedReflectiveFactory(factory, dependencies) {\n this.factory = factory;\n this.dependencies = dependencies;\n }\n return ResolvedReflectiveFactory;\n}());\nexports.ResolvedReflectiveFactory = ResolvedReflectiveFactory;\nfunction resolveReflectiveFactory(provider) {\n var factoryFn;\n var resolvedDeps;\n if (lang_1.isPresent(provider.useClass)) {\n var useClass = forward_ref_1.resolveForwardRef(provider.useClass);\n factoryFn = reflection_1.reflector.factory(useClass);\n resolvedDeps = _dependenciesFor(useClass);\n } else if (lang_1.isPresent(provider.useExisting)) {\n factoryFn = function(aliasInstance) {\n return aliasInstance;\n };\n resolvedDeps = [ReflectiveDependency.fromKey(reflective_key_1.ReflectiveKey.get(provider.useExisting))];\n } else if (lang_1.isPresent(provider.useFactory)) {\n factoryFn = provider.useFactory;\n resolvedDeps = constructDependencies(provider.useFactory, provider.dependencies);\n } else {\n factoryFn = function() {\n return provider.useValue;\n };\n resolvedDeps = _EMPTY_LIST;\n }\n return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n}\nexports.resolveReflectiveFactory = resolveReflectiveFactory;\nfunction resolveReflectiveProvider(provider) {\n return new ResolvedReflectiveProvider_(reflective_key_1.ReflectiveKey.get(provider.token), [resolveReflectiveFactory(provider)], provider.multi);\n}\nexports.resolveReflectiveProvider = resolveReflectiveProvider;\nfunction resolveReflectiveProviders(providers) {\n var normalized = _normalizeProviders(providers, []);\n var resolved = normalized.map(resolveReflectiveProvider);\n return collection_1.MapWrapper.values(mergeResolvedReflectiveProviders(resolved, new Map()));\n}\nexports.resolveReflectiveProviders = resolveReflectiveProviders;\nfunction mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n for (var i = 0; i < providers.length; i++) {\n var provider = providers[i];\n var existing = normalizedProvidersMap.get(provider.key.id);\n if (lang_1.isPresent(existing)) {\n if (provider.multiProvider !== existing.multiProvider) {\n throw new reflective_exceptions_1.MixingMultiProvidersWithRegularProvidersError(existing, provider);\n }\n if (provider.multiProvider) {\n for (var j = 0; j < provider.resolvedFactories.length; j++) {\n existing.resolvedFactories.push(provider.resolvedFactories[j]);\n }\n } else {\n normalizedProvidersMap.set(provider.key.id, provider);\n }\n } else {\n var resolvedProvider;\n if (provider.multiProvider) {\n resolvedProvider = new ResolvedReflectiveProvider_(provider.key, collection_1.ListWrapper.clone(provider.resolvedFactories), provider.multiProvider);\n } else {\n resolvedProvider = provider;\n }\n normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n }\n }\n return normalizedProvidersMap;\n}\nexports.mergeResolvedReflectiveProviders = mergeResolvedReflectiveProviders;\nfunction _normalizeProviders(providers, res) {\n providers.forEach(function(b) {\n if (b instanceof lang_1.Type) {\n res.push(provider_1.provide(b, {useClass: b}));\n } else if (b instanceof provider_1.Provider) {\n res.push(b);\n } else if (provider_util_1.isProviderLiteral(b)) {\n res.push(provider_util_1.createProvider(b));\n } else if (b instanceof Array) {\n _normalizeProviders(b, res);\n } else if (b instanceof provider_1.ProviderBuilder) {\n throw new reflective_exceptions_1.InvalidProviderError(b.token);\n } else {\n throw new reflective_exceptions_1.InvalidProviderError(b);\n }\n });\n return res;\n}\nfunction constructDependencies(typeOrFunc, dependencies) {\n if (lang_1.isBlank(dependencies)) {\n return _dependenciesFor(typeOrFunc);\n } else {\n var params = dependencies.map(function(t) {\n return [t];\n });\n return dependencies.map(function(t) {\n return _extractToken(typeOrFunc, t, params);\n });\n }\n}\nexports.constructDependencies = constructDependencies;\nfunction _dependenciesFor(typeOrFunc) {\n var params = reflection_1.reflector.parameters(typeOrFunc);\n if (lang_1.isBlank(params))\n return [];\n if (params.some(lang_1.isBlank)) {\n throw new reflective_exceptions_1.NoAnnotationError(typeOrFunc, params);\n }\n return params.map(function(p) {\n return _extractToken(typeOrFunc, p, params);\n });\n}\nfunction _extractToken(typeOrFunc, metadata, params) {\n var depProps = [];\n var token = null;\n var optional = false;\n if (!lang_1.isArray(metadata)) {\n if (metadata instanceof metadata_1.InjectMetadata) {\n return _createDependency(metadata.token, optional, null, null, depProps);\n } else {\n return _createDependency(metadata, optional, null, null, depProps);\n }\n }\n var lowerBoundVisibility = null;\n var upperBoundVisibility = null;\n for (var i = 0; i < metadata.length; ++i) {\n var paramMetadata = metadata[i];\n if (paramMetadata instanceof lang_1.Type) {\n token = paramMetadata;\n } else if (paramMetadata instanceof metadata_1.InjectMetadata) {\n token = paramMetadata.token;\n } else if (paramMetadata instanceof metadata_1.OptionalMetadata) {\n optional = true;\n } else if (paramMetadata instanceof metadata_1.SelfMetadata) {\n upperBoundVisibility = paramMetadata;\n } else if (paramMetadata instanceof metadata_1.HostMetadata) {\n upperBoundVisibility = paramMetadata;\n } else if (paramMetadata instanceof metadata_1.SkipSelfMetadata) {\n lowerBoundVisibility = paramMetadata;\n } else if (paramMetadata instanceof metadata_1.DependencyMetadata) {\n if (lang_1.isPresent(paramMetadata.token)) {\n token = paramMetadata.token;\n }\n depProps.push(paramMetadata);\n }\n }\n token = forward_ref_1.resolveForwardRef(token);\n if (lang_1.isPresent(token)) {\n return _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n } else {\n throw new reflective_exceptions_1.NoAnnotationError(typeOrFunc, params);\n }\n}\nfunction _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps) {\n return new ReflectiveDependency(reflective_key_1.ReflectiveKey.get(token), optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n}\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nfunction forwardRef(forwardRefFn) {\n forwardRefFn.__forward_ref__ = forwardRef;\n forwardRefFn.toString = function() {\n return lang_1.stringify(this());\n };\n return forwardRefFn;\n}\nexports.forwardRef = forwardRef;\nfunction resolveForwardRef(type) {\n if (lang_1.isFunction(type) && type.hasOwnProperty('__forward_ref__') && type.__forward_ref__ === forwardRef) {\n return type();\n } else {\n return type;\n }\n}\nexports.resolveForwardRef = resolveForwardRef;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar forward_ref_1 = require('./forward_ref');\nvar ReflectiveKey = (function() {\n function ReflectiveKey(token, id) {\n this.token = token;\n this.id = id;\n if (lang_1.isBlank(token)) {\n throw new exceptions_1.BaseException('Token must be defined!');\n }\n }\n Object.defineProperty(ReflectiveKey.prototype, \"displayName\", {\n get: function() {\n return lang_1.stringify(this.token);\n },\n enumerable: true,\n configurable: true\n });\n ReflectiveKey.get = function(token) {\n return _globalKeyRegistry.get(forward_ref_1.resolveForwardRef(token));\n };\n Object.defineProperty(ReflectiveKey, \"numberOfKeys\", {\n get: function() {\n return _globalKeyRegistry.numberOfKeys;\n },\n enumerable: true,\n configurable: true\n });\n return ReflectiveKey;\n}());\nexports.ReflectiveKey = ReflectiveKey;\nvar KeyRegistry = (function() {\n function KeyRegistry() {\n this._allKeys = new Map();\n }\n KeyRegistry.prototype.get = function(token) {\n if (token instanceof ReflectiveKey)\n return token;\n if (this._allKeys.has(token)) {\n return this._allKeys.get(token);\n }\n var newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n this._allKeys.set(token, newKey);\n return newKey;\n };\n Object.defineProperty(KeyRegistry.prototype, \"numberOfKeys\", {\n get: function() {\n return this._allKeys.size;\n },\n enumerable: true,\n configurable: true\n });\n return KeyRegistry;\n}());\nexports.KeyRegistry = KeyRegistry;\nvar _globalKeyRegistry = new KeyRegistry();\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar collection_1 = require('../facade/collection');\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nfunction findFirstClosedCycle(keys) {\n var res = [];\n for (var i = 0; i < keys.length; ++i) {\n if (collection_1.ListWrapper.contains(res, keys[i])) {\n res.push(keys[i]);\n return res;\n } else {\n res.push(keys[i]);\n }\n }\n return res;\n}\nfunction constructResolvingPath(keys) {\n if (keys.length > 1) {\n var reversed = findFirstClosedCycle(collection_1.ListWrapper.reversed(keys));\n var tokenStrs = reversed.map(function(k) {\n return lang_1.stringify(k.token);\n });\n return \" (\" + tokenStrs.join(' -> ') + \")\";\n } else {\n return \"\";\n }\n}\nvar AbstractProviderError = (function(_super) {\n __extends(AbstractProviderError, _super);\n function AbstractProviderError(injector, key, constructResolvingMessage) {\n _super.call(this, \"DI Exception\");\n this.keys = [key];\n this.injectors = [injector];\n this.constructResolvingMessage = constructResolvingMessage;\n this.message = this.constructResolvingMessage(this.keys);\n }\n AbstractProviderError.prototype.addKey = function(injector, key) {\n this.injectors.push(injector);\n this.keys.push(key);\n this.message = this.constructResolvingMessage(this.keys);\n };\n Object.defineProperty(AbstractProviderError.prototype, \"context\", {\n get: function() {\n return this.injectors[this.injectors.length - 1].debugContext();\n },\n enumerable: true,\n configurable: true\n });\n return AbstractProviderError;\n}(exceptions_1.BaseException));\nexports.AbstractProviderError = AbstractProviderError;\nvar NoProviderError = (function(_super) {\n __extends(NoProviderError, _super);\n function NoProviderError(injector, key) {\n _super.call(this, injector, key, function(keys) {\n var first = lang_1.stringify(collection_1.ListWrapper.first(keys).token);\n return \"No provider for \" + first + \"!\" + constructResolvingPath(keys);\n });\n }\n return NoProviderError;\n}(AbstractProviderError));\nexports.NoProviderError = NoProviderError;\nvar CyclicDependencyError = (function(_super) {\n __extends(CyclicDependencyError, _super);\n function CyclicDependencyError(injector, key) {\n _super.call(this, injector, key, function(keys) {\n return \"Cannot instantiate cyclic dependency!\" + constructResolvingPath(keys);\n });\n }\n return CyclicDependencyError;\n}(AbstractProviderError));\nexports.CyclicDependencyError = CyclicDependencyError;\nvar InstantiationError = (function(_super) {\n __extends(InstantiationError, _super);\n function InstantiationError(injector, originalException, originalStack, key) {\n _super.call(this, \"DI Exception\", originalException, originalStack, null);\n this.keys = [key];\n this.injectors = [injector];\n }\n InstantiationError.prototype.addKey = function(injector, key) {\n this.injectors.push(injector);\n this.keys.push(key);\n };\n Object.defineProperty(InstantiationError.prototype, \"wrapperMessage\", {\n get: function() {\n var first = lang_1.stringify(collection_1.ListWrapper.first(this.keys).token);\n return \"Error during instantiation of \" + first + \"!\" + constructResolvingPath(this.keys) + \".\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InstantiationError.prototype, \"causeKey\", {\n get: function() {\n return this.keys[0];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InstantiationError.prototype, \"context\", {\n get: function() {\n return this.injectors[this.injectors.length - 1].debugContext();\n },\n enumerable: true,\n configurable: true\n });\n return InstantiationError;\n}(exceptions_1.WrappedException));\nexports.InstantiationError = InstantiationError;\nvar InvalidProviderError = (function(_super) {\n __extends(InvalidProviderError, _super);\n function InvalidProviderError(provider) {\n _super.call(this, \"Invalid provider - only instances of Provider and Type are allowed, got: \" + provider.toString());\n }\n return InvalidProviderError;\n}(exceptions_1.BaseException));\nexports.InvalidProviderError = InvalidProviderError;\nvar NoAnnotationError = (function(_super) {\n __extends(NoAnnotationError, _super);\n function NoAnnotationError(typeOrFunc, params) {\n _super.call(this, NoAnnotationError._genMessage(typeOrFunc, params));\n }\n NoAnnotationError._genMessage = function(typeOrFunc, params) {\n var signature = [];\n for (var i = 0,\n ii = params.length; i < ii; i++) {\n var parameter = params[i];\n if (lang_1.isBlank(parameter) || parameter.length == 0) {\n signature.push('?');\n } else {\n signature.push(parameter.map(lang_1.stringify).join(' '));\n }\n }\n return \"Cannot resolve all parameters for '\" + lang_1.stringify(typeOrFunc) + \"'(\" + signature.join(', ') + \"). \" + \"Make sure that all the parameters are decorated with Inject or have valid type annotations and that '\" + lang_1.stringify(typeOrFunc) + \"' is decorated with Injectable.\";\n };\n return NoAnnotationError;\n}(exceptions_1.BaseException));\nexports.NoAnnotationError = NoAnnotationError;\nvar OutOfBoundsError = (function(_super) {\n __extends(OutOfBoundsError, _super);\n function OutOfBoundsError(index) {\n _super.call(this, \"Index \" + index + \" is out-of-bounds.\");\n }\n return OutOfBoundsError;\n}(exceptions_1.BaseException));\nexports.OutOfBoundsError = OutOfBoundsError;\nvar MixingMultiProvidersWithRegularProvidersError = (function(_super) {\n __extends(MixingMultiProvidersWithRegularProvidersError, _super);\n function MixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n _super.call(this, \"Cannot mix multi providers and regular providers, got: \" + provider1.toString() + \" \" + provider2.toString());\n }\n return MixingMultiProvidersWithRegularProvidersError;\n}(exceptions_1.BaseException));\nexports.MixingMultiProvidersWithRegularProvidersError = MixingMultiProvidersWithRegularProvidersError;\n","/* */ \n\"use strict\";\n/**\n* Creates a token that can be used in a DI Provider.\n*\n* ### Example ([live demo](http://plnkr.co/edit/Ys9ezXpj2Mnoy3Uc8KBp?p=preview))\n*\n* ```typescript\n* var t = new OpaqueToken(\"value\");\n*\n* var injector = Injector.resolveAndCreate([\n* provide(t, {useValue: \"bindingValue\"})\n* ]);\n*\n* expect(injector.get(t)).toEqual(\"bindingValue\");\n* ```\n*\n* Using an `OpaqueToken` is preferable to using strings as tokens because of possible collisions\n* caused by multiple providers using the same string as two different tokens.\n*\n* Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better\n* error messages.\n* @ts2dart_const\n*/\nvar OpaqueToken = (function () {\n function OpaqueToken(_desc) {\n this._desc = _desc;\n }\n OpaqueToken.prototype.toString = function () { return \"Token \" + this._desc; };\n return OpaqueToken;\n}());\nexports.OpaqueToken = OpaqueToken;\n//# sourceMappingURL=opaque_token.js.map","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\nvar metadata_1 = require('./di/metadata');\nexports.InjectMetadata = metadata_1.InjectMetadata;\nexports.OptionalMetadata = metadata_1.OptionalMetadata;\nexports.InjectableMetadata = metadata_1.InjectableMetadata;\nexports.SelfMetadata = metadata_1.SelfMetadata;\nexports.HostMetadata = metadata_1.HostMetadata;\nexports.SkipSelfMetadata = metadata_1.SkipSelfMetadata;\nexports.DependencyMetadata = metadata_1.DependencyMetadata;\n__export(require('./di/decorators'));\nvar forward_ref_1 = require('./di/forward_ref');\nexports.forwardRef = forward_ref_1.forwardRef;\nexports.resolveForwardRef = forward_ref_1.resolveForwardRef;\nvar injector_1 = require('./di/injector');\nexports.Injector = injector_1.Injector;\nvar reflective_injector_1 = require('./di/reflective_injector');\nexports.ReflectiveInjector = reflective_injector_1.ReflectiveInjector;\nvar provider_1 = require('./di/provider');\nexports.Binding = provider_1.Binding;\nexports.ProviderBuilder = provider_1.ProviderBuilder;\nexports.bind = provider_1.bind;\nexports.Provider = provider_1.Provider;\nexports.provide = provider_1.provide;\nvar reflective_provider_1 = require('./di/reflective_provider');\nexports.ResolvedReflectiveFactory = reflective_provider_1.ResolvedReflectiveFactory;\nexports.ReflectiveDependency = reflective_provider_1.ReflectiveDependency;\nvar reflective_key_1 = require('./di/reflective_key');\nexports.ReflectiveKey = reflective_key_1.ReflectiveKey;\nvar reflective_exceptions_1 = require('./di/reflective_exceptions');\nexports.NoProviderError = reflective_exceptions_1.NoProviderError;\nexports.AbstractProviderError = reflective_exceptions_1.AbstractProviderError;\nexports.CyclicDependencyError = reflective_exceptions_1.CyclicDependencyError;\nexports.InstantiationError = reflective_exceptions_1.InstantiationError;\nexports.InvalidProviderError = reflective_exceptions_1.InvalidProviderError;\nexports.NoAnnotationError = reflective_exceptions_1.NoAnnotationError;\nexports.OutOfBoundsError = reflective_exceptions_1.OutOfBoundsError;\nvar opaque_token_1 = require('./di/opaque_token');\nexports.OpaqueToken = opaque_token_1.OpaqueToken;\n","/* */ \n\"use strict\";\nvar di_1 = require('./di');\nvar lang_1 = require('./facade/lang');\nexports.APP_ID = new di_1.OpaqueToken('AppId');\nfunction _appIdRandomProviderFactory() {\n return \"\" + _randomChar() + _randomChar() + _randomChar();\n}\nexports.APP_ID_RANDOM_PROVIDER = {\n provide: exports.APP_ID,\n useFactory: _appIdRandomProviderFactory,\n deps: []\n};\nfunction _randomChar() {\n return lang_1.StringWrapper.fromCharCode(97 + lang_1.Math.floor(lang_1.Math.random() * 25));\n}\nexports.PLATFORM_INITIALIZER = new di_1.OpaqueToken(\"Platform Initializer\");\nexports.APP_INITIALIZER = new di_1.OpaqueToken(\"Application Initializer\");\nexports.PACKAGE_ROOT_URL = new di_1.OpaqueToken(\"Application Packages Root URL\");\n","/* */ \n\"use strict\";\nvar security_1 = require('../security');\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar exceptions_1 = require('../facade/exceptions');\nvar element_1 = require('./element');\nvar exceptions_2 = require('./exceptions');\nvar change_detection_1 = require('../change_detection/change_detection');\nvar api_1 = require('../render/api');\nvar application_tokens_1 = require('../application_tokens');\nvar decorators_1 = require('../di/decorators');\nvar change_detection_util_1 = require('../change_detection/change_detection_util');\nvar ViewUtils = (function() {\n function ViewUtils(_renderer, _appId, sanitizer) {\n this._renderer = _renderer;\n this._appId = _appId;\n this._nextCompTypeId = 0;\n this.sanitizer = sanitizer;\n }\n ViewUtils.prototype.createRenderComponentType = function(templateUrl, slotCount, encapsulation, styles) {\n return new api_1.RenderComponentType(this._appId + \"-\" + this._nextCompTypeId++, templateUrl, slotCount, encapsulation, styles);\n };\n ViewUtils.prototype.renderComponent = function(renderComponentType) {\n return this._renderer.renderComponent(renderComponentType);\n };\n ViewUtils.decorators = [{type: decorators_1.Injectable}];\n ViewUtils.ctorParameters = [{type: api_1.RootRenderer}, {\n type: undefined,\n decorators: [{\n type: decorators_1.Inject,\n args: [application_tokens_1.APP_ID]\n }]\n }, {type: security_1.SanitizationService}];\n return ViewUtils;\n}());\nexports.ViewUtils = ViewUtils;\nfunction flattenNestedViewRenderNodes(nodes) {\n return _flattenNestedViewRenderNodes(nodes, []);\n}\nexports.flattenNestedViewRenderNodes = flattenNestedViewRenderNodes;\nfunction _flattenNestedViewRenderNodes(nodes, renderNodes) {\n for (var i = 0; i < nodes.length; i++) {\n var node = nodes[i];\n if (node instanceof element_1.AppElement) {\n var appEl = node;\n renderNodes.push(appEl.nativeElement);\n if (lang_1.isPresent(appEl.nestedViews)) {\n for (var k = 0; k < appEl.nestedViews.length; k++) {\n _flattenNestedViewRenderNodes(appEl.nestedViews[k].rootNodesOrAppElements, renderNodes);\n }\n }\n } else {\n renderNodes.push(node);\n }\n }\n return renderNodes;\n}\nvar EMPTY_ARR = [];\nfunction ensureSlotCount(projectableNodes, expectedSlotCount) {\n var res;\n if (lang_1.isBlank(projectableNodes)) {\n res = EMPTY_ARR;\n } else if (projectableNodes.length < expectedSlotCount) {\n var givenSlotCount = projectableNodes.length;\n res = collection_1.ListWrapper.createFixedSize(expectedSlotCount);\n for (var i = 0; i < expectedSlotCount; i++) {\n res[i] = (i < givenSlotCount) ? projectableNodes[i] : EMPTY_ARR;\n }\n } else {\n res = projectableNodes;\n }\n return res;\n}\nexports.ensureSlotCount = ensureSlotCount;\nexports.MAX_INTERPOLATION_VALUES = 9;\nfunction interpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\n switch (valueCount) {\n case 1:\n return c0 + _toStringWithNull(a1) + c1;\n case 2:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\n case 3:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3;\n case 4:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4;\n case 5:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\n case 6:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6;\n case 7:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7;\n case 8:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\n case 9:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) + c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9;\n default:\n throw new exceptions_1.BaseException(\"Does not support more than 9 expressions\");\n }\n}\nexports.interpolate = interpolate;\nfunction _toStringWithNull(v) {\n return v != null ? v.toString() : '';\n}\nfunction checkBinding(throwOnChange, oldValue, newValue) {\n if (throwOnChange) {\n if (!change_detection_1.devModeEqual(oldValue, newValue)) {\n throw new exceptions_2.ExpressionChangedAfterItHasBeenCheckedException(oldValue, newValue, null);\n }\n return false;\n } else {\n return !lang_1.looseIdentical(oldValue, newValue);\n }\n}\nexports.checkBinding = checkBinding;\nfunction arrayLooseIdentical(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (!lang_1.looseIdentical(a[i], b[i]))\n return false;\n }\n return true;\n}\nexports.arrayLooseIdentical = arrayLooseIdentical;\nfunction mapLooseIdentical(m1, m2) {\n var k1 = collection_1.StringMapWrapper.keys(m1);\n var k2 = collection_1.StringMapWrapper.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (!lang_1.looseIdentical(m1[key], m2[key])) {\n return false;\n }\n }\n return true;\n}\nexports.mapLooseIdentical = mapLooseIdentical;\nfunction castByValue(input, value) {\n return input;\n}\nexports.castByValue = castByValue;\nexports.EMPTY_ARRAY = [];\nexports.EMPTY_MAP = {};\nfunction pureProxy1(fn) {\n var result;\n var v0;\n v0 = change_detection_util_1.uninitialized;\n return function(p0) {\n if (!lang_1.looseIdentical(v0, p0)) {\n v0 = p0;\n result = fn(p0);\n }\n return result;\n };\n}\nexports.pureProxy1 = pureProxy1;\nfunction pureProxy2(fn) {\n var result;\n var v0,\n v1;\n v0 = v1 = change_detection_util_1.uninitialized;\n return function(p0, p1) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1)) {\n v0 = p0;\n v1 = p1;\n result = fn(p0, p1);\n }\n return result;\n };\n}\nexports.pureProxy2 = pureProxy2;\nfunction pureProxy3(fn) {\n var result;\n var v0,\n v1,\n v2;\n v0 = v1 = v2 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n result = fn(p0, p1, p2);\n }\n return result;\n };\n}\nexports.pureProxy3 = pureProxy3;\nfunction pureProxy4(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3;\n v0 = v1 = v2 = v3 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n result = fn(p0, p1, p2, p3);\n }\n return result;\n };\n}\nexports.pureProxy4 = pureProxy4;\nfunction pureProxy5(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4;\n v0 = v1 = v2 = v3 = v4 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n result = fn(p0, p1, p2, p3, p4);\n }\n return result;\n };\n}\nexports.pureProxy5 = pureProxy5;\nfunction pureProxy6(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4,\n v5;\n v0 = v1 = v2 = v3 = v4 = v5 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4, p5) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n result = fn(p0, p1, p2, p3, p4, p5);\n }\n return result;\n };\n}\nexports.pureProxy6 = pureProxy6;\nfunction pureProxy7(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4,\n v5,\n v6;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4, p5, p6) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) || !lang_1.looseIdentical(v6, p6)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n result = fn(p0, p1, p2, p3, p4, p5, p6);\n }\n return result;\n };\n}\nexports.pureProxy7 = pureProxy7;\nfunction pureProxy8(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4,\n v5,\n v6,\n v7;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4, p5, p6, p7) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) || !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7);\n }\n return result;\n };\n}\nexports.pureProxy8 = pureProxy8;\nfunction pureProxy9(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4,\n v5,\n v6,\n v7,\n v8;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4, p5, p6, p7, p8) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) || !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7) || !lang_1.looseIdentical(v8, p8)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n v8 = p8;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8);\n }\n return result;\n };\n}\nexports.pureProxy9 = pureProxy9;\nfunction pureProxy10(fn) {\n var result;\n var v0,\n v1,\n v2,\n v3,\n v4,\n v5,\n v6,\n v7,\n v8,\n v9;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = v9 = change_detection_util_1.uninitialized;\n return function(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) {\n if (!lang_1.looseIdentical(v0, p0) || !lang_1.looseIdentical(v1, p1) || !lang_1.looseIdentical(v2, p2) || !lang_1.looseIdentical(v3, p3) || !lang_1.looseIdentical(v4, p4) || !lang_1.looseIdentical(v5, p5) || !lang_1.looseIdentical(v6, p6) || !lang_1.looseIdentical(v7, p7) || !lang_1.looseIdentical(v8, p8) || !lang_1.looseIdentical(v9, p9)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n v8 = p8;\n v9 = p9;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);\n }\n return result;\n };\n}\nexports.pureProxy10 = pureProxy10;\n","// shim for using process in browser\n\nvar process = module.exports = {};\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = setTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n clearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n setTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","module.exports = require(\"npm:process@0.11.2/browser.js\");","module.exports = System._nodeRequire ? process : require('process');","module.exports = require(\"github:jspm/nodelibs-process@0.1.2/index\");","/* */ \n(function(process) {\n \"use strict\";\n (function(ViewEncapsulation) {\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n })(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));\n var ViewEncapsulation = exports.ViewEncapsulation;\n exports.VIEW_ENCAPSULATION_VALUES = [ViewEncapsulation.Emulated, ViewEncapsulation.Native, ViewEncapsulation.None];\n var ViewMetadata = (function() {\n function ViewMetadata(_a) {\n var _b = _a === void 0 ? {} : _a,\n templateUrl = _b.templateUrl,\n template = _b.template,\n directives = _b.directives,\n pipes = _b.pipes,\n encapsulation = _b.encapsulation,\n styles = _b.styles,\n styleUrls = _b.styleUrls;\n this.templateUrl = templateUrl;\n this.template = template;\n this.styleUrls = styleUrls;\n this.styles = styles;\n this.directives = directives;\n this.pipes = pipes;\n this.encapsulation = encapsulation;\n }\n return ViewMetadata;\n }());\n exports.ViewMetadata = ViewMetadata;\n})(require('process'));\n","/* */ \n\"use strict\";\n(function (ViewType) {\n // A view that contains the host element with bound component directive.\n // Contains a COMPONENT view\n ViewType[ViewType[\"HOST\"] = 0] = \"HOST\";\n // The view of the component\n // Can contain 0 to n EMBEDDED views\n ViewType[ViewType[\"COMPONENT\"] = 1] = \"COMPONENT\";\n // A view that is embedded into another View via a <template> element\n // inside of a COMPONENT view\n ViewType[ViewType[\"EMBEDDED\"] = 2] = \"EMBEDDED\";\n})(exports.ViewType || (exports.ViewType = {}));\nvar ViewType = exports.ViewType;\n//# sourceMappingURL=view_type.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar view_type_1 = require('./view_type');\nvar StaticNodeDebugInfo = (function() {\n function StaticNodeDebugInfo(providerTokens, componentToken, refTokens) {\n this.providerTokens = providerTokens;\n this.componentToken = componentToken;\n this.refTokens = refTokens;\n }\n return StaticNodeDebugInfo;\n}());\nexports.StaticNodeDebugInfo = StaticNodeDebugInfo;\nvar DebugContext = (function() {\n function DebugContext(_view, _nodeIndex, _tplRow, _tplCol) {\n this._view = _view;\n this._nodeIndex = _nodeIndex;\n this._tplRow = _tplRow;\n this._tplCol = _tplCol;\n }\n Object.defineProperty(DebugContext.prototype, \"_staticNodeInfo\", {\n get: function() {\n return lang_1.isPresent(this._nodeIndex) ? this._view.staticNodeDebugInfos[this._nodeIndex] : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"context\", {\n get: function() {\n return this._view.context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"component\", {\n get: function() {\n var staticNodeInfo = this._staticNodeInfo;\n if (lang_1.isPresent(staticNodeInfo) && lang_1.isPresent(staticNodeInfo.componentToken)) {\n return this.injector.get(staticNodeInfo.componentToken);\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"componentRenderElement\", {\n get: function() {\n var componentView = this._view;\n while (lang_1.isPresent(componentView.declarationAppElement) && componentView.type !== view_type_1.ViewType.COMPONENT) {\n componentView = componentView.declarationAppElement.parentView;\n }\n return lang_1.isPresent(componentView.declarationAppElement) ? componentView.declarationAppElement.nativeElement : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"injector\", {\n get: function() {\n return this._view.injector(this._nodeIndex);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"renderNode\", {\n get: function() {\n if (lang_1.isPresent(this._nodeIndex) && lang_1.isPresent(this._view.allNodes)) {\n return this._view.allNodes[this._nodeIndex];\n } else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"providerTokens\", {\n get: function() {\n var staticNodeInfo = this._staticNodeInfo;\n return lang_1.isPresent(staticNodeInfo) ? staticNodeInfo.providerTokens : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"source\", {\n get: function() {\n return this._view.componentType.templateUrl + \":\" + this._tplRow + \":\" + this._tplCol;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"references\", {\n get: function() {\n var _this = this;\n var varValues = {};\n var staticNodeInfo = this._staticNodeInfo;\n if (lang_1.isPresent(staticNodeInfo)) {\n var refs = staticNodeInfo.refTokens;\n collection_1.StringMapWrapper.forEach(refs, function(refToken, refName) {\n var varValue;\n if (lang_1.isBlank(refToken)) {\n varValue = lang_1.isPresent(_this._view.allNodes) ? _this._view.allNodes[_this._nodeIndex] : null;\n } else {\n varValue = _this._view.injectorGet(refToken, _this._nodeIndex, null);\n }\n varValues[refName] = varValue;\n });\n }\n return varValues;\n },\n enumerable: true,\n configurable: true\n });\n return DebugContext;\n}());\nexports.DebugContext = DebugContext;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar lang_2 = require('../facade/lang');\nexports.looseIdentical = lang_2.looseIdentical;\nexports.uninitialized = new Object();\nfunction devModeEqual(a, b) {\n if (collection_1.isListLikeIterable(a) && collection_1.isListLikeIterable(b)) {\n return collection_1.areIterablesEqual(a, b, devModeEqual);\n } else if (!collection_1.isListLikeIterable(a) && !lang_1.isPrimitive(a) && !collection_1.isListLikeIterable(b) && !lang_1.isPrimitive(b)) {\n return true;\n } else {\n return lang_1.looseIdentical(a, b);\n }\n}\nexports.devModeEqual = devModeEqual;\nvar WrappedValue = (function() {\n function WrappedValue(wrapped) {\n this.wrapped = wrapped;\n }\n WrappedValue.wrap = function(value) {\n return new WrappedValue(value);\n };\n return WrappedValue;\n}());\nexports.WrappedValue = WrappedValue;\nvar ValueUnwrapper = (function() {\n function ValueUnwrapper() {\n this.hasWrappedValue = false;\n }\n ValueUnwrapper.prototype.unwrap = function(value) {\n if (value instanceof WrappedValue) {\n this.hasWrappedValue = true;\n return value.wrapped;\n }\n return value;\n };\n ValueUnwrapper.prototype.reset = function() {\n this.hasWrappedValue = false;\n };\n return ValueUnwrapper;\n}());\nexports.ValueUnwrapper = ValueUnwrapper;\nvar SimpleChange = (function() {\n function SimpleChange(previousValue, currentValue) {\n this.previousValue = previousValue;\n this.currentValue = currentValue;\n }\n SimpleChange.prototype.isFirstChange = function() {\n return this.previousValue === exports.uninitialized;\n };\n return SimpleChange;\n}());\nexports.SimpleChange = SimpleChange;\n","/* */ \n\"use strict\";\nvar exceptions_1 = require('../facade/exceptions');\nvar RenderComponentType = (function() {\n function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles) {\n this.id = id;\n this.templateUrl = templateUrl;\n this.slotCount = slotCount;\n this.encapsulation = encapsulation;\n this.styles = styles;\n }\n return RenderComponentType;\n}());\nexports.RenderComponentType = RenderComponentType;\nvar RenderDebugInfo = (function() {\n function RenderDebugInfo() {}\n Object.defineProperty(RenderDebugInfo.prototype, \"injector\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"component\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"providerTokens\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"references\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"context\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"source\", {\n get: function() {\n return exceptions_1.unimplemented();\n },\n enumerable: true,\n configurable: true\n });\n return RenderDebugInfo;\n}());\nexports.RenderDebugInfo = RenderDebugInfo;\nvar Renderer = (function() {\n function Renderer() {}\n return Renderer;\n}());\nexports.Renderer = Renderer;\nvar RootRenderer = (function() {\n function RootRenderer() {}\n return RootRenderer;\n}());\nexports.RootRenderer = RootRenderer;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar EMPTY_CONTEXT = new Object();\nvar TemplateRef = (function() {\n function TemplateRef() {}\n Object.defineProperty(TemplateRef.prototype, \"elementRef\", {\n get: function() {\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return TemplateRef;\n}());\nexports.TemplateRef = TemplateRef;\nvar TemplateRef_ = (function(_super) {\n __extends(TemplateRef_, _super);\n function TemplateRef_(_appElement, _viewFactory) {\n _super.call(this);\n this._appElement = _appElement;\n this._viewFactory = _viewFactory;\n }\n TemplateRef_.prototype.createEmbeddedView = function(context) {\n var view = this._viewFactory(this._appElement.parentView.viewUtils, this._appElement.parentInjector, this._appElement);\n if (lang_1.isBlank(context)) {\n context = EMPTY_CONTEXT;\n }\n view.create(context, null, null);\n return view.ref;\n };\n Object.defineProperty(TemplateRef_.prototype, \"elementRef\", {\n get: function() {\n return this._appElement.elementRef;\n },\n enumerable: true,\n configurable: true\n });\n return TemplateRef_;\n}(TemplateRef));\nexports.TemplateRef_ = TemplateRef_;\n","/* */ \n\"use strict\";\n/**\n* This is here because DART requires it. It is noop in JS.\n*/\nfunction wtfInit() { }\nexports.wtfInit = wtfInit;\n//# sourceMappingURL=wtf_init.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar ReflectionCapabilities = (function() {\n function ReflectionCapabilities(reflect) {\n this._reflect = lang_1.isPresent(reflect) ? reflect : lang_1.global.Reflect;\n }\n ReflectionCapabilities.prototype.isReflectionEnabled = function() {\n return true;\n };\n ReflectionCapabilities.prototype.factory = function(t) {\n switch (t.length) {\n case 0:\n return function() {\n return new t();\n };\n case 1:\n return function(a1) {\n return new t(a1);\n };\n case 2:\n return function(a1, a2) {\n return new t(a1, a2);\n };\n case 3:\n return function(a1, a2, a3) {\n return new t(a1, a2, a3);\n };\n case 4:\n return function(a1, a2, a3, a4) {\n return new t(a1, a2, a3, a4);\n };\n case 5:\n return function(a1, a2, a3, a4, a5) {\n return new t(a1, a2, a3, a4, a5);\n };\n case 6:\n return function(a1, a2, a3, a4, a5, a6) {\n return new t(a1, a2, a3, a4, a5, a6);\n };\n case 7:\n return function(a1, a2, a3, a4, a5, a6, a7) {\n return new t(a1, a2, a3, a4, a5, a6, a7);\n };\n case 8:\n return function(a1, a2, a3, a4, a5, a6, a7, a8) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8);\n };\n case 9:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9);\n };\n case 10:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10);\n };\n case 11:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11);\n };\n case 12:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12);\n };\n case 13:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13);\n };\n case 14:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14);\n };\n case 15:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15);\n };\n case 16:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16);\n };\n case 17:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17);\n };\n case 18:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18);\n };\n case 19:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19);\n };\n case 20:\n return function(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20) {\n return new t(a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14, a15, a16, a17, a18, a19, a20);\n };\n }\n ;\n throw new Error(\"Cannot create a factory for '\" + lang_1.stringify(t) + \"' because its constructor has more than 20 arguments\");\n };\n ReflectionCapabilities.prototype._zipTypesAndAnnotations = function(paramTypes, paramAnnotations) {\n var result;\n if (typeof paramTypes === 'undefined') {\n result = new Array(paramAnnotations.length);\n } else {\n result = new Array(paramTypes.length);\n }\n for (var i = 0; i < result.length; i++) {\n if (typeof paramTypes === 'undefined') {\n result[i] = [];\n } else if (paramTypes[i] != Object) {\n result[i] = [paramTypes[i]];\n } else {\n result[i] = [];\n }\n if (lang_1.isPresent(paramAnnotations) && lang_1.isPresent(paramAnnotations[i])) {\n result[i] = result[i].concat(paramAnnotations[i]);\n }\n }\n return result;\n };\n ReflectionCapabilities.prototype.parameters = function(typeOrFunc) {\n if (lang_1.isPresent(typeOrFunc.parameters)) {\n return typeOrFunc.parameters;\n }\n if (lang_1.isPresent(typeOrFunc.ctorParameters)) {\n var ctorParameters = typeOrFunc.ctorParameters;\n var paramTypes_1 = ctorParameters.map(function(ctorParam) {\n return ctorParam && ctorParam.type;\n });\n var paramAnnotations_1 = ctorParameters.map(function(ctorParam) {\n return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators);\n });\n return this._zipTypesAndAnnotations(paramTypes_1, paramAnnotations_1);\n }\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\n var paramAnnotations = this._reflect.getMetadata('parameters', typeOrFunc);\n var paramTypes = this._reflect.getMetadata('design:paramtypes', typeOrFunc);\n if (lang_1.isPresent(paramTypes) || lang_1.isPresent(paramAnnotations)) {\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n }\n var parameters = new Array(typeOrFunc.length);\n parameters.fill(undefined);\n return parameters;\n };\n ReflectionCapabilities.prototype.annotations = function(typeOrFunc) {\n if (lang_1.isPresent(typeOrFunc.annotations)) {\n var annotations = typeOrFunc.annotations;\n if (lang_1.isFunction(annotations) && annotations.annotations) {\n annotations = annotations.annotations;\n }\n return annotations;\n }\n if (lang_1.isPresent(typeOrFunc.decorators)) {\n return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n }\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\n var annotations = this._reflect.getMetadata('annotations', typeOrFunc);\n if (lang_1.isPresent(annotations))\n return annotations;\n }\n return [];\n };\n ReflectionCapabilities.prototype.propMetadata = function(typeOrFunc) {\n if (lang_1.isPresent(typeOrFunc.propMetadata)) {\n var propMetadata = typeOrFunc.propMetadata;\n if (lang_1.isFunction(propMetadata) && propMetadata.propMetadata) {\n propMetadata = propMetadata.propMetadata;\n }\n return propMetadata;\n }\n if (lang_1.isPresent(typeOrFunc.propDecorators)) {\n var propDecorators_1 = typeOrFunc.propDecorators;\n var propMetadata_1 = {};\n Object.keys(propDecorators_1).forEach(function(prop) {\n propMetadata_1[prop] = convertTsickleDecoratorIntoMetadata(propDecorators_1[prop]);\n });\n return propMetadata_1;\n }\n if (lang_1.isPresent(this._reflect) && lang_1.isPresent(this._reflect.getMetadata)) {\n var propMetadata = this._reflect.getMetadata('propMetadata', typeOrFunc);\n if (lang_1.isPresent(propMetadata))\n return propMetadata;\n }\n return {};\n };\n ReflectionCapabilities.prototype.interfaces = function(type) {\n throw new exceptions_1.BaseException(\"JavaScript does not support interfaces\");\n };\n ReflectionCapabilities.prototype.getter = function(name) {\n return new Function('o', 'return o.' + name + ';');\n };\n ReflectionCapabilities.prototype.setter = function(name) {\n return new Function('o', 'v', 'return o.' + name + ' = v;');\n };\n ReflectionCapabilities.prototype.method = function(name) {\n var functionBody = \"if (!o.\" + name + \") throw new Error('\\\"\" + name + \"\\\" is undefined');\\n return o.\" + name + \".apply(o, args);\";\n return new Function('o', 'args', functionBody);\n };\n ReflectionCapabilities.prototype.importUri = function(type) {\n return \"./\" + lang_1.stringify(type);\n };\n return ReflectionCapabilities;\n}());\nexports.ReflectionCapabilities = ReflectionCapabilities;\nfunction convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n if (!decoratorInvocations) {\n return [];\n }\n return decoratorInvocations.map(function(decoratorInvocation) {\n var decoratorType = decoratorInvocation.type;\n var annotationCls = decoratorType.annotationCls;\n var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n var annotation = Object.create(annotationCls.prototype);\n annotationCls.apply(annotation, annotationArgs);\n return annotation;\n });\n}\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar collection_1 = require('../facade/collection');\nvar EventListener = (function() {\n function EventListener(name, callback) {\n this.name = name;\n this.callback = callback;\n }\n ;\n return EventListener;\n}());\nexports.EventListener = EventListener;\nvar DebugNode = (function() {\n function DebugNode(nativeNode, parent, _debugInfo) {\n this._debugInfo = _debugInfo;\n this.nativeNode = nativeNode;\n if (lang_1.isPresent(parent) && parent instanceof DebugElement) {\n parent.addChild(this);\n } else {\n this.parent = null;\n }\n this.listeners = [];\n }\n Object.defineProperty(DebugNode.prototype, \"injector\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.injector : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"componentInstance\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.component : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"context\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.context : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"references\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.references : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"providerTokens\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.providerTokens : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"source\", {\n get: function() {\n return lang_1.isPresent(this._debugInfo) ? this._debugInfo.source : null;\n },\n enumerable: true,\n configurable: true\n });\n DebugNode.prototype.inject = function(token) {\n return this.injector.get(token);\n };\n return DebugNode;\n}());\nexports.DebugNode = DebugNode;\nvar DebugElement = (function(_super) {\n __extends(DebugElement, _super);\n function DebugElement(nativeNode, parent, _debugInfo) {\n _super.call(this, nativeNode, parent, _debugInfo);\n this.properties = {};\n this.attributes = {};\n this.childNodes = [];\n this.nativeElement = nativeNode;\n }\n DebugElement.prototype.addChild = function(child) {\n if (lang_1.isPresent(child)) {\n this.childNodes.push(child);\n child.parent = this;\n }\n };\n DebugElement.prototype.removeChild = function(child) {\n var childIndex = this.childNodes.indexOf(child);\n if (childIndex !== -1) {\n child.parent = null;\n this.childNodes.splice(childIndex, 1);\n }\n };\n DebugElement.prototype.insertChildrenAfter = function(child, newChildren) {\n var siblingIndex = this.childNodes.indexOf(child);\n if (siblingIndex !== -1) {\n var previousChildren = this.childNodes.slice(0, siblingIndex + 1);\n var nextChildren = this.childNodes.slice(siblingIndex + 1);\n this.childNodes = collection_1.ListWrapper.concat(collection_1.ListWrapper.concat(previousChildren, newChildren), nextChildren);\n for (var i = 0; i < newChildren.length; ++i) {\n var newChild = newChildren[i];\n if (lang_1.isPresent(newChild.parent)) {\n newChild.parent.removeChild(newChild);\n }\n newChild.parent = this;\n }\n }\n };\n DebugElement.prototype.query = function(predicate) {\n var results = this.queryAll(predicate);\n return results.length > 0 ? results[0] : null;\n };\n DebugElement.prototype.queryAll = function(predicate) {\n var matches = [];\n _queryElementChildren(this, predicate, matches);\n return matches;\n };\n DebugElement.prototype.queryAllNodes = function(predicate) {\n var matches = [];\n _queryNodeChildren(this, predicate, matches);\n return matches;\n };\n Object.defineProperty(DebugElement.prototype, \"children\", {\n get: function() {\n var children = [];\n this.childNodes.forEach(function(node) {\n if (node instanceof DebugElement) {\n children.push(node);\n }\n });\n return children;\n },\n enumerable: true,\n configurable: true\n });\n DebugElement.prototype.triggerEventHandler = function(eventName, eventObj) {\n this.listeners.forEach(function(listener) {\n if (listener.name == eventName) {\n listener.callback(eventObj);\n }\n });\n };\n return DebugElement;\n}(DebugNode));\nexports.DebugElement = DebugElement;\nfunction asNativeElements(debugEls) {\n return debugEls.map(function(el) {\n return el.nativeElement;\n });\n}\nexports.asNativeElements = asNativeElements;\nfunction _queryElementChildren(element, predicate, matches) {\n element.childNodes.forEach(function(node) {\n if (node instanceof DebugElement) {\n if (predicate(node)) {\n matches.push(node);\n }\n _queryElementChildren(node, predicate, matches);\n }\n });\n}\nfunction _queryNodeChildren(parentNode, predicate, matches) {\n if (parentNode instanceof DebugElement) {\n parentNode.childNodes.forEach(function(node) {\n if (predicate(node)) {\n matches.push(node);\n }\n if (node instanceof DebugElement) {\n _queryNodeChildren(node, predicate, matches);\n }\n });\n }\n}\nvar _nativeNodeToDebugNode = new Map();\nfunction getDebugNode(nativeNode) {\n return _nativeNodeToDebugNode.get(nativeNode);\n}\nexports.getDebugNode = getDebugNode;\nfunction getAllDebugNodes() {\n return collection_1.MapWrapper.values(_nativeNodeToDebugNode);\n}\nexports.getAllDebugNodes = getAllDebugNodes;\nfunction indexDebugNode(node) {\n _nativeNodeToDebugNode.set(node.nativeNode, node);\n}\nexports.indexDebugNode = indexDebugNode;\nfunction removeDebugNodeFromIndex(node) {\n _nativeNodeToDebugNode.delete(node.nativeNode);\n}\nexports.removeDebugNodeFromIndex = removeDebugNodeFromIndex;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar debug_node_1 = require('./debug_node');\nvar DebugDomRootRenderer = (function() {\n function DebugDomRootRenderer(_delegate) {\n this._delegate = _delegate;\n }\n DebugDomRootRenderer.prototype.renderComponent = function(componentProto) {\n return new DebugDomRenderer(this._delegate.renderComponent(componentProto));\n };\n return DebugDomRootRenderer;\n}());\nexports.DebugDomRootRenderer = DebugDomRootRenderer;\nvar DebugDomRenderer = (function() {\n function DebugDomRenderer(_delegate) {\n this._delegate = _delegate;\n }\n DebugDomRenderer.prototype.selectRootElement = function(selectorOrNode, debugInfo) {\n var nativeEl = this._delegate.selectRootElement(selectorOrNode, debugInfo);\n var debugEl = new debug_node_1.DebugElement(nativeEl, null, debugInfo);\n debug_node_1.indexDebugNode(debugEl);\n return nativeEl;\n };\n DebugDomRenderer.prototype.createElement = function(parentElement, name, debugInfo) {\n var nativeEl = this._delegate.createElement(parentElement, name, debugInfo);\n var debugEl = new debug_node_1.DebugElement(nativeEl, debug_node_1.getDebugNode(parentElement), debugInfo);\n debugEl.name = name;\n debug_node_1.indexDebugNode(debugEl);\n return nativeEl;\n };\n DebugDomRenderer.prototype.createViewRoot = function(hostElement) {\n return this._delegate.createViewRoot(hostElement);\n };\n DebugDomRenderer.prototype.createTemplateAnchor = function(parentElement, debugInfo) {\n var comment = this._delegate.createTemplateAnchor(parentElement, debugInfo);\n var debugEl = new debug_node_1.DebugNode(comment, debug_node_1.getDebugNode(parentElement), debugInfo);\n debug_node_1.indexDebugNode(debugEl);\n return comment;\n };\n DebugDomRenderer.prototype.createText = function(parentElement, value, debugInfo) {\n var text = this._delegate.createText(parentElement, value, debugInfo);\n var debugEl = new debug_node_1.DebugNode(text, debug_node_1.getDebugNode(parentElement), debugInfo);\n debug_node_1.indexDebugNode(debugEl);\n return text;\n };\n DebugDomRenderer.prototype.projectNodes = function(parentElement, nodes) {\n var debugParent = debug_node_1.getDebugNode(parentElement);\n if (lang_1.isPresent(debugParent) && debugParent instanceof debug_node_1.DebugElement) {\n var debugElement_1 = debugParent;\n nodes.forEach(function(node) {\n debugElement_1.addChild(debug_node_1.getDebugNode(node));\n });\n }\n this._delegate.projectNodes(parentElement, nodes);\n };\n DebugDomRenderer.prototype.attachViewAfter = function(node, viewRootNodes) {\n var debugNode = debug_node_1.getDebugNode(node);\n if (lang_1.isPresent(debugNode)) {\n var debugParent = debugNode.parent;\n if (viewRootNodes.length > 0 && lang_1.isPresent(debugParent)) {\n var debugViewRootNodes = [];\n viewRootNodes.forEach(function(rootNode) {\n return debugViewRootNodes.push(debug_node_1.getDebugNode(rootNode));\n });\n debugParent.insertChildrenAfter(debugNode, debugViewRootNodes);\n }\n }\n this._delegate.attachViewAfter(node, viewRootNodes);\n };\n DebugDomRenderer.prototype.detachView = function(viewRootNodes) {\n viewRootNodes.forEach(function(node) {\n var debugNode = debug_node_1.getDebugNode(node);\n if (lang_1.isPresent(debugNode) && lang_1.isPresent(debugNode.parent)) {\n debugNode.parent.removeChild(debugNode);\n }\n });\n this._delegate.detachView(viewRootNodes);\n };\n DebugDomRenderer.prototype.destroyView = function(hostElement, viewAllNodes) {\n viewAllNodes.forEach(function(node) {\n debug_node_1.removeDebugNodeFromIndex(debug_node_1.getDebugNode(node));\n });\n this._delegate.destroyView(hostElement, viewAllNodes);\n };\n DebugDomRenderer.prototype.listen = function(renderElement, name, callback) {\n var debugEl = debug_node_1.getDebugNode(renderElement);\n if (lang_1.isPresent(debugEl)) {\n debugEl.listeners.push(new debug_node_1.EventListener(name, callback));\n }\n return this._delegate.listen(renderElement, name, callback);\n };\n DebugDomRenderer.prototype.listenGlobal = function(target, name, callback) {\n return this._delegate.listenGlobal(target, name, callback);\n };\n DebugDomRenderer.prototype.setElementProperty = function(renderElement, propertyName, propertyValue) {\n var debugEl = debug_node_1.getDebugNode(renderElement);\n if (lang_1.isPresent(debugEl) && debugEl instanceof debug_node_1.DebugElement) {\n debugEl.properties[propertyName] = propertyValue;\n }\n this._delegate.setElementProperty(renderElement, propertyName, propertyValue);\n };\n DebugDomRenderer.prototype.setElementAttribute = function(renderElement, attributeName, attributeValue) {\n var debugEl = debug_node_1.getDebugNode(renderElement);\n if (lang_1.isPresent(debugEl) && debugEl instanceof debug_node_1.DebugElement) {\n debugEl.attributes[attributeName] = attributeValue;\n }\n this._delegate.setElementAttribute(renderElement, attributeName, attributeValue);\n };\n DebugDomRenderer.prototype.setBindingDebugInfo = function(renderElement, propertyName, propertyValue) {\n this._delegate.setBindingDebugInfo(renderElement, propertyName, propertyValue);\n };\n DebugDomRenderer.prototype.setElementClass = function(renderElement, className, isAdd) {\n this._delegate.setElementClass(renderElement, className, isAdd);\n };\n DebugDomRenderer.prototype.setElementStyle = function(renderElement, styleName, styleValue) {\n this._delegate.setElementStyle(renderElement, styleName, styleValue);\n };\n DebugDomRenderer.prototype.invokeElementMethod = function(renderElement, methodName, args) {\n this._delegate.invokeElementMethod(renderElement, methodName, args);\n };\n DebugDomRenderer.prototype.setText = function(renderNode, text) {\n this._delegate.setText(renderNode, text);\n };\n return DebugDomRenderer;\n}());\nexports.DebugDomRenderer = DebugDomRenderer;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n* A base class for the WrappedException that can be used to identify\n* a WrappedException from ExceptionHandler without adding circular\n* dependency.\n*/\nvar BaseWrappedException = (function (_super) {\n __extends(BaseWrappedException, _super);\n function BaseWrappedException(message) {\n _super.call(this, message);\n }\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperMessage\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"wrapperStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalException\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"originalStack\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"context\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseWrappedException.prototype, \"message\", {\n get: function () { return ''; },\n enumerable: true,\n configurable: true\n });\n return BaseWrappedException;\n}(Error));\nexports.BaseWrappedException = BaseWrappedException;\n//# sourceMappingURL=base_wrapped_exception.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nexports.Map = lang_1.global.Map;\nexports.Set = lang_1.global.Set;\nvar createMapFromPairs = (function() {\n try {\n if (new exports.Map([[1, 2]]).size === 1) {\n return function createMapFromPairs(pairs) {\n return new exports.Map(pairs);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromPairs(pairs) {\n var map = new exports.Map();\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i];\n map.set(pair[0], pair[1]);\n }\n return map;\n };\n})();\nvar createMapFromMap = (function() {\n try {\n if (new exports.Map(new exports.Map())) {\n return function createMapFromMap(m) {\n return new exports.Map(m);\n };\n }\n } catch (e) {}\n return function createMapAndPopulateFromMap(m) {\n var map = new exports.Map();\n m.forEach(function(v, k) {\n map.set(k, v);\n });\n return map;\n };\n})();\nvar _clearValues = (function() {\n if ((new exports.Map()).keys().next) {\n return function _clearValues(m) {\n var keyIterator = m.keys();\n var k;\n while (!((k = keyIterator.next()).done)) {\n m.set(k.value, null);\n }\n };\n } else {\n return function _clearValuesWithForeEach(m) {\n m.forEach(function(v, k) {\n m.set(k, null);\n });\n };\n }\n})();\nvar _arrayFromMap = (function() {\n try {\n if ((new exports.Map()).values().next) {\n return function createArrayFromMap(m, getValues) {\n return getValues ? Array.from(m.values()) : Array.from(m.keys());\n };\n }\n } catch (e) {}\n return function createArrayFromMapWithForeach(m, getValues) {\n var res = ListWrapper.createFixedSize(m.size),\n i = 0;\n m.forEach(function(v, k) {\n res[i] = getValues ? v : k;\n i++;\n });\n return res;\n };\n})();\nvar MapWrapper = (function() {\n function MapWrapper() {}\n MapWrapper.clone = function(m) {\n return createMapFromMap(m);\n };\n MapWrapper.createFromStringMap = function(stringMap) {\n var result = new exports.Map();\n for (var prop in stringMap) {\n result.set(prop, stringMap[prop]);\n }\n return result;\n };\n MapWrapper.toStringMap = function(m) {\n var r = {};\n m.forEach(function(v, k) {\n return r[k] = v;\n });\n return r;\n };\n MapWrapper.createFromPairs = function(pairs) {\n return createMapFromPairs(pairs);\n };\n MapWrapper.clearValues = function(m) {\n _clearValues(m);\n };\n MapWrapper.iterable = function(m) {\n return m;\n };\n MapWrapper.keys = function(m) {\n return _arrayFromMap(m, false);\n };\n MapWrapper.values = function(m) {\n return _arrayFromMap(m, true);\n };\n return MapWrapper;\n}());\nexports.MapWrapper = MapWrapper;\nvar StringMapWrapper = (function() {\n function StringMapWrapper() {}\n StringMapWrapper.create = function() {\n return {};\n };\n StringMapWrapper.contains = function(map, key) {\n return map.hasOwnProperty(key);\n };\n StringMapWrapper.get = function(map, key) {\n return map.hasOwnProperty(key) ? map[key] : undefined;\n };\n StringMapWrapper.set = function(map, key, value) {\n map[key] = value;\n };\n StringMapWrapper.keys = function(map) {\n return Object.keys(map);\n };\n StringMapWrapper.values = function(map) {\n return Object.keys(map).reduce(function(r, a) {\n r.push(map[a]);\n return r;\n }, []);\n };\n StringMapWrapper.isEmpty = function(map) {\n for (var prop in map) {\n return false;\n }\n return true;\n };\n StringMapWrapper.delete = function(map, key) {\n delete map[key];\n };\n StringMapWrapper.forEach = function(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n };\n StringMapWrapper.merge = function(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n };\n StringMapWrapper.equals = function(m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n}());\nexports.StringMapWrapper = StringMapWrapper;\nvar ListWrapper = (function() {\n function ListWrapper() {}\n ListWrapper.createFixedSize = function(size) {\n return new Array(size);\n };\n ListWrapper.createGrowableSize = function(size) {\n return new Array(size);\n };\n ListWrapper.clone = function(array) {\n return array.slice(0);\n };\n ListWrapper.forEachWithIndex = function(array, fn) {\n for (var i = 0; i < array.length; i++) {\n fn(array[i], i);\n }\n };\n ListWrapper.first = function(array) {\n if (!array)\n return null;\n return array[0];\n };\n ListWrapper.last = function(array) {\n if (!array || array.length == 0)\n return null;\n return array[array.length - 1];\n };\n ListWrapper.indexOf = function(array, value, startIndex) {\n if (startIndex === void 0) {\n startIndex = 0;\n }\n return array.indexOf(value, startIndex);\n };\n ListWrapper.contains = function(list, el) {\n return list.indexOf(el) !== -1;\n };\n ListWrapper.reversed = function(array) {\n var a = ListWrapper.clone(array);\n return a.reverse();\n };\n ListWrapper.concat = function(a, b) {\n return a.concat(b);\n };\n ListWrapper.insert = function(list, index, value) {\n list.splice(index, 0, value);\n };\n ListWrapper.removeAt = function(list, index) {\n var res = list[index];\n list.splice(index, 1);\n return res;\n };\n ListWrapper.removeAll = function(list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n list.splice(index, 1);\n }\n };\n ListWrapper.remove = function(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.clear = function(list) {\n list.length = 0;\n };\n ListWrapper.isEmpty = function(list) {\n return list.length == 0;\n };\n ListWrapper.fill = function(list, value, start, end) {\n if (start === void 0) {\n start = 0;\n }\n if (end === void 0) {\n end = null;\n }\n list.fill(value, start, end === null ? list.length : end);\n };\n ListWrapper.equals = function(a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.slice = function(l, from, to) {\n if (from === void 0) {\n from = 0;\n }\n if (to === void 0) {\n to = null;\n }\n return l.slice(from, to === null ? undefined : to);\n };\n ListWrapper.splice = function(l, from, length) {\n return l.splice(from, length);\n };\n ListWrapper.sort = function(l, compareFn) {\n if (lang_1.isPresent(compareFn)) {\n l.sort(compareFn);\n } else {\n l.sort();\n }\n };\n ListWrapper.toString = function(l) {\n return l.toString();\n };\n ListWrapper.toJSON = function(l) {\n return JSON.stringify(l);\n };\n ListWrapper.maximum = function(list, predicate) {\n if (list.length == 0) {\n return null;\n }\n var solution = null;\n var maxValue = -Infinity;\n for (var index = 0; index < list.length; index++) {\n var candidate = list[index];\n if (lang_1.isBlank(candidate)) {\n continue;\n }\n var candidateValue = predicate(candidate);\n if (candidateValue > maxValue) {\n solution = candidate;\n maxValue = candidateValue;\n }\n }\n return solution;\n };\n ListWrapper.flatten = function(list) {\n var target = [];\n _flattenArray(list, target);\n return target;\n };\n ListWrapper.addAll = function(list, source) {\n for (var i = 0; i < source.length; i++) {\n list.push(source[i]);\n }\n };\n return ListWrapper;\n}());\nexports.ListWrapper = ListWrapper;\nfunction _flattenArray(source, target) {\n if (lang_1.isPresent(source)) {\n for (var i = 0; i < source.length; i++) {\n var item = source[i];\n if (lang_1.isArray(item)) {\n _flattenArray(item, target);\n } else {\n target.push(item);\n }\n }\n }\n return target;\n}\nfunction isListLikeIterable(obj) {\n if (!lang_1.isJsObject(obj))\n return false;\n return lang_1.isArray(obj) || (!(obj instanceof exports.Map) && lang_1.getSymbolIterator() in obj);\n}\nexports.isListLikeIterable = isListLikeIterable;\nfunction areIterablesEqual(a, b, comparator) {\n var iterator1 = a[lang_1.getSymbolIterator()]();\n var iterator2 = b[lang_1.getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n}\nexports.areIterablesEqual = areIterablesEqual;\nfunction iterateListLike(obj, fn) {\n if (lang_1.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n } else {\n var iterator = obj[lang_1.getSymbolIterator()]();\n var item;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n}\nexports.iterateListLike = iterateListLike;\nvar createSetFromList = (function() {\n var test = new exports.Set([1, 2, 3]);\n if (test.size === 3) {\n return function createSetFromList(lst) {\n return new exports.Set(lst);\n };\n } else {\n return function createSetAndPopulateFromList(lst) {\n var res = new exports.Set(lst);\n if (res.size !== lst.length) {\n for (var i = 0; i < lst.length; i++) {\n res.add(lst[i]);\n }\n }\n return res;\n };\n }\n})();\nvar SetWrapper = (function() {\n function SetWrapper() {}\n SetWrapper.createFromList = function(lst) {\n return createSetFromList(lst);\n };\n SetWrapper.has = function(s, key) {\n return s.has(key);\n };\n SetWrapper.delete = function(m, k) {\n m.delete(k);\n };\n return SetWrapper;\n}());\nexports.SetWrapper = SetWrapper;\n","/* */ \n\"use strict\";\nvar lang_1 = require('./lang');\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar collection_1 = require('./collection');\nvar _ArrayLogger = (function() {\n function _ArrayLogger() {\n this.res = [];\n }\n _ArrayLogger.prototype.log = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logError = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroup = function(s) {\n this.res.push(s);\n };\n _ArrayLogger.prototype.logGroupEnd = function() {};\n ;\n return _ArrayLogger;\n}());\nvar ExceptionHandler = (function() {\n function ExceptionHandler(_logger, _rethrowException) {\n if (_rethrowException === void 0) {\n _rethrowException = true;\n }\n this._logger = _logger;\n this._rethrowException = _rethrowException;\n }\n ExceptionHandler.exceptionToString = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var l = new _ArrayLogger();\n var e = new ExceptionHandler(l, false);\n e.call(exception, stackTrace, reason);\n return l.res.join(\"\\n\");\n };\n ExceptionHandler.prototype.call = function(exception, stackTrace, reason) {\n if (stackTrace === void 0) {\n stackTrace = null;\n }\n if (reason === void 0) {\n reason = null;\n }\n var originalException = this._findOriginalException(exception);\n var originalStack = this._findOriginalStack(exception);\n var context = this._findContext(exception);\n this._logger.logGroup(\"EXCEPTION: \" + this._extractMessage(exception));\n if (lang_1.isPresent(stackTrace) && lang_1.isBlank(originalStack)) {\n this._logger.logError(\"STACKTRACE:\");\n this._logger.logError(this._longStackTrace(stackTrace));\n }\n if (lang_1.isPresent(reason)) {\n this._logger.logError(\"REASON: \" + reason);\n }\n if (lang_1.isPresent(originalException)) {\n this._logger.logError(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalException));\n }\n if (lang_1.isPresent(originalStack)) {\n this._logger.logError(\"ORIGINAL STACKTRACE:\");\n this._logger.logError(this._longStackTrace(originalStack));\n }\n if (lang_1.isPresent(context)) {\n this._logger.logError(\"ERROR CONTEXT:\");\n this._logger.logError(context);\n }\n this._logger.logGroupEnd();\n if (this._rethrowException)\n throw exception;\n };\n ExceptionHandler.prototype._extractMessage = function(exception) {\n return exception instanceof base_wrapped_exception_1.BaseWrappedException ? exception.wrapperMessage : exception.toString();\n };\n ExceptionHandler.prototype._longStackTrace = function(stackTrace) {\n return collection_1.isListLikeIterable(stackTrace) ? stackTrace.join(\"\\n\\n-----async gap-----\\n\") : stackTrace.toString();\n };\n ExceptionHandler.prototype._findContext = function(exception) {\n try {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n return lang_1.isPresent(exception.context) ? exception.context : this._findContext(exception.originalException);\n } catch (e) {\n return null;\n }\n };\n ExceptionHandler.prototype._findOriginalException = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception.originalException;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n }\n return e;\n };\n ExceptionHandler.prototype._findOriginalStack = function(exception) {\n if (!(exception instanceof base_wrapped_exception_1.BaseWrappedException))\n return null;\n var e = exception;\n var stack = exception.originalStack;\n while (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n e = e.originalException;\n if (e instanceof base_wrapped_exception_1.BaseWrappedException && lang_1.isPresent(e.originalException)) {\n stack = e.originalStack;\n }\n }\n return stack;\n };\n return ExceptionHandler;\n}());\nexports.ExceptionHandler = ExceptionHandler;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar base_wrapped_exception_1 = require('./base_wrapped_exception');\nvar exception_handler_1 = require('./exception_handler');\nvar exception_handler_2 = require('./exception_handler');\nexports.ExceptionHandler = exception_handler_2.ExceptionHandler;\nvar BaseException = (function(_super) {\n __extends(BaseException, _super);\n function BaseException(message) {\n if (message === void 0) {\n message = \"--\";\n }\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n BaseException.prototype.toString = function() {\n return this.message;\n };\n return BaseException;\n}(Error));\nexports.BaseException = BaseException;\nvar WrappedException = (function(_super) {\n __extends(WrappedException, _super);\n function WrappedException(_wrapperMessage, _originalException, _originalStack, _context) {\n _super.call(this, _wrapperMessage);\n this._wrapperMessage = _wrapperMessage;\n this._originalException = _originalException;\n this._originalStack = _originalStack;\n this._context = _context;\n this._wrapperStack = (new Error(_wrapperMessage)).stack;\n }\n Object.defineProperty(WrappedException.prototype, \"wrapperMessage\", {\n get: function() {\n return this._wrapperMessage;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"wrapperStack\", {\n get: function() {\n return this._wrapperStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalException\", {\n get: function() {\n return this._originalException;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"originalStack\", {\n get: function() {\n return this._originalStack;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"context\", {\n get: function() {\n return this._context;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(WrappedException.prototype, \"message\", {\n get: function() {\n return exception_handler_1.ExceptionHandler.exceptionToString(this);\n },\n enumerable: true,\n configurable: true\n });\n WrappedException.prototype.toString = function() {\n return this.message;\n };\n return WrappedException;\n}(base_wrapped_exception_1.BaseWrappedException));\nexports.WrappedException = WrappedException;\nfunction makeTypeError(message) {\n return new TypeError(message);\n}\nexports.makeTypeError = makeTypeError;\nfunction unimplemented() {\n throw new BaseException('unimplemented');\n}\nexports.unimplemented = unimplemented;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function(d, b) {\n for (var p in b)\n if (b.hasOwnProperty(p))\n d[p] = b[p];\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar lang_1 = require('../facade/lang');\nvar exceptions_1 = require('../facade/exceptions');\nvar Provider = (function() {\n function Provider(token, _a) {\n var useClass = _a.useClass,\n useValue = _a.useValue,\n useExisting = _a.useExisting,\n useFactory = _a.useFactory,\n deps = _a.deps,\n multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.dependencies = deps;\n this._multi = multi;\n }\n Object.defineProperty(Provider.prototype, \"multi\", {\n get: function() {\n return lang_1.normalizeBool(this._multi);\n },\n enumerable: true,\n configurable: true\n });\n return Provider;\n}());\nexports.Provider = Provider;\nvar Binding = (function(_super) {\n __extends(Binding, _super);\n function Binding(token, _a) {\n var toClass = _a.toClass,\n toValue = _a.toValue,\n toAlias = _a.toAlias,\n toFactory = _a.toFactory,\n deps = _a.deps,\n multi = _a.multi;\n _super.call(this, token, {\n useClass: toClass,\n useValue: toValue,\n useExisting: toAlias,\n useFactory: toFactory,\n deps: deps,\n multi: multi\n });\n }\n Object.defineProperty(Binding.prototype, \"toClass\", {\n get: function() {\n return this.useClass;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Binding.prototype, \"toAlias\", {\n get: function() {\n return this.useExisting;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Binding.prototype, \"toFactory\", {\n get: function() {\n return this.useFactory;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Binding.prototype, \"toValue\", {\n get: function() {\n return this.useValue;\n },\n enumerable: true,\n configurable: true\n });\n return Binding;\n}(Provider));\nexports.Binding = Binding;\nfunction bind(token) {\n return new ProviderBuilder(token);\n}\nexports.bind = bind;\nvar ProviderBuilder = (function() {\n function ProviderBuilder(token) {\n this.token = token;\n }\n ProviderBuilder.prototype.toClass = function(type) {\n if (!lang_1.isType(type)) {\n throw new exceptions_1.BaseException(\"Trying to create a class provider but \\\"\" + lang_1.stringify(type) + \"\\\" is not a class!\");\n }\n return new Provider(this.token, {useClass: type});\n };\n ProviderBuilder.prototype.toValue = function(value) {\n return new Provider(this.token, {useValue: value});\n };\n ProviderBuilder.prototype.toAlias = function(aliasToken) {\n if (lang_1.isBlank(aliasToken)) {\n throw new exceptions_1.BaseException(\"Can not alias \" + lang_1.stringify(this.token) + \" to a blank value!\");\n }\n return new Provider(this.token, {useExisting: aliasToken});\n };\n ProviderBuilder.prototype.toFactory = function(factory, dependencies) {\n if (!lang_1.isFunction(factory)) {\n throw new exceptions_1.BaseException(\"Trying to create a factory provider but \\\"\" + lang_1.stringify(factory) + \"\\\" is not a function!\");\n }\n return new Provider(this.token, {\n useFactory: factory,\n deps: dependencies\n });\n };\n return ProviderBuilder;\n}());\nexports.ProviderBuilder = ProviderBuilder;\nfunction provide(token, _a) {\n var useClass = _a.useClass,\n useValue = _a.useValue,\n useExisting = _a.useExisting,\n useFactory = _a.useFactory,\n deps = _a.deps,\n multi = _a.multi;\n return new Provider(token, {\n useClass: useClass,\n useValue: useValue,\n useExisting: useExisting,\n useFactory: useFactory,\n deps: deps,\n multi: multi\n });\n}\nexports.provide = provide;\n","/* */ \n\"use strict\";\nvar provider_1 = require('./provider');\nfunction isProviderLiteral(obj) {\n return obj && typeof obj == 'object' && obj.provide;\n}\nexports.isProviderLiteral = isProviderLiteral;\nfunction createProvider(obj) {\n return new provider_1.Provider(obj.provide, obj);\n}\nexports.createProvider = createProvider;\n","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar InjectMetadata = (function() {\n function InjectMetadata(token) {\n this.token = token;\n }\n InjectMetadata.prototype.toString = function() {\n return \"@Inject(\" + lang_1.stringify(this.token) + \")\";\n };\n return InjectMetadata;\n}());\nexports.InjectMetadata = InjectMetadata;\nvar OptionalMetadata = (function() {\n function OptionalMetadata() {}\n OptionalMetadata.prototype.toString = function() {\n return \"@Optional()\";\n };\n return OptionalMetadata;\n}());\nexports.OptionalMetadata = OptionalMetadata;\nvar DependencyMetadata = (function() {\n function DependencyMetadata() {}\n Object.defineProperty(DependencyMetadata.prototype, \"token\", {\n get: function() {\n return null;\n },\n enumerable: true,\n configurable: true\n });\n return DependencyMetadata;\n}());\nexports.DependencyMetadata = DependencyMetadata;\nvar InjectableMetadata = (function() {\n function InjectableMetadata() {}\n return InjectableMetadata;\n}());\nexports.InjectableMetadata = InjectableMetadata;\nvar SelfMetadata = (function() {\n function SelfMetadata() {}\n SelfMetadata.prototype.toString = function() {\n return \"@Self()\";\n };\n return SelfMetadata;\n}());\nexports.SelfMetadata = SelfMetadata;\nvar SkipSelfMetadata = (function() {\n function SkipSelfMetadata() {}\n SkipSelfMetadata.prototype.toString = function() {\n return \"@SkipSelf()\";\n };\n return SkipSelfMetadata;\n}());\nexports.SkipSelfMetadata = SkipSelfMetadata;\nvar HostMetadata = (function() {\n function HostMetadata() {}\n HostMetadata.prototype.toString = function() {\n return \"@Host()\";\n };\n return HostMetadata;\n}());\nexports.HostMetadata = HostMetadata;\n","/* */ \n\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar globalScope;\nif (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n}\nelse {\n globalScope = window;\n}\nfunction scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n}\nexports.scheduleMicroTask = scheduleMicroTask;\nexports.IS_DART = false;\n// Need to declare a new variable for global here since TypeScript\n// exports the original value of the symbol.\nvar _global = globalScope;\nexports.global = _global;\nexports.Type = Function;\nfunction getTypeNameForDebugging(type) {\n if (type['name']) {\n return type['name'];\n }\n return typeof type;\n}\nexports.getTypeNameForDebugging = getTypeNameForDebugging;\nexports.Math = _global.Math;\nexports.Date = _global.Date;\nvar _devMode = true;\nvar _modeLocked = false;\nfunction lockMode() {\n _modeLocked = true;\n}\nexports.lockMode = lockMode;\n/**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n */\nfunction enableProdMode() {\n if (_modeLocked) {\n // Cannot use BaseException as that ends up importing from facade/lang.\n throw 'Cannot enable prod mode after platform setup.';\n }\n _devMode = false;\n}\nexports.enableProdMode = enableProdMode;\nfunction assertionsEnabled() {\n return _devMode;\n}\nexports.assertionsEnabled = assertionsEnabled;\n// TODO: remove calls to assert in production environment\n// Note: Can't just export this and import in in other files\n// as `assert` is a reserved keyword in Dart\n_global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n};\nfunction isPresent(obj) {\n return obj !== undefined && obj !== null;\n}\nexports.isPresent = isPresent;\nfunction isBlank(obj) {\n return obj === undefined || obj === null;\n}\nexports.isBlank = isBlank;\nfunction isBoolean(obj) {\n return typeof obj === \"boolean\";\n}\nexports.isBoolean = isBoolean;\nfunction isNumber(obj) {\n return typeof obj === \"number\";\n}\nexports.isNumber = isNumber;\nfunction isString(obj) {\n return typeof obj === \"string\";\n}\nexports.isString = isString;\nfunction isFunction(obj) {\n return typeof obj === \"function\";\n}\nexports.isFunction = isFunction;\nfunction isType(obj) {\n return isFunction(obj);\n}\nexports.isType = isType;\nfunction isStringMap(obj) {\n return typeof obj === 'object' && obj !== null;\n}\nexports.isStringMap = isStringMap;\nvar STRING_MAP_PROTO = Object.getPrototypeOf({});\nfunction isStrictStringMap(obj) {\n return isStringMap(obj) && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n}\nexports.isStrictStringMap = isStrictStringMap;\nfunction isPromise(obj) {\n return obj instanceof _global.Promise;\n}\nexports.isPromise = isPromise;\nfunction isArray(obj) {\n return Array.isArray(obj);\n}\nexports.isArray = isArray;\nfunction isDate(obj) {\n return obj instanceof exports.Date && !isNaN(obj.valueOf());\n}\nexports.isDate = isDate;\nfunction noop() { }\nexports.noop = noop;\nfunction stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token === undefined || token === null) {\n return '' + token;\n }\n if (token.name) {\n return token.name;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf(\"\\n\");\n return (newLineIndex === -1) ? res : res.substring(0, newLineIndex);\n}\nexports.stringify = stringify;\n// serialize / deserialize enum exist only for consistency with dart API\n// enums in typescript don't need to be serialized\nfunction serializeEnum(val) {\n return val;\n}\nexports.serializeEnum = serializeEnum;\nfunction deserializeEnum(val, values) {\n return val;\n}\nexports.deserializeEnum = deserializeEnum;\nfunction resolveEnumToken(enumValue, val) {\n return enumValue[val];\n}\nexports.resolveEnumToken = resolveEnumToken;\nvar StringWrapper = (function () {\n function StringWrapper() {\n }\n StringWrapper.fromCharCode = function (code) { return String.fromCharCode(code); };\n StringWrapper.charCodeAt = function (s, index) { return s.charCodeAt(index); };\n StringWrapper.split = function (s, regExp) { return s.split(regExp); };\n StringWrapper.equals = function (s, s2) { return s === s2; };\n StringWrapper.stripLeft = function (s, charVal) {\n if (s && s.length) {\n var pos = 0;\n for (var i = 0; i < s.length; i++) {\n if (s[i] != charVal)\n break;\n pos++;\n }\n s = s.substring(pos);\n }\n return s;\n };\n StringWrapper.stripRight = function (s, charVal) {\n if (s && s.length) {\n var pos = s.length;\n for (var i = s.length - 1; i >= 0; i--) {\n if (s[i] != charVal)\n break;\n pos--;\n }\n s = s.substring(0, pos);\n }\n return s;\n };\n StringWrapper.replace = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.replaceAll = function (s, from, replace) {\n return s.replace(from, replace);\n };\n StringWrapper.slice = function (s, from, to) {\n if (from === void 0) { from = 0; }\n if (to === void 0) { to = null; }\n return s.slice(from, to === null ? undefined : to);\n };\n StringWrapper.replaceAllMapped = function (s, from, cb) {\n return s.replace(from, function () {\n var matches = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n matches[_i - 0] = arguments[_i];\n }\n // Remove offset & string from the result array\n matches.splice(-2, 2);\n // The callback receives match, p1, ..., pn\n return cb(matches);\n });\n };\n StringWrapper.contains = function (s, substr) { return s.indexOf(substr) != -1; };\n StringWrapper.compare = function (a, b) {\n if (a < b) {\n return -1;\n }\n else if (a > b) {\n return 1;\n }\n else {\n return 0;\n }\n };\n return StringWrapper;\n}());\nexports.StringWrapper = StringWrapper;\nvar StringJoiner = (function () {\n function StringJoiner(parts) {\n if (parts === void 0) { parts = []; }\n this.parts = parts;\n }\n StringJoiner.prototype.add = function (part) { this.parts.push(part); };\n StringJoiner.prototype.toString = function () { return this.parts.join(\"\"); };\n return StringJoiner;\n}());\nexports.StringJoiner = StringJoiner;\nvar NumberParseError = (function (_super) {\n __extends(NumberParseError, _super);\n function NumberParseError(message) {\n _super.call(this);\n this.message = message;\n }\n NumberParseError.prototype.toString = function () { return this.message; };\n return NumberParseError;\n}(Error));\nexports.NumberParseError = NumberParseError;\nvar NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.toFixed = function (n, fractionDigits) { return n.toFixed(fractionDigits); };\n NumberWrapper.equal = function (a, b) { return a === b; };\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text);\n }\n return result;\n };\n NumberWrapper.parseInt = function (text, radix) {\n if (radix == 10) {\n if (/^(\\-|\\+)?[0-9]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else if (radix == 16) {\n if (/^(\\-|\\+)?[0-9ABCDEFabcdef]+$/.test(text)) {\n return parseInt(text, radix);\n }\n }\n else {\n var result = parseInt(text, radix);\n if (!isNaN(result)) {\n return result;\n }\n }\n throw new NumberParseError(\"Invalid integer literal when parsing \" + text + \" in base \" +\n radix);\n };\n // TODO: NaN is a valid literal but is returned by parseFloat to indicate an error.\n NumberWrapper.parseFloat = function (text) { return parseFloat(text); };\n Object.defineProperty(NumberWrapper, \"NaN\", {\n get: function () { return NaN; },\n enumerable: true,\n configurable: true\n });\n NumberWrapper.isNaN = function (value) { return isNaN(value); };\n NumberWrapper.isInteger = function (value) { return Number.isInteger(value); };\n return NumberWrapper;\n}());\nexports.NumberWrapper = NumberWrapper;\nexports.RegExp = _global.RegExp;\nvar RegExpWrapper = (function () {\n function RegExpWrapper() {\n }\n RegExpWrapper.create = function (regExpStr, flags) {\n if (flags === void 0) { flags = ''; }\n flags = flags.replace(/g/g, '');\n return new _global.RegExp(regExpStr, flags + 'g');\n };\n RegExpWrapper.firstMatch = function (regExp, input) {\n // Reset multimatch regex state\n regExp.lastIndex = 0;\n return regExp.exec(input);\n };\n RegExpWrapper.test = function (regExp, input) {\n regExp.lastIndex = 0;\n return regExp.test(input);\n };\n RegExpWrapper.matcher = function (regExp, input) {\n // Reset regex state for the case\n // someone did not loop over all matches\n // last time.\n regExp.lastIndex = 0;\n return { re: regExp, input: input };\n };\n RegExpWrapper.replaceAll = function (regExp, input, replace) {\n var c = regExp.exec(input);\n var res = '';\n regExp.lastIndex = 0;\n var prev = 0;\n while (c) {\n res += input.substring(prev, c.index);\n res += replace(c);\n prev = c.index + c[0].length;\n regExp.lastIndex = prev;\n c = regExp.exec(input);\n }\n res += input.substring(prev);\n return res;\n };\n return RegExpWrapper;\n}());\nexports.RegExpWrapper = RegExpWrapper;\nvar RegExpMatcherWrapper = (function () {\n function RegExpMatcherWrapper() {\n }\n RegExpMatcherWrapper.next = function (matcher) {\n return matcher.re.exec(matcher.input);\n };\n return RegExpMatcherWrapper;\n}());\nexports.RegExpMatcherWrapper = RegExpMatcherWrapper;\nvar FunctionWrapper = (function () {\n function FunctionWrapper() {\n }\n FunctionWrapper.apply = function (fn, posArgs) { return fn.apply(null, posArgs); };\n return FunctionWrapper;\n}());\nexports.FunctionWrapper = FunctionWrapper;\n// JS has NaN !== NaN\nfunction looseIdentical(a, b) {\n return a === b || typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\nexports.looseIdentical = looseIdentical;\n// JS considers NaN is the same as NaN for map Key (while NaN !== NaN otherwise)\n// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map\nfunction getMapKey(value) {\n return value;\n}\nexports.getMapKey = getMapKey;\nfunction normalizeBlank(obj) {\n return isBlank(obj) ? null : obj;\n}\nexports.normalizeBlank = normalizeBlank;\nfunction normalizeBool(obj) {\n return isBlank(obj) ? false : obj;\n}\nexports.normalizeBool = normalizeBool;\nfunction isJsObject(o) {\n return o !== null && (typeof o === \"function\" || typeof o === \"object\");\n}\nexports.isJsObject = isJsObject;\nfunction print(obj) {\n console.log(obj);\n}\nexports.print = print;\nfunction warn(obj) {\n console.warn(obj);\n}\nexports.warn = warn;\n// Can't be all uppercase as our transpiler would think it is a special directive...\nvar Json = (function () {\n function Json() {\n }\n Json.parse = function (s) { return _global.JSON.parse(s); };\n Json.stringify = function (data) {\n // Dart doesn't take 3 arguments\n return _global.JSON.stringify(data, null, 2);\n };\n return Json;\n}());\nexports.Json = Json;\nvar DateWrapper = (function () {\n function DateWrapper() {\n }\n DateWrapper.create = function (year, month, day, hour, minutes, seconds, milliseconds) {\n if (month === void 0) { month = 1; }\n if (day === void 0) { day = 1; }\n if (hour === void 0) { hour = 0; }\n if (minutes === void 0) { minutes = 0; }\n if (seconds === void 0) { seconds = 0; }\n if (milliseconds === void 0) { milliseconds = 0; }\n return new exports.Date(year, month - 1, day, hour, minutes, seconds, milliseconds);\n };\n DateWrapper.fromISOString = function (str) { return new exports.Date(str); };\n DateWrapper.fromMillis = function (ms) { return new exports.Date(ms); };\n DateWrapper.toMillis = function (date) { return date.getTime(); };\n DateWrapper.now = function () { return new exports.Date(); };\n DateWrapper.toJson = function (date) { return date.toJSON(); };\n return DateWrapper;\n}());\nexports.DateWrapper = DateWrapper;\nfunction setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name = parts.shift();\n if (obj.hasOwnProperty(name) && isPresent(obj[name])) {\n obj = obj[name];\n }\n else {\n obj = obj[name] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n}\nexports.setValueOnPath = setValueOnPath;\nvar _symbolIterator = null;\nfunction getSymbolIterator() {\n if (isBlank(_symbolIterator)) {\n if (isPresent(globalScope.Symbol) && isPresent(Symbol.iterator)) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n}\nexports.getSymbolIterator = getSymbolIterator;\nfunction evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n}\nexports.evalExpression = evalExpression;\nfunction isPrimitive(obj) {\n return !isJsObject(obj);\n}\nexports.isPrimitive = isPrimitive;\nfunction hasConstructor(value, type) {\n return value.constructor === type;\n}\nexports.hasConstructor = hasConstructor;\nfunction bitWiseOr(values) {\n return values.reduce(function (a, b) { return a | b; });\n}\nexports.bitWiseOr = bitWiseOr;\nfunction bitWiseAnd(values) {\n return values.reduce(function (a, b) { return a & b; });\n}\nexports.bitWiseAnd = bitWiseAnd;\nfunction escape(s) {\n return _global.encodeURI(s);\n}\nexports.escape = escape;\n//# sourceMappingURL=lang.js.map","/* */ \n\"use strict\";\nvar lang_1 = require('../facade/lang');\nvar _nextClassId = 0;\nfunction extractAnnotation(annotation) {\n if (lang_1.isFunction(annotation) && annotation.hasOwnProperty('annotation')) {\n annotation = annotation.annotation;\n }\n return annotation;\n}\nfunction applyParams(fnOrArray, key) {\n if (fnOrArray === Object || fnOrArray === String || fnOrArray === Function || fnOrArray === Number || fnOrArray === Array) {\n throw new Error(\"Can not use native \" + lang_1.stringify(fnOrArray) + \" as constructor\");\n }\n if (lang_1.isFunction(fnOrArray)) {\n return fnOrArray;\n } else if (fnOrArray instanceof Array) {\n var annotations = fnOrArray;\n var fn = fnOrArray[fnOrArray.length - 1];\n if (!lang_1.isFunction(fn)) {\n throw new Error(\"Last position of Class method array must be Function in key \" + key + \" was '\" + lang_1.stringify(fn) + \"'\");\n }\n var annoLength = annotations.length - 1;\n if (annoLength != fn.length) {\n throw new Error(\"Number of annotations (\" + annoLength + \") does not match number of arguments (\" + fn.length + \") in the function: \" + lang_1.stringify(fn));\n }\n var paramsAnnotations = [];\n for (var i = 0,\n ii = annotations.length - 1; i < ii; i++) {\n var paramAnnotations = [];\n paramsAnnotations.push(paramAnnotations);\n var annotation = annotations[i];\n if (annotation instanceof Array) {\n for (var j = 0; j < annotation.length; j++) {\n paramAnnotations.push(extractAnnotation(annotation[j]));\n }\n } else if (lang_1.isFunction(annotation)) {\n paramAnnotations.push(extractAnnotation(annotation));\n } else {\n paramAnnotations.push(annotation);\n }\n }\n Reflect.defineMetadata('parameters', paramsAnnotations, fn);\n return fn;\n } else {\n throw new Error(\"Only Function or Array is supported in Class definition for key '\" + key + \"' is '\" + lang_1.stringify(fnOrArray) + \"'\");\n }\n}\nfunction Class(clsDef) {\n var constructor = applyParams(clsDef.hasOwnProperty('constructor') ? clsDef.constructor : undefined, 'constructor');\n var proto = constructor.prototype;\n if (clsDef.hasOwnProperty('extends')) {\n if (lang_1.isFunction(clsDef.extends)) {\n constructor.prototype = proto = Object.create(clsDef.extends.prototype);\n } else {\n throw new Error(\"Class definition 'extends' property must be a constructor function was: \" + lang_1.stringify(clsDef.extends));\n }\n }\n for (var key in clsDef) {\n if (key != 'extends' && key != 'prototype' && clsDef.hasOwnProperty(key)) {\n proto[key] = applyParams(clsDef[key], key);\n }\n }\n if (this && this.annotations instanceof Array) {\n Reflect.defineMetadata('annotations', this.annotations, constructor);\n }\n if (!constructor['name']) {\n constructor['overriddenName'] = \"class\" + _nextClassId++;\n }\n return constructor;\n}\nexports.Class = Class;\nvar Reflect = lang_1.global.Reflect;\n(function checkReflect() {\n if (!(Reflect && Reflect.getMetadata)) {\n throw 'reflect-metadata shim is required when using class decorators';\n }\n})();\nfunction makeDecorator(annotationCls, chainFn) {\n if (chainFn === void 0) {\n chainFn = null;\n }\n function DecoratorFactory(objOrType) {\n var annotationInstance = new annotationCls(objOrType);\n if (this instanceof annotationCls) {\n return annotationInstance;\n } else {\n var chainAnnotation = lang_1.isFunction(this) && this.annotations instanceof Array ? this.annotations : [];\n chainAnnotation.push(annotationInstance);\n var TypeDecorator = function TypeDecorator(cls) {\n var annotations = Reflect.getOwnMetadata('annotations', cls);\n annotations = annotations || [];\n annotations.push(annotationInstance);\n Reflect.defineMetadata('annotations', annotations, cls);\n return cls;\n };\n TypeDecorator.annotations = chainAnnotation;\n TypeDecorator.Class = Class;\n if (chainFn)\n chainFn(TypeDecorator);\n return TypeDecorator;\n }\n }\n DecoratorFactory.prototype = Object.create(annotationCls.prototype);\n DecoratorFactory.annotationCls = annotationCls;\n return DecoratorFactory;\n}\nexports.makeDecorator = makeDecorator;\nfunction makeParamDecorator(annotationCls) {\n function ParamDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n var annotationInstance = Object.create(annotationCls.prototype);\n annotationCls.apply(annotationInstance, args);\n if (this instanceof annotationCls) {\n return annotationInstance;\n } else {\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n }\n function ParamDecorator(cls, unusedKey, index) {\n var parameters = Reflect.getMetadata('parameters', cls);\n parameters = parameters || [];\n while (parameters.length <= index) {\n parameters.push(null);\n }\n parameters[index] = parameters[index] || [];\n var annotationsForParam = parameters[index];\n annotationsForParam.push(annotationInstance);\n Reflect.defineMetadata('parameters', parameters, cls);\n return cls;\n }\n }\n ParamDecoratorFactory.prototype = Object.create(annotationCls.prototype);\n ParamDecoratorFactory.annotationCls = annotationCls;\n return ParamDecoratorFactory;\n}\nexports.makeParamDecorator = makeParamDecorator;\nfunction makePropDecorator(annotationCls) {\n function PropDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n var decoratorInstance = Object.create(annotationCls.prototype);\n annotationCls.apply(decoratorInstance, args);\n if (this instanceof annotationCls) {\n return decoratorInstance;\n } else {\n return function PropDecorator(target, name) {\n var meta = Reflect.getOwnMetadata('propMetadata', target.constructor);\n meta = meta || {};\n meta[name] = meta[name] || [];\n meta[name].unshift(decoratorInstance);\n Reflect.defineMetadata('propMetadata', meta, target.constructor);\n };\n }\n }\n PropDecoratorFactory.prototype = Object.create(annotationCls.prototype);\n PropDecoratorFactory.annotationCls = annotationCls;\n return PropDecoratorFactory;\n}\nexports.makePropDecorator = makePropDecorator;\n","/* */ \n\"use strict\";\nvar metadata_1 = require('./metadata');\nvar decorators_1 = require('../util/decorators');\nexports.Inject = decorators_1.makeParamDecorator(metadata_1.InjectMetadata);\nexports.Optional = decorators_1.makeParamDecorator(metadata_1.OptionalMetadata);\nexports.Injectable = decorators_1.makeDecorator(metadata_1.InjectableMetadata);\nexports.Self = decorators_1.makeParamDecorator(metadata_1.SelfMetadata);\nexports.Host = decorators_1.makeParamDecorator(metadata_1.HostMetadata);\nexports.SkipSelf = decorators_1.makeParamDecorator(metadata_1.SkipSelfMetadata);\n","/* */ \n\"use strict\";\nvar lang_1 = require('./facade/lang');\nvar decorators_1 = require('./di/decorators');\nvar _warnImpl = lang_1.warn;\nvar Console = (function() {\n function Console() {}\n Console.prototype.log = function(message) {\n lang_1.print(message);\n };\n Console.prototype.warn = function(message) {\n _warnImpl(message);\n };\n Console.decorators = [{type: decorators_1.Injectable}];\n return Console;\n}());\nexports.Console = Console;\n","/* */ \n\"use strict\";\nvar constants = require('./src/change_detection/constants');\nvar security = require('./src/security');\nvar reflective_provider = require('./src/di/reflective_provider');\nvar lifecycle_hooks = require('./src/metadata/lifecycle_hooks');\nvar reflector_reader = require('./src/reflection/reflector_reader');\nvar component_resolver = require('./src/linker/component_resolver');\nvar element = require('./src/linker/element');\nvar view = require('./src/linker/view');\nvar view_type = require('./src/linker/view_type');\nvar view_utils = require('./src/linker/view_utils');\nvar metadata_view = require('./src/metadata/view');\nvar debug_context = require('./src/linker/debug_context');\nvar change_detection_util = require('./src/change_detection/change_detection_util');\nvar api = require('./src/render/api');\nvar template_ref = require('./src/linker/template_ref');\nvar wtf_init = require('./src/profile/wtf_init');\nvar reflection_capabilities = require('./src/reflection/reflection_capabilities');\nvar decorators = require('./src/util/decorators');\nvar debug = require('./src/debug/debug_renderer');\nvar provider_util = require('./src/di/provider_util');\nvar console = require('./src/console');\nexports.__core_private__ = {\n isDefaultChangeDetectionStrategy: constants.isDefaultChangeDetectionStrategy,\n ChangeDetectorState: constants.ChangeDetectorState,\n CHANGE_DETECTION_STRATEGY_VALUES: constants.CHANGE_DETECTION_STRATEGY_VALUES,\n constructDependencies: reflective_provider.constructDependencies,\n LifecycleHooks: lifecycle_hooks.LifecycleHooks,\n LIFECYCLE_HOOKS_VALUES: lifecycle_hooks.LIFECYCLE_HOOKS_VALUES,\n ReflectorReader: reflector_reader.ReflectorReader,\n ReflectorComponentResolver: component_resolver.ReflectorComponentResolver,\n AppElement: element.AppElement,\n AppView: view.AppView,\n DebugAppView: view.DebugAppView,\n ViewType: view_type.ViewType,\n MAX_INTERPOLATION_VALUES: view_utils.MAX_INTERPOLATION_VALUES,\n checkBinding: view_utils.checkBinding,\n flattenNestedViewRenderNodes: view_utils.flattenNestedViewRenderNodes,\n interpolate: view_utils.interpolate,\n ViewUtils: view_utils.ViewUtils,\n VIEW_ENCAPSULATION_VALUES: metadata_view.VIEW_ENCAPSULATION_VALUES,\n DebugContext: debug_context.DebugContext,\n StaticNodeDebugInfo: debug_context.StaticNodeDebugInfo,\n devModeEqual: change_detection_util.devModeEqual,\n uninitialized: change_detection_util.uninitialized,\n ValueUnwrapper: change_detection_util.ValueUnwrapper,\n RenderDebugInfo: api.RenderDebugInfo,\n SecurityContext: security.SecurityContext,\n SanitizationService: security.SanitizationService,\n TemplateRef_: template_ref.TemplateRef_,\n wtfInit: wtf_init.wtfInit,\n ReflectionCapabilities: reflection_capabilities.ReflectionCapabilities,\n makeDecorator: decorators.makeDecorator,\n DebugDomRootRenderer: debug.DebugDomRootRenderer,\n createProvider: provider_util.createProvider,\n isProviderLiteral: provider_util.isProviderLiteral,\n EMPTY_ARRAY: view_utils.EMPTY_ARRAY,\n EMPTY_MAP: view_utils.EMPTY_MAP,\n pureProxy1: view_utils.pureProxy1,\n pureProxy2: view_utils.pureProxy2,\n pureProxy3: view_utils.pureProxy3,\n pureProxy4: view_utils.pureProxy4,\n pureProxy5: view_utils.pureProxy5,\n pureProxy6: view_utils.pureProxy6,\n pureProxy7: view_utils.pureProxy7,\n pureProxy8: view_utils.pureProxy8,\n pureProxy9: view_utils.pureProxy9,\n pureProxy10: view_utils.pureProxy10,\n castByValue: view_utils.castByValue,\n Console: console.Console\n};\n","/* */ \n\"use strict\";\nfunction __export(m) {\n for (var p in m)\n if (!exports.hasOwnProperty(p))\n exports[p] = m[p];\n}\n__export(require('./src/metadata'));\n__export(require('./src/util'));\n__export(require('./src/di'));\nvar application_ref_1 = require('./src/application_ref');\nexports.createPlatform = application_ref_1.createPlatform;\nexports.assertPlatform = application_ref_1.assertPlatform;\nexports.disposePlatform = application_ref_1.disposePlatform;\nexports.getPlatform = application_ref_1.getPlatform;\nexports.coreBootstrap = application_ref_1.coreBootstrap;\nexports.coreLoadAndBootstrap = application_ref_1.coreLoadAndBootstrap;\nexports.createNgZone = application_ref_1.createNgZone;\nexports.PlatformRef = application_ref_1.PlatformRef;\nexports.ApplicationRef = application_ref_1.ApplicationRef;\nvar application_tokens_1 = require('./src/application_tokens');\nexports.APP_ID = application_tokens_1.APP_ID;\nexports.APP_INITIALIZER = application_tokens_1.APP_INITIALIZER;\nexports.PACKAGE_ROOT_URL = application_tokens_1.PACKAGE_ROOT_URL;\nexports.PLATFORM_INITIALIZER = application_tokens_1.PLATFORM_INITIALIZER;\n__export(require('./src/zone'));\n__export(require('./src/render'));\n__export(require('./src/linker'));\nvar debug_node_1 = require('./src/debug/debug_node');\nexports.DebugElement = debug_node_1.DebugElement;\nexports.DebugNode = debug_node_1.DebugNode;\nexports.asNativeElements = debug_node_1.asNativeElements;\nexports.getDebugNode = debug_node_1.getDebugNode;\n__export(require('./src/testability/testability'));\n__export(require('./src/change_detection'));\n__export(require('./src/platform_directives_and_pipes'));\n__export(require('./src/platform_common_providers'));\n__export(require('./src/application_common_providers'));\n__export(require('./src/reflection/reflection'));\nvar profile_1 = require('./src/profile/profile');\nexports.wtfCreateScope = profile_1.wtfCreateScope;\nexports.wtfLeave = profile_1.wtfLeave;\nexports.wtfStartTimeRange = profile_1.wtfStartTimeRange;\nexports.wtfEndTimeRange = profile_1.wtfEndTimeRange;\nvar lang_1 = require('./src/facade/lang');\nexports.Type = lang_1.Type;\nexports.enableProdMode = lang_1.enableProdMode;\nvar async_1 = require('./src/facade/async');\nexports.EventEmitter = async_1.EventEmitter;\nvar exceptions_1 = require('./src/facade/exceptions');\nexports.ExceptionHandler = exceptions_1.ExceptionHandler;\nexports.WrappedException = exceptions_1.WrappedException;\nexports.BaseException = exceptions_1.BaseException;\n__export(require('./private_export'));\n","module.exports = require(\"npm:@angular/core@2.0.0-rc.1/index.js\");","'use strict';\n\nimport { EventEmitter } from '@angular/core';\n\nexport class RedocEventsService {\n constructor() {\n this.bootstrapped = new EventEmitter();\n this.samplesLanguageChanged = new EventEmitter();\n }\n}\n","'use strict';\nimport { Injectable, EventEmitter } from '@angular/core';\nimport { BrowserDomAdapter } from '@angular/platform-browser/src/browser/browser_adapter';\nimport { global } from '@angular/core/src/facade/lang';\n\nimport { RedocEventsService } from './events.service';\n\n@Reflect.metadata('parameters', [[BrowserDomAdapter], [RedocEventsService]])\n@Injectable()\nexport class Hash {\n constructor(dom, events) {\n this.changed = new EventEmitter();\n this.dom = dom;\n this.bind();\n\n events.bootstrapped.subscribe(() => this.changed.next(this.hash));\n }\n\n get hash() {\n return this.dom.getLocation().hash;\n }\n\n bind() {\n this._cancel = this.dom.onAndCancel(global, 'hashchange', (evt) => {\n this.changed.next(this.hash);\n evt.preventDefault();\n });\n }\n\n unbind() {\n this._cancel();\n }\n}\n","'use strict';\n\nexport * from './events.service.js';\nexport * from './options.service.js';\nexport * from './menu.service.js';\nexport * from './scroll.service.js';\nexport * from './hash.service.js';\n","/* */ \n;(function () {\n var parents = function (node, ps) {\n if (node.parentNode === null) { return ps; }\n\n return parents(node.parentNode, ps.concat([node]));\n };\n\n var style = function (node, prop) {\n return getComputedStyle(node, null).getPropertyValue(prop);\n };\n\n var overflow = function (node) {\n return style(node, \"overflow\") + style(node, \"overflow-y\") + style(node, \"overflow-x\");\n };\n\n var scroll = function (node) {\n return (/(auto|scroll)/).test(overflow(node));\n };\n\n var scrollParent = function (node) {\n if (!(node instanceof HTMLElement)) {\n return ;\n }\n\n var ps = parents(node.parentNode, []);\n\n for (var i = 0; i < ps.length; i += 1) {\n if (scroll(ps[i])) {\n return ps[i];\n }\n }\n\n return window;\n };\n\n // If common js is defined use it.\n if (typeof module === \"object\" && module !== null) {\n module.exports = scrollParent;\n } else {\n window.Scrollparent = scrollParent;\n }\n})();\n","module.exports = require(\"npm:scrollparent@0.1.0/scrollparent.js\");","'use strict';\n\nimport { provide, enableProdMode, ElementRef } from '@angular/core';\nimport { bootstrap } from '@angular/platform-browser-dynamic';\nimport { BrowserDomAdapter } from '@angular/platform-browser/src/browser/browser_adapter';\nimport { RedocComponent, BaseComponent } from '../base';\n\nimport { ApiInfo } from '../ApiInfo/api-info';\nimport { ApiLogo } from '../ApiLogo/api-logo';\nimport { MethodsList } from '../MethodsList/methods-list';\nimport { SideMenu } from '../SideMenu/side-menu';\n\nimport { StickySidebar } from '../../shared/components/index';\nimport SchemaManager from '../../utils/SchemaManager';\nimport { OptionsService, RedocEventsService } from '../../services/index';\n\nimport detectScollParent from 'scrollparent';\nimport './redoc-loading-styles.css!css';\n\nvar dom = new BrowserDomAdapter();\nvar _modeLocked = false;\n\n@RedocComponent({\n selector: 'redoc',\n providers: [\n SchemaManager,\n BrowserDomAdapter,\n RedocEventsService\n ],\n template: `\n <div class=\"redoc-wrap\">\n <div class=\"menu-content\" sticky-sidebar [scrollParent]=\"options.$scrollParent\" [scrollYOffset]=\"options.scrollYOffset\">\n <api-logo> </api-logo>\n <side-menu> </side-menu>\n </div>\n <div id=\"api-content\">\n <api-info> </api-info>\n <methods-list> </methods-list>\n <footer>\n <div class=\"powered-by-badge\">\n <a href=\"https://github.com/Rebilly/ReDoc\" title=\"Swagger-generated API Reference Documentation\" target=\"_blank\">\n Powered by <strong>ReDoc</strong>\n </a>\n </div>\n </footer>\n </div>\n </div>\n `,\n styles: [`\n :host{display:block;box-sizing:border-box;-webkit-tap-highlight-color:transparent;-moz-tap-highlight-color:transparent;-ms-tap-highlight-color:transparent;-o-tap-highlight-color:transparent;tap-highlight-color:transparent;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-smoothing:antialiased;-webkit-osx-font-smoothing:grayscale;-moz-osx-font-smoothing:grayscale;osx-font-smoothing:grayscale;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;-webkit-text-shadow:1px 1px 1px rgba(0,0,0,0.004);-ms-text-shadow:1px 1px 1px rgba(0,0,0,0.004);text-shadow:1px 1px 1px rgba(0,0,0,0.004);text-rendering:optimizeSpeed !important;font-smooth:always;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%;text-size-adjust:100%}.redoc-wrap{position:relative;font-family:Roboto,sans-serif;font-size:14px;line-height:1.55em;color:#263238}side-menu{display:block;box-sizing:border-box}methods-list{display:block;overflow:hidden}api-info,.side-bar{display:block;padding:10px 0}api-info{padding:40px}api-logo{display:block;text-align:center}@media (max-width: 1000px){api-logo{display:none}}[sticky-sidebar]{width:260px;background-color:#FAFAFA;overflow-y:auto;overflow-x:hidden}@media (max-width: 1000px){[sticky-sidebar]{z-index:1;width:100%;bottom:auto !important}}#api-content{margin-left:260px;position:relative}@media (max-width: 1000px){#api-content{padding-top:3em;margin-left:0}}#api-content:before{content:\"\";background:#263238;height:100%;width:40%;top:0;right:0;position:absolute;z-index:-1}@media (max-width: 1100px){#api-content:before{display:none}}:host h1{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h2{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h3{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h4{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h5{margin-top:0;font-family:Montserrat,sans-serif;color:#0033a0;font-weight:400}:host h1{font-size:1.85714em}:host h2{font-size:1.57143em}:host h3{font-size:1.28571em}:host h4{font-size:1.14286em}:host h5{font-size:0.929em}:host p{font-family:Roboto,sans-serif;font-weight:300;margin:0;margin-bottom:1em;line-height:1.55em}:host a{text-decoration:none;color:#0033a0}:host p>code{color:#e53935;border:1px solid rgba(38,50,56,0.1)}footer{text-align:right;padding:10px;font-size:15px;background-color:white}footer strong{font-size:18px;color:#0033a0}:host .redoc-markdown-block pre{font-family:Courier, monospace;white-space:pre-wrap;background-color:rgba(38,50,56,0.04);padding:12px 14px 15px 14px;overflow-x:auto;line-height:normal;border-radius:2px;border:1px solid rgba(38,50,56,0.1)}:host .redoc-markdown-block pre code{background-color:transparent}:host .redoc-markdown-block pre code:before,:host .redoc-markdown-block pre code:after{content:none}:host .redoc-markdown-block code{font-family:Courier, monospace;background-color:rgba(38,50,56,0.04);padding:0.1em 0 0.2em 0;font-size:1em;border-radius:2px}:host .redoc-markdown-block code:before,:host .redoc-markdown-block code:after{letter-spacing:-0.2em;content:\"\\\\00a0\"}:host .redoc-markdown-block p:last-of-type{margin-bottom:0}:host .redoc-markdown-block blockquote{margin:0;margin-bottom:1em;padding:0 15px;color:#777;border-left:4px solid #ddd}:host .redoc-markdown-block img{max-width:100%;box-sizing:content-box}:host .redoc-markdown-block ul,:host .redoc-markdown-block ol{padding-left:2em;margin:0;margin-bottom:1em}:host .redoc-markdown-block table{display:block;width:100%;overflow:auto;word-break:normal;word-break:keep-all;border-collapse:collapse;border-spacing:0;margin-top:0.5em;margin-bottom:0.5em}:host .redoc-markdown-block table tr{background-color:#fff;border-top:1px solid #ccc}:host .redoc-markdown-block table tr:nth-child(2n){background-color:#f8f8f8}:host .redoc-markdown-block table th,:host .redoc-markdown-block table td{padding:6px 13px;border:1px solid #ddd}:host .redoc-markdown-block table th{text-align:left;font-weight:bold}\n `],\n directives: [ ApiInfo, ApiLogo, MethodsList, SideMenu, StickySidebar ]\n})\n@Reflect.metadata('parameters', [\n [SchemaManager], [OptionsService], [ElementRef], [RedocEventsService]])\nexport class Redoc extends BaseComponent {\n constructor(schemaMgr, optionsMgr, elementRef, events) {\n super(schemaMgr);\n this.element = elementRef.nativeElement;\n //parse options (top level component doesn't support inputs)\n optionsMgr.parseOptions( this.element );\n optionsMgr.options.$scrollParent = detectScollParent( this.element );\n this.options = optionsMgr.options;\n this.events = events;\n }\n\n ngAfterViewInit() {\n setTimeout( () => {\n this.events.bootstrapped.next();\n });\n }\n\n static showLoadingAnimation() {\n let elem = dom.query('redoc');\n dom.addClass(elem, 'loading');\n }\n\n static hideLoadingAnimation() {\n let redocEl = dom.query('redoc');\n dom.addClass(redocEl, 'loading-remove');\n setTimeout(() => {\n dom.removeClass(redocEl, 'loading-remove');\n dom.removeClass(redocEl, 'loading');\n }, 400);\n }\n\n static init(specUrl, options) {\n var optionsService = new OptionsService(dom);\n optionsService.options = options;\n optionsService.options.specUrl = optionsService.options.specUrl || specUrl;\n var providers = [\n provide(OptionsService, {useValue: optionsService})\n ];\n\n if (Redoc.appRef) {\n Redoc.destroy();\n }\n Redoc.showLoadingAnimation();\n return SchemaManager.instance().load(specUrl)\n .then(() => {\n if (!_modeLocked && !optionsService.options.debugMode) {\n enableProdMode();\n _modeLocked = true;\n }\n return bootstrap(Redoc, providers);\n })\n .then(\n (appRef) => {\n Redoc.hideLoadingAnimation();\n Redoc.appRef = appRef;\n console.log('ReDoc bootstrapped!');\n },\n error => {\n console.log(error);\n throw error;\n }\n );\n }\n\n static autoInit() {\n const specUrlAttributeName = 'spec-url';\n let redocEl = dom.query('redoc');\n if (!redocEl) return;\n if (dom.hasAttribute(redocEl, specUrlAttributeName)) {\n let url = dom.getAttribute(redocEl, specUrlAttributeName);\n Redoc.init(url);\n }\n }\n\n static destroy() {\n let el = dom.query('redoc');\n let elClone;\n let parent;\n let nextSibling;\n if (el) {\n parent = el.parentElement;\n nextSibling = el.nextElementSibling;\n }\n\n elClone = el.cloneNode(false);\n\n if (Redoc.appRef) {\n Redoc.appRef.destroy();\n Redoc.appRef = null;\n\n // Redoc destroy removes host element, so need to restore it\n elClone.innerHTML = 'Loading...';\n parent && parent.insertBefore(elClone, nextSibling);\n }\n }\n}\n","'use strict';\n\nexport * from './ApiInfo/api-info';\nexport * from './ApiLogo/api-logo';\nexport * from './JsonSchema/json-schema';\nexport * from './JsonSchema/json-schema-lazy';\nexport * from './ParamsList/params-list';\nexport * from './RequestSamples/request-samples';\nexport * from './ResponsesList/responses-list';\nexport * from './ResponsesSamples/responses-samples';\nexport * from './SchemaSample/schema-sample';\nexport * from './SideMenu/side-menu';\nexport * from './MethodsList/methods-list';\nexport * from './Method/method';\n\nexport * from './Redoc/redoc';\n","'use strict';\n\nimport {Redoc} from './components/index';\nexport var init = Redoc.init;\n\nwindow.Redoc = Redoc;\nRedoc.autoInit();\n"],"sourceRoot":"/source/"} |